diff options
Diffstat (limited to 'gdbserver/Makefile.in')
-rw-r--r-- | gdbserver/Makefile.in | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in index d912a0b..5d0d608 100644 --- a/gdbserver/Makefile.in +++ b/gdbserver/Makefile.in @@ -79,7 +79,7 @@ include $(srcdir)/../gdb/silent-rules.mk # Note that these are overridden by GNU make-specific code below if # GNU make is used. The overrides implement dependency tracking. -COMPILE.pre = $(CXX) -x c++ $(CXX_DIALECT) +COMPILE.pre = $(CXX) $(CXX_DIALECT) COMPILE.post = -c -o $@ COMPILE = $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post) POSTCOMPILE = @true @@ -162,46 +162,46 @@ INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ # All source files that go into linking GDB remote server. SFILES = \ - $(srcdir)/debug.c \ - $(srcdir)/dll.c \ - $(srcdir)/gdbreplay.c \ - $(srcdir)/hostio.c \ - $(srcdir)/hostio-errno.c \ - $(srcdir)/i387-fp.c \ - $(srcdir)/inferiors.c \ - $(srcdir)/linux-aarch64-low.c \ - $(srcdir)/linux-arm-low.c \ - $(srcdir)/linux-bfin-low.c \ - $(srcdir)/linux-cris-low.c \ - $(srcdir)/linux-crisv32-low.c \ - $(srcdir)/linux-ia64-low.c \ - $(srcdir)/linux-low.c \ - $(srcdir)/linux-m32r-low.c \ - $(srcdir)/linux-m68k-low.c \ - $(srcdir)/linux-mips-low.c \ - $(srcdir)/linux-nios2-low.c \ - $(srcdir)/linux-ppc-low.c \ - $(srcdir)/linux-s390-low.c \ - $(srcdir)/linux-sh-low.c \ - $(srcdir)/linux-sparc-low.c \ - $(srcdir)/linux-tile-low.c \ - $(srcdir)/linux-x86-low.c \ - $(srcdir)/linux-xtensa-low.c \ - $(srcdir)/mem-break.c \ - $(srcdir)/proc-service.c \ + $(srcdir)/debug.cc \ + $(srcdir)/dll.cc \ + $(srcdir)/gdbreplay.cc \ + $(srcdir)/hostio.cc \ + $(srcdir)/hostio-errno.cc \ + $(srcdir)/i387-fp.cc \ + $(srcdir)/inferiors.cc \ + $(srcdir)/linux-aarch64-low.cc \ + $(srcdir)/linux-arm-low.cc \ + $(srcdir)/linux-bfin-low.cc \ + $(srcdir)/linux-cris-low.cc \ + $(srcdir)/linux-crisv32-low.cc \ + $(srcdir)/linux-ia64-low.cc \ + $(srcdir)/linux-low.cc \ + $(srcdir)/linux-m32r-low.cc \ + $(srcdir)/linux-m68k-low.cc \ + $(srcdir)/linux-mips-low.cc \ + $(srcdir)/linux-nios2-low.cc \ + $(srcdir)/linux-ppc-low.cc \ + $(srcdir)/linux-s390-low.cc \ + $(srcdir)/linux-sh-low.cc \ + $(srcdir)/linux-sparc-low.cc \ + $(srcdir)/linux-tile-low.cc \ + $(srcdir)/linux-x86-low.cc \ + $(srcdir)/linux-xtensa-low.cc \ + $(srcdir)/mem-break.cc \ + $(srcdir)/proc-service.cc \ $(srcdir)/proc-service.list \ - $(srcdir)/regcache.c \ - $(srcdir)/remote-utils.c \ - $(srcdir)/server.c \ - $(srcdir)/symbol.c \ - $(srcdir)/target.c \ - $(srcdir)/thread-db.c \ - $(srcdir)/utils.c \ - $(srcdir)/win32-arm-low.c \ - $(srcdir)/win32-i386-low.c \ - $(srcdir)/win32-low.c \ - $(srcdir)/wincecompat.c \ - $(srcdir)/x86-low.c \ + $(srcdir)/regcache.cc \ + $(srcdir)/remote-utils.cc \ + $(srcdir)/server.cc \ + $(srcdir)/symbol.cc \ + $(srcdir)/target.cc \ + $(srcdir)/thread-db.cc \ + $(srcdir)/utils.cc \ + $(srcdir)/win32-arm-low.cc \ + $(srcdir)/win32-i386-low.cc \ + $(srcdir)/win32-low.cc \ + $(srcdir)/wincecompat.cc \ + $(srcdir)/x86-low.cc \ $(srcdir)/../gdb/alloc.c \ $(srcdir)/../gdb/arch/arm.c \ $(srcdir)/../gdb/arch/arm-get-next-pcs.c \ @@ -469,7 +469,7 @@ TAGS: ${TAGFILES} etags \ `for i in yzzy ${DEPFILES}; do \ if [ x$$i != xyzzy ]; then \ - echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' \ + echo ${srcdir}/$$i | sed -e 's/\.o$$/\.cc/' \ -e 's,/\(arch\|nat\|target\)/,/../\1/,' \ -e 's,/\(gdbsupport\)/,/../../\1/,'; \ fi; \ @@ -481,7 +481,7 @@ clean: rm -f *.o ${ADD_FILES} *~ rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log rm -f $(IPA_LIB) - rm -f *-generated.c + rm -f *-generated.cc rm -f stamp-xml rm -f $(DEPDIR)/*.Po for i in $(CONFIG_SRC_SUBDIR); do \ @@ -541,19 +541,19 @@ am--refresh: force: -version-generated.c: Makefile $(srcdir)/../gdb/version.in $(srcdir)/../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh +version-generated.cc: Makefile $(srcdir)/../gdb/version.in $(srcdir)/../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh $(ECHO_GEN) $(SHELL) $(srcdir)/../gdbsupport/create-version.sh $(srcdir)/../gdb \ $(host_alias) $(target_alias) $@ -xml-builtin-generated.c: stamp-xml; @true +xml-builtin-generated.cc: stamp-xml; @true stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES) $(SILENCE) rm -f xml-builtin.tmp $(ECHO_GEN_XML_BUILTIN_GENERATED) $(SHELL) $(XML_DIR)/feature_to_c.sh \ xml-builtin.tmp $(XML_FILES) - $(SILENCE) $(SHELL) $(srcdir)/../move-if-change xml-builtin.tmp xml-builtin-generated.c + $(SILENCE) $(SHELL) $(srcdir)/../move-if-change xml-builtin.tmp xml-builtin-generated.cc $(SILENCE) echo stamp > stamp-xml -.PRECIOUS: xml-builtin.c +.PRECIOUS: xml-builtin.cc # GNU Make has an annoying habit of putting *all* the Makefile variables # into the environment, unless you include this target as a circumvention. @@ -586,87 +586,87 @@ IPAGENT_COMPILE = $(ECHO_CXX) $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post) # Rules for special cases. -ax-ipa.o: ax.c +ax-ipa.o: ax.cc $(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) -ax.o: ax.c +ax.o: ax.cc $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) # Rules for objects that go in the in-process agent. arch/%-ipa.o: ../gdb/arch/%.c - $(IPAGENT_COMPILE) $< + $(IPAGENT_COMPILE) -x c++ $< $(POSTCOMPILE) gdbsupport/%-ipa.o: ../gdbsupport/%.cc $(IPAGENT_COMPILE) $< $(POSTCOMPILE) -%-ipa.o: %-generated.c +%-ipa.o: %-generated.cc $(IPAGENT_COMPILE) $< $(POSTCOMPILE) -%-ipa.o: %.c +%-ipa.o: %.cc $(IPAGENT_COMPILE) $< $(POSTCOMPILE) %-ipa.o: ../gdb/%.c - $(IPAGENT_COMPILE) $< + $(IPAGENT_COMPILE) -x c++ $< $(POSTCOMPILE) # Note: Between two matching pattern rules, GNU Make 3.81 chooses the first one. -# Therefore, this one needs to be before "%.o: %.c" for it to be considered for -# files such as linux-amd64-ipa.o generated from linux-amd64-ipa.c. +# Therefore, this one needs to be before "%.o: %.cc" for it to be considered for +# files such as linux-amd64-ipa.o generated from linux-amd64-ipa.cc. # # Later versions of GNU Make choose the rule with the shortest stem, so it would # work in any order. -%-ipa.o: %-ipa.c +%-ipa.o: %-ipa.cc $(IPAGENT_COMPILE) $< $(POSTCOMPILE) # Rules for objects that go in the gdbserver binary. arch/%.o: ../gdb/arch/%.c - $(COMPILE) $< + $(COMPILE) -x c++ $< $(POSTCOMPILE) gdbsupport/%.o: ../gdbsupport/%.cc $(COMPILE) $< $(POSTCOMPILE) -%.o: %-generated.c +%.o: %-generated.cc $(COMPILE) $< $(POSTCOMPILE) -%.o: %.c +%.o: %.cc $(COMPILE) $< $(POSTCOMPILE) nat/%.o: ../gdb/nat/%.c - $(COMPILE) $< + $(COMPILE) -x c++ $< $(POSTCOMPILE) target/%.o: ../gdb/target/%.c - $(COMPILE) $< + $(COMPILE) -x c++ $< $(POSTCOMPILE) %.o: ../gdb/%.c - $(COMPILE) $< + $(COMPILE) -x c++ $< $(POSTCOMPILE) # Rules for register format descriptions. Suffix destination files with # -generated to identify and clean them easily. -%-generated.c: ../gdb/regformats/%.dat $(regdat_sh) +%-generated.cc: ../gdb/regformats/%.dat $(regdat_sh) $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ -%-generated.c: ../gdb/regformats/arm/%.dat $(regdat_sh) +%-generated.cc: ../gdb/regformats/arm/%.dat $(regdat_sh) $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ -%-generated.c: ../gdb/regformats/rs6000/%.dat $(regdat_sh) +%-generated.cc: ../gdb/regformats/rs6000/%.dat $(regdat_sh) $(ECHO_REGDAT) $(SHELL) $(regdat_sh) $< $@ # @@ -684,7 +684,7 @@ override POSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(basename $(@F)).Tpo \ else override COMPILE.pre = source='$<' object='$@' libtool=no \ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) \ - $(CXX) -x c++ $(CXX_DIALECT) + $(CXX) $(CXX_DIALECT) # depcomp handles atomicity for us, so we don't need a postcompile # step. override POSTCOMPILE = @@ -713,7 +713,7 @@ all_deps_files = $(foreach dep,$(patsubst %.o,%.Po,$(all_object_files)),\ # Disable implicit make rules. include $(srcdir)/../gdb/disable-implicit-rules.mk -# Do not delete intermediate files (e.g. *-generated.c). +# Do not delete intermediate files (e.g. *-generated.cc). .SECONDARY: # This is the end of "Makefile.in". |