summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-12 20:08:20 +0000
committerru <ru@FreeBSD.org>2004-01-12 20:08:20 +0000
commit7d63a49c9cacb588c90206704dd245afcb3d51be (patch)
tree0b06dbe190193e406d533b737810e4cdb0a0ffcc
parenteead54ba87b4e281bd6623c81b276cb929a19548 (diff)
downloadFreeBSD-src-7d63a49c9cacb588c90206704dd245afcb3d51be.zip
FreeBSD-src-7d63a49c9cacb588c90206704dd245afcb3d51be.tar.gz
Don't put objects in SRCS -- this creates all sort of havoc like
causing objects to be built during "make depend", missed sources in .depend, etc.
-rw-r--r--gnu/usr.bin/binutils/ranlib/Makefile2
-rw-r--r--gnu/usr.bin/cc/cc_int/Makefile8
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/ranlib/Makefile b/gnu/usr.bin/binutils/ranlib/Makefile
index 960b130..4dad9eb 100644
--- a/gnu/usr.bin/binutils/ranlib/Makefile
+++ b/gnu/usr.bin/binutils/ranlib/Makefile
@@ -5,7 +5,7 @@
.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
PROG= ranlib
-SRCS= ar.o is-ranlib.o
+SRCS= ar.c is-ranlib.c
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile
index 2249dd8..4c6a910 100644
--- a/gnu/usr.bin/cc/cc_int/Makefile
+++ b/gnu/usr.bin/cc/cc_int/Makefile
@@ -47,15 +47,15 @@ insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F ${MD_FILE}
# shared between the drivers
SRCS+= multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c mbchar.c concat.c make-temp-file.c
# C_AND_OBJC_OBJS
-#SRCS+= attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
-# c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o \
-# c-objc-common.o
+#SRCS+= attribs.c c-errors.c c-lex.c c-pragma.c c-decl.c c-typeck.c \
+# c-convert.c c-aux-info.c c-common.c c-format.c c-semantics.c \
+# c-objc-common.c
# XXX: shared by cc1, cc1obj & cpp0
# cc1plus seems to be able to tolerate these here,
# BUT only if the right .o's are specified in cc1plus/Makefile
SRCS+= c-typeck.c \
- c-errors.o c-pragma.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o
+ c-errors.c c-pragma.c c-convert.c c-aux-info.c c-common.c c-format.c c-semantics.c c-objc-common.c
# libbackend
SRCS+= builtins.c diagnostic.c doloop.c dominance.c et-forest.c \
OpenPOWER on IntegriCloud