• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

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

Revisionbd810fff78006d38e3c287b7bd241319f4d763be (tree)
Zeit2017-11-28 08:53:24
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Log Message

Move guile object files to guile subdirectory

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

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

* configure: Rebuild.
* configure.ac (CONFIG_OBS): Refer to guile/guile.o.
* Makefile.in (SUBDIR_GUILE_OBS): Redefine.
(CONFIG_SRC_SUBDIR): Add guile.
(%.o): Remove guile rule.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
11 2017-11-27 Tom Tromey <tom@tromey.com>
22
3+ * configure: Rebuild.
4+ * configure.ac (CONFIG_OBS): Refer to guile/guile.o.
5+ * Makefile.in (SUBDIR_GUILE_OBS): Redefine.
6+ (CONFIG_SRC_SUBDIR): Add guile.
7+ (%.o): Remove guile rule.
8+
9+2017-11-27 Tom Tromey <tom@tromey.com>
10+
311 * Makefile.in (SUBDIR_UNITTESTS_OBS): Redefine.
412 (%.o): Remove unittests rule.
513 (CONFIG_SRC_SUBDIR): Add unittests.
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -326,33 +326,6 @@ SUBDIR_GCC_COMPILE_OBS = $(patsubst %.c,%.o,$(filter %.c,$(SUBDIR_GCC_COMPILE_SR
326326 #
327327 # Guile sub directory definitons for guile support.
328328 #
329-SUBDIR_GUILE_OBS = \
330- guile.o \
331- scm-arch.o \
332- scm-auto-load.o \
333- scm-block.o \
334- scm-breakpoint.o \
335- scm-cmd.o \
336- scm-disasm.o \
337- scm-exception.o \
338- scm-frame.o \
339- scm-gsmob.o \
340- scm-iterator.o \
341- scm-lazy-string.o \
342- scm-math.o \
343- scm-objfile.o \
344- scm-param.o \
345- scm-ports.o \
346- scm-pretty-print.o \
347- scm-progspace.o \
348- scm-safe-call.o \
349- scm-string.o \
350- scm-symbol.o \
351- scm-symtab.o \
352- scm-type.o \
353- scm-utils.o \
354- scm-value.o
355-
356329 SUBDIR_GUILE_SRCS = \
357330 guile/guile.c \
358331 guile/scm-arch.c \
@@ -380,6 +353,8 @@ SUBDIR_GUILE_SRCS = \
380353 guile/scm-utils.c \
381354 guile/scm-value.c
382355
356+SUBDIR_GUILE_OBS = $(patsubst %.c,%.o,$(SUBDIR_GUILE_SRCS))
357+
383358 SUBDIR_GUILE_DEPS =
384359 SUBDIR_GUILE_LDFLAGS =
385360 SUBDIR_GUILE_CFLAGS =
@@ -585,7 +560,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
585560 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
586561 HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
587562
588-CONFIG_SRC_SUBDIR = arch cli mi compile tui unittests
563+CONFIG_SRC_SUBDIR = arch cli mi compile tui unittests guile
589564 CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
590565
591566 # -I. for config files.
@@ -1884,10 +1859,6 @@ $(CONFIG_DEP_SUBDIR):
18841859 $(COMPILE) $(all_gdbtk_cflags) $<
18851860 $(POSTCOMPILE)
18861861
1887-%.o: $(srcdir)/guile/%.c
1888- $(COMPILE) $<
1889- $(POSTCOMPILE)
1890-
18911862 %.o: ${srcdir}/nat/%.c
18921863 $(COMPILE) $<
18931864 $(POSTCOMPILE)
--- a/gdb/configure
+++ b/gdb/configure
@@ -11279,7 +11279,7 @@ done
1127911279 else
1128011280 # Even if Guile support is not compiled in, we need to have these files
1128111281 # included.
11282- CONFIG_OBS="$CONFIG_OBS guile.o"
11282+ CONFIG_OBS="$CONFIG_OBS guile/guile.o"
1128311283 CONFIG_SRCS="$CONFIG_SRCS guile/guile.c"
1128411284 fi
1128511285
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1227,7 +1227,7 @@ if test "${have_libguile}" != no; then
12271227 else
12281228 # Even if Guile support is not compiled in, we need to have these files
12291229 # included.
1230- CONFIG_OBS="$CONFIG_OBS guile.o"
1230+ CONFIG_OBS="$CONFIG_OBS guile/guile.o"
12311231 CONFIG_SRCS="$CONFIG_SRCS guile/guile.c"
12321232 fi
12331233 AC_SUBST(GUILE_CPPFLAGS)