• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No 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

Revisãof06afa533665d88c651617de528b9640eb4e8611 (tree)
Hora2017-11-28 08:53:22
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Mensagem de Log

Move cli object files to cli subdirectory

Following the "arch" move, this moves the object files corresponding
to the cli/*.c source files to the "cli" build directory.

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

* Makefile.in (SUBDIR_CLI_OBS): Redefine.
(%.o): Remove cli rule.
(CONFIG_SRC_SUBDIR): Add cli.

Mudança Sumário

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
11 2017-11-27 Tom Tromey <tom@tromey.com>
22
3+ * Makefile.in (SUBDIR_CLI_OBS): Redefine.
4+ (%.o): Remove cli rule.
5+ (CONFIG_SRC_SUBDIR): Add cli.
6+
7+2017-11-27 Tom Tromey <tom@tromey.com>
8+
39 * configure.ac (CONFIG_SRC_SUBDIR): Don't subst.
410 * configure: Rebuild.
511 * Makefile.in (CONFIG_SRC_SUBDIR): Redefine.
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -235,16 +235,6 @@ GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
235235 #
236236 # CLI sub directory definitons
237237 #
238-SUBDIR_CLI_OBS = \
239- cli-cmds.o \
240- cli-decode.o \
241- cli-dump.o \
242- cli-interp.o \
243- cli-logging.o \
244- cli-script.o \
245- cli-setshow.o \
246- cli-utils.o
247-
248238 SUBDIR_CLI_SRCS = \
249239 cli/cli-cmds.c \
250240 cli/cli-decode.c \
@@ -255,6 +245,8 @@ SUBDIR_CLI_SRCS = \
255245 cli/cli-setshow.c \
256246 cli/cli-utils.c
257247
248+SUBDIR_CLI_OBS = $(patsubst %.c,%.o,$(SUBDIR_CLI_SRCS))
249+
258250 SUBDIR_CLI_DEPS =
259251 SUBDIR_CLI_LDFLAGS =
260252 SUBDIR_CLI_CFLAGS =
@@ -647,7 +639,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
647639 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
648640 HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
649641
650-CONFIG_SRC_SUBDIR = arch
642+CONFIG_SRC_SUBDIR = arch cli
651643 CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
652644
653645 # -I. for config files.
@@ -1938,10 +1930,6 @@ $(CONFIG_DEP_SUBDIR):
19381930 $(SHELL) $(srcdir)/../mkinstalldirs $@
19391931
19401932 # Rules for compiling .c files in the various source subdirectories.
1941-%.o: $(srcdir)/cli/%.c
1942- $(COMPILE) $<
1943- $(POSTCOMPILE)
1944-
19451933 %.o: ${srcdir}/common/%.c
19461934 $(COMPILE) $<
19471935 $(POSTCOMPILE)