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.
This commit is contained in:
parent
eead54ba87
commit
7d63a49c9c
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user