diff options
author | ru <ru@FreeBSD.org> | 2003-07-01 15:15:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-07-01 15:15:45 +0000 |
commit | 40666ef4a4c81b9cf1f32642bbddc9c5c13bee2f (patch) | |
tree | c3de515c092b5f6ce8e1826d8cb617a6d0dce573 /share/mk/bsd.dep.mk | |
parent | 9bab6e89005f8d7db270dbe408cd2eee983843e2 (diff) | |
download | FreeBSD-src-40666ef4a4c81b9cf1f32642bbddc9c5c13bee2f.zip FreeBSD-src-40666ef4a4c81b9cf1f32642bbddc9c5c13bee2f.tar.gz |
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
Diffstat (limited to 'share/mk/bsd.dep.mk')
-rw-r--r-- | share/mk/bsd.dep.mk | 10 |
1 files changed, 2 insertions, 8 deletions
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} != "" |