sim: drop --enable-sim-{regparm,stdcall} options
[deliverable/binutils-gdb.git] / sim / common / Make-common.in
index 734461ac86c641605d00d7992edfb3605d5f718b..458bf4bf5ad64ad6d48d9a676620ed20d215696b 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile fragment for common parts of all simulators.
-# Copyright 1997-2015 Free Software Foundation, Inc.
+# Copyright 1997-2016 Free Software Foundation, Inc.
 # Contributed by Cygnus Support.
 
 # This program is free software; you can redistribute it and/or modify
@@ -72,8 +72,9 @@ INSTALL_DATA = @INSTALL_DATA@
 CC = @CC@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS = @CFLAGS@
-SIM_BSWAP = @sim_bswap@
-SIM_CFLAGS = @sim_cflags@
+CPPFLAGS = @CPPFLAGS@
+CXXFLAGS = @CXXFLAGS@
+LDFLAGS = @LDFLAGS@
 SIM_DEBUG = @sim_debug@
 SIM_TRACE = @sim_trace@
 SIM_PROFILE = @sim_profile@
@@ -88,14 +89,11 @@ SIM_FLOAT = @sim_float@
 SIM_HW_CFLAGS = @sim_hw_cflags@
 SIM_HW_OBJS = @sim_hw_objs@
 SIM_HW = @sim_hw@
-SIM_HOSTENDIAN = @sim_hostendian@
 SIM_INLINE = @sim_inline@
 SIM_PACKAGES = @sim_packages@
-SIM_REGPARM = @sim_regparm@
 SIM_RESERVED_BITS = @sim_reserved_bits@
 SIM_SCACHE = @sim_scache@
 SIM_SMP = @sim_smp@
-SIM_STDCALL = @sim_stdcall@
 SIM_XOR_ENDIAN = @sim_xor_endian@
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
@@ -173,20 +171,30 @@ SIM_COMMON_HW_OBJS = \
 SIM_NEW_COMMON_OBJS = \
        sim-arange.o \
        sim-bits.o \
+       sim-close.o \
        sim-command.o \
        sim-config.o \
        sim-core.o \
+       sim-cpu.o \
        sim-endian.o \
+       sim-engine.o \
        sim-events.o \
        sim-fpu.o \
+       sim-hload.o \
+       sim-hrw.o \
        sim-io.o \
        sim-info.o \
        sim-load.o \
        sim-memopt.o \
+       sim-model.o \
        sim-module.o \
        sim-options.o \
        sim-profile.o \
+       sim-reason.o \
+       sim-reg.o \
        sim-signal.o \
+       sim-stop.o \
+       sim-syscall.o \
        sim-trace.o \
        sim-utils.o \
        sim-watch.o \
@@ -217,12 +225,10 @@ CGEN_INCLUDE_DEPS = \
 
 CONFIG_CFLAGS = \
        @DEFS@ \
-       $(SIM_CFLAGS) \
        $(SIM_DEBUG) \
        $(SIM_DEFAULT_MODEL) \
        $(SIM_TRACE) \
        $(SIM_PROFILE) \
-       $(SIM_BSWAP) \
        $(SIM_ASSERT) \
        $(SIM_ALIGNMENT) \
        $(SIM_BITSIZE) \
@@ -230,14 +236,11 @@ CONFIG_CFLAGS = \
        $(SIM_ENVIRONMENT) \
        $(SIM_FLOAT) \
        $(SIM_HW_CFLAGS) \
-       $(SIM_HOSTENDIAN) \
        $(SIM_INLINE) \
        $(SIM_PACKAGES) \
-       $(SIM_REGPARM) \
        $(SIM_RESERVED_BITS) \
        $(SIM_SCACHE) \
        $(SIM_SMP) \
-       $(SIM_STDCALL) \
        $(SIM_WARN_CFLAGS) \
        $(SIM_WERROR_CFLAGS) \
        $(SIM_XOR_ENDIAN) \
@@ -254,13 +257,14 @@ BUILD_CFLAGS = -g -O $(CSEARCH)
 
 COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH)
 
+ZLIB = @zlibdir@ -lz
 LIBIBERTY_LIB = ../../libiberty/libiberty.a
 BFD_LIB = ../../bfd/libbfd.a
 @PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
 OPCODES_LIB = ../../opcodes/libopcodes.a
 LIBINTL = @LIBINTL@
 LIBINTL_DEP = @LIBINTL_DEP@
-CONFIG_LIBS = @LIBS@
+CONFIG_LIBS = @LIBS@ $(ZLIB)
 LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB) \
        $(SIM_EXTRA_LIBDEPS)
 EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
@@ -301,8 +305,9 @@ stamp-tvals: gentmap
        $(SHELL) $(srcroot)/move-if-change tmp-tmap.c targ-map.c
        touch stamp-tvals
 
-version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
-       $(SHELL) $(srccom)/create-version.sh $(srcsim) $(host_alias) $(target_alias) version.c
+version.c: Makefile $(srcroot)/gdb/version.in $(srcroot)/bfd/version.h $(srcroot)/gdb/common/create-version.sh
+       $(SHELL) $(srcroot)/gdb/common/create-version.sh $(srcroot)/gdb \
+           $(host_alias) $(target_alias) version.c
 
 #
 # Rules for building sim-* components.  Triggered by listing the corresponding
@@ -346,8 +351,6 @@ sim-base_h = $(srccom)/sim-base.h \
                $(sim-memopt_h) \
                $(sim-cpu_h)
 sim-basics_h = $(srccom)/sim-basics.h \
-               ../common/cconfig.h \
-               tconfig.h \
                $(sim-config_h) \
                $(callback_h) \
                $(sim-inline_h) \
@@ -522,7 +525,7 @@ clean: $(SIM_EXTRA_CLEAN)
 distclean mostlyclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN)
        rm -f TAGS
        rm -f Makefile config.cache config.log config.status .gdbinit
-       rm -f tconfig.h config.h stamp-h
+       rm -f config.h stamp-h
        rm -f targ-vals.def
 
 .c.o:
This page took 0.031497 seconds and 4 git commands to generate.