GNU Binutils with patches for OS216
Révision | a26aa30cc535c9bde457cdd00daf0c82f25da0af (tree) |
---|---|
l'heure | 2017-11-28 08:53:23 |
Auteur | Tom Tromey <tom@trom...> |
Commiter | Tom Tromey |
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.
@@ -1,5 +1,11 @@ | ||
1 | 1 | 2017-11-27 Tom Tromey <tom@tromey.com> |
2 | 2 | |
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 | + | |
3 | 9 | * Makefile.in (SUBDIR_MI_OBS): Redefine. |
4 | 10 | (%.o): Remove mi rule. |
5 | 11 | (CONFIG_SRC_SUBDIR): Add mi. |
@@ -327,15 +327,6 @@ SUBDIR_TUI_CFLAGS = -DTUI=1 | ||
327 | 327 | # |
328 | 328 | # GCC Compile support sub-directory definitions |
329 | 329 | # |
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 | - | |
339 | 330 | SUBDIR_GCC_COMPILE_SRCS = \ |
340 | 331 | compile/compile.c \ |
341 | 332 | compile/compile-c-support.c \ |
@@ -347,6 +338,8 @@ SUBDIR_GCC_COMPILE_SRCS = \ | ||
347 | 338 | compile/compile-object-run.c \ |
348 | 339 | compile/compile-object-run.h |
349 | 340 | |
341 | +SUBDIR_GCC_COMPILE_OBS = $(patsubst %.c,%.o,$(filter %.c,$(SUBDIR_GCC_COMPILE_SRCS))) | |
342 | + | |
350 | 343 | # |
351 | 344 | # Guile sub directory definitons for guile support. |
352 | 345 | # |
@@ -622,7 +615,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@ | ||
622 | 615 | CONFIG_UNINSTALL = @CONFIG_UNINSTALL@ |
623 | 616 | HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@ |
624 | 617 | |
625 | -CONFIG_SRC_SUBDIR = arch cli mi | |
618 | +CONFIG_SRC_SUBDIR = arch cli mi compile | |
626 | 619 | CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR)) |
627 | 620 | |
628 | 621 | # -I. for config files. |
@@ -1917,10 +1910,6 @@ $(CONFIG_DEP_SUBDIR): | ||
1917 | 1910 | $(COMPILE) $< |
1918 | 1911 | $(POSTCOMPILE) |
1919 | 1912 | |
1920 | -%.o: $(srcdir)/compile/%.c | |
1921 | - $(COMPILE) $< | |
1922 | - $(POSTCOMPILE) | |
1923 | - | |
1924 | 1913 | %.o: $(srcdir)/gdbtk/generic/%.c |
1925 | 1914 | $(COMPILE) $(all_gdbtk_cflags) $< |
1926 | 1915 | $(POSTCOMPILE) |