Deleted Added
full compact
kmod.mk (16860) kmod.mk (17971)
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
2# $Id: bsd.kmod.mk,v 1.23 1996/06/24 04:24:00 jkh Exp $
2# $Id: bsd.kmod.mk,v 1.24 1996/06/30 22:16:19 jkh Exp $
3#
4# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
5# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists,
6# as well as the include file <bsd.obj.mk>, <bsd.dep.mk>, and
7# may be <bsd.man.mk>
8#
9#
10# +++ variables +++

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

88
89#
90# Assume that we are in /usr/src/foo/bar, so /sys is
91# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
92# actually lives in /sys directly.
93#
94CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
95 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
3#
4# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
5# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists,
6# as well as the include file <bsd.obj.mk>, <bsd.dep.mk>, and
7# may be <bsd.man.mk>
8#
9#
10# +++ variables +++

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

88
89#
90# Assume that we are in /usr/src/foo/bar, so /sys is
91# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
92# actually lives in /sys directly.
93#
94CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
95 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
96 -Winline -Wunused
96 -Winline -Wunused -Wpointer-arith
97
98CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
99 ${CWARNFLAGS}
100
101EXPORT_SYMS?= _${KMOD}
102
103.if defined(VFS_LKM)
104CFLAGS+= -DVFS_LKM -DMODVNOPS=${KMOD}vnops -I.

--- 108 unchanged lines hidden ---
97
98CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
99 ${CWARNFLAGS}
100
101EXPORT_SYMS?= _${KMOD}
102
103.if defined(VFS_LKM)
104CFLAGS+= -DVFS_LKM -DMODVNOPS=${KMOD}vnops -I.

--- 108 unchanged lines hidden ---