The kernel-depend target doesn't get any information from "compile-with",

so repeat the includes paths for that target.
This commit is contained in:
David E. O'Brien 2005-09-11 07:33:43 +00:00
parent dc78598a0f
commit 5385446ad3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149978

View File

@ -61,6 +61,25 @@ INCLUDES+= -I$S/contrib/altq
INCLUDES+= -I$S/contrib/dev/ath
.endif
.if make(depend) || make(kernel-depend)
# ... and the same for ipfilter
INCLUDES+= -I$S/contrib/ipfilter
# ... and the same for pf
INCLUDES+= -I$S/contrib/pf
# ... and the same for Atheros HAL
INCLUDES+= -I$S/contrib/dev/ath/freebsd
# ... and the same for the NgATM stuff
INCLUDES+= -I$S/contrib/ngatm
# .. and the same for twa
INCLUDES+= -I$S/dev/twa
.endif
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG}
CFLAGS+= ${INCLUDES} -D_KERNEL -include opt_global.h
.if ${CC} != "icc"