Convert amd64-linux target descriptions
[deliverable/binutils-gdb.git] / gdb / gdbserver / Makefile.in
index 834425dc44ef8566901a48233ea0cfe2331703b5..1bbe5156295bfb7358855c814446d6f58ac60af8 100644 (file)
@@ -65,7 +65,7 @@ depcomp = $(SHELL) $(srcdir)/../depcomp
 
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
-COMPILE.pre = $(CXX) $(CXX_DIALECT)
+COMPILE.pre = $(CXX) -x c++ $(CXX_DIALECT)
 COMPILE.post = -c -o $@
 COMPILE = $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post)
 POSTCOMPILE = @true
@@ -258,6 +258,7 @@ OBS = \
        regcache.o \
        remote-utils.o \
        rsp-low.o \
+       selftest.o \
        server.o \
        signals.o \
        signals-state-save-restore.o \
@@ -387,9 +388,19 @@ gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) $(LIBGNU) $(LIBIBERTY)
        $(CC_LD) $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
          $(XM_CLIBS) $(LIBGNU) $(LIBIBERTY)
 
-IPA_OBJS = ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o \
-       regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o \
-       tdesc-ipa.o print-utils-ipa.o rsp-low-ipa.o errors-ipa.o \
+IPA_OBJS = \
+       ax-ipa.o \
+       common-utils-ipa.o \
+       errors-ipa.o \
+       format-ipa.o \
+       print-utils-ipa.o \
+       regcache-ipa.o \
+       remote-utils-ipa.o \
+       rsp-low-ipa.o \
+       tdesc-ipa.o \
+       tracepoint-ipa.o \
+       utils-ipa.o \
+       vec-ipa.o \
        ${IPA_DEPFILES}
 
 IPA_LIB = libinproctrace.so
@@ -517,6 +528,14 @@ ax.o: ax.c
        $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
        $(POSTCOMPILE)
 
+arch-i386.o: ../arch/i386.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
+
+arch-amd64.o: ../arch/amd64.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
+
 # Rules for objects that go in the in-process agent.
 
 %-ipa.o: %-generated.c
@@ -542,6 +561,10 @@ ax.o: ax.c
        $(IPAGENT_COMPILE) $<
        $(POSTCOMPILE)
 
+%-ipa.o: ../arch/%.c
+       $(IPAGENT_COMPILE) $<
+       $(POSTCOMPILE)
+
 # Rules for objects that go in the gdbserver binary.
 
 %.o: %-generated.c
@@ -622,4 +645,7 @@ endif
 # Disable implicit make rules.
 include $(srcdir)/../disable-implicit-rules.mk
 
+# Do not delete intermediate files (e.g. *-generated.c).
+.SECONDARY:
+
 # This is the end of "Makefile.in".
This page took 0.024486 seconds and 4 git commands to generate.