Deleted Added
full compact
kmod.mk (130274) kmod.mk (130416)
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
2# $FreeBSD: head/sys/conf/kmod.mk 130274 2004-06-09 16:08:20Z imp $
2# $FreeBSD: head/sys/conf/kmod.mk 130416 2004-06-13 17:29:10Z mlaier $
3#
4# The include file <bsd.kmod.mk> handles installing Kernel Loadable Device
5# drivers (KLD's).
6#
7#
8# +++ variables +++
9#
10# CLEANFILES Additional files to remove for the clean and cleandir targets.

--- 80 unchanged lines hidden (view full) ---

91CFLAGS+= -include ${KERNBUILDDIR}/opt_global.h
92.endif
93
94# Add -I paths for system headers. Individual KLD makefiles don't
95# need any -I paths for this. Similar defaults for .PATH can't be
96# set because there are no standard paths for non-headers.
97CFLAGS+= -I. -I@
98
3#
4# The include file <bsd.kmod.mk> handles installing Kernel Loadable Device
5# drivers (KLD's).
6#
7#
8# +++ variables +++
9#
10# CLEANFILES Additional files to remove for the clean and cleandir targets.

--- 80 unchanged lines hidden (view full) ---

91CFLAGS+= -include ${KERNBUILDDIR}/opt_global.h
92.endif
93
94# Add -I paths for system headers. Individual KLD makefiles don't
95# need any -I paths for this. Similar defaults for .PATH can't be
96# set because there are no standard paths for non-headers.
97CFLAGS+= -I. -I@
98
99# Add -I path for altq headers as they are included via net/if_var.h
100# for example.
101CFLAGS+= -I@/contrib/altq
102
99# Add a -I path to standard headers like <stddef.h>. Use a relative
100# path to src/include if possible. If the @ symlink hasn't been built
101# yet, then we can't tell if the relative path exists. Add both the
102# potential relative path and an absolute path in that case.
103.if exists(@)
104.if exists(@/../include)
105CFLAGS+= -I@/../include
106.else

--- 248 unchanged lines hidden ---
103# Add a -I path to standard headers like <stddef.h>. Use a relative
104# path to src/include if possible. If the @ symlink hasn't been built
105# yet, then we can't tell if the relative path exists. Add both the
106# potential relative path and an absolute path in that case.
107.if exists(@)
108.if exists(@/../include)
109CFLAGS+= -I@/../include
110.else

--- 248 unchanged lines hidden ---