Fix exec.c handling in Makefile
authorTom Tromey <tom@tromey.com>
Mon, 2 Jul 2018 13:09:37 +0000 (07:09 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 9 Jul 2018 14:03:49 +0000 (08:03 -0600)
exec.c ws handled specially in COMMON_OBS, but there doesn't seem to
be a reason for this.  This changes the Makefile to treat exec.c as an
ordinary source file.

gdb/ChangeLog
2018-07-09  Tom Tromey  <tom@tromey.com>

* Makefile.in (ALLDEPFILES): Remove exec.c.
(COMMON_OBS): Remove exec.o.
(COMMON_SFILES): Add exec.c.

gdb/ChangeLog
gdb/Makefile.in

index 83c294710202cbab8fa9a02faadfa90c638ff788..b8bc5cfa3b9f086ec22a7157fdda2a7f9b86939e 100644 (file)
@@ -1,3 +1,9 @@
+2018-07-09  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (ALLDEPFILES): Remove exec.c.
+       (COMMON_OBS): Remove exec.o.
+       (COMMON_SFILES): Add exec.c.
+
 2018-07-09  Tom Tromey  <tom@tromey.com>
 
        * Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.
index f4286f84143263554024ba76254366bc2808e4d6..047d06b6121cf395ef1a2901dc4bb27af3e73b2e 100644 (file)
@@ -1006,6 +1006,7 @@ COMMON_SFILES = \
        event-loop.c \
        event-top.c \
        exceptions.c \
+       exec.c \
        expprint.c \
        extension.c \
        f-lang.c \
@@ -1551,7 +1552,6 @@ TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
 
 COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
-       exec.o \
        mi/mi-common.o \
        version.o \
        xml-builtin.o \
@@ -2208,7 +2208,6 @@ ALLDEPFILES = \
        bsd-uthread.c \
        darwin-nat.c \
        dicos-tdep.c \
-       exec.c \
        fbsd-nat.c \
        fbsd-tdep.c \
        fork-child.c \