From 40666ef4a4c81b9cf1f32642bbddc9c5c13bee2f Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 1 Jul 2003 15:15:45 +0000 Subject: There's no reason to keep separate AINC knob anymore. The only real use of it (lib/libc/Makefile) has been fixed, and if necessary, the contents of AINC should be added to CFLAGS. Explained by: bde --- share/mk/bsd.dep.mk | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'share/mk/bsd.dep.mk') diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 70e54f6..61bd54d 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -114,16 +114,10 @@ depend: beforedepend ${DEPENDFILE} afterdepend # Split up the sources, and filter out headers and non-applicable flags. ${DEPENDFILE}: ${SRCS} rm -f ${DEPENDFILE} -.if ${SRCS:M*.[sS]} != "" +.if ${SRCS:M*.[cSs]} != "" ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \ ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*} \ - ${AINC} \ - ${.ALLSRC:M*.[sS]} -.endif -.if ${SRCS:M*.c} != "" - ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \ - ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*} \ - ${.ALLSRC:M*.c} + ${.ALLSRC:M*.[cSs]} .endif .if ${SRCS:M*.cc} != "" || ${SRCS:M*.C} != "" || ${SRCS:M*.cpp} != "" || \ ${SRCS:M*.cxx} != "" -- cgit v1.1