• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révisiona26aa30cc535c9bde457cdd00daf0c82f25da0af (tree)
l'heure2017-11-28 08:53:23
AuteurTom Tromey <tom@trom...>
CommiterTom Tromey

Message de Log

Move compile object files to compile subdirectory

Move the object files corresponding to compile/*.c to the compile
subdirectory in the build tree.

ChangeLog
2017-11-27 Tom Tromey <tom@tromey.com>

* Makefile.in (SUBDIR_GCC_COMPILE_OBS): Redefine.
(%.o): Remove compile rule.
(CONFIG_SRC_SUBDIR): Add compile.

Change Summary

Modification

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
11 2017-11-27 Tom Tromey <tom@tromey.com>
22
3+ * Makefile.in (SUBDIR_GCC_COMPILE_OBS): Redefine.
4+ (%.o): Remove compile rule.
5+ (CONFIG_SRC_SUBDIR): Add compile.
6+
7+2017-11-27 Tom Tromey <tom@tromey.com>
8+
39 * Makefile.in (SUBDIR_MI_OBS): Redefine.
410 (%.o): Remove mi rule.
511 (CONFIG_SRC_SUBDIR): Add mi.
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -327,15 +327,6 @@ SUBDIR_TUI_CFLAGS = -DTUI=1
327327 #
328328 # GCC Compile support sub-directory definitions
329329 #
330-SUBDIR_GCC_COMPILE_OBS = \
331- compile.o \
332- compile-c-support.o \
333- compile-c-symbols.o \
334- compile-c-types.o \
335- compile-loc2c.o \
336- compile-object-load.o \
337- compile-object-run.o
338-
339330 SUBDIR_GCC_COMPILE_SRCS = \
340331 compile/compile.c \
341332 compile/compile-c-support.c \
@@ -347,6 +338,8 @@ SUBDIR_GCC_COMPILE_SRCS = \
347338 compile/compile-object-run.c \
348339 compile/compile-object-run.h
349340
341+SUBDIR_GCC_COMPILE_OBS = $(patsubst %.c,%.o,$(filter %.c,$(SUBDIR_GCC_COMPILE_SRCS)))
342+
350343 #
351344 # Guile sub directory definitons for guile support.
352345 #
@@ -622,7 +615,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
622615 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
623616 HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
624617
625-CONFIG_SRC_SUBDIR = arch cli mi
618+CONFIG_SRC_SUBDIR = arch cli mi compile
626619 CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
627620
628621 # -I. for config files.
@@ -1917,10 +1910,6 @@ $(CONFIG_DEP_SUBDIR):
19171910 $(COMPILE) $<
19181911 $(POSTCOMPILE)
19191912
1920-%.o: $(srcdir)/compile/%.c
1921- $(COMPILE) $<
1922- $(POSTCOMPILE)
1923-
19241913 %.o: $(srcdir)/gdbtk/generic/%.c
19251914 $(COMPILE) $(all_gdbtk_cflags) $<
19261915 $(POSTCOMPILE)