From 24c50acd3fc4854ea0922da07108a35e4c0411d2 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 12 Jan 2004 20:08:20 +0000 Subject: 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. --- gnu/usr.bin/binutils/ranlib/Makefile | 2 +- gnu/usr.bin/cc/cc_int/Makefile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/binutils/ranlib/Makefile b/gnu/usr.bin/binutils/ranlib/Makefile index 960b130d548d..4dad9eb89446 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 2249dd88a2aa..4c6a91070950 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 \ -- cgit v1.3