a93ea220fc
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
22 lines
349 B
Makefile
22 lines
349 B
Makefile
# $NetBSD: Makefile,v 1.6 2003/08/01 17:04:02 lukem Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: $S/compat/ultrix
|
|
|
|
CPPFLAGS+= -nostdinc -D_KERNEL -DEXEC_ECOFF
|
|
|
|
KMOD= exec_ultrix_ecoff
|
|
|
|
SRCS= lkminit_exec.c
|
|
SRCS+= ultrix_exec_ecoff.c
|
|
|
|
DPSRCS+= mips
|
|
CLEANFILES+= mips
|
|
.PHONY: mips
|
|
mips:
|
|
-rm -f $@
|
|
ln -s $S/arch/mips/include $@
|
|
|
|
.include <bsd.kmod.mk>
|