Let kmod.mk touch opt_*.h files as needed.
Inspired by: imp's email
This commit is contained in:
parent
b102e653ad
commit
c11c127926
@ -20,8 +20,6 @@ SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \
|
||||
|
||||
FDC_DEBUG?= 0 # 0/1
|
||||
|
||||
opt_fdc.h:
|
||||
touch ${.TARGET}
|
||||
.if ${FDC_DEBUG} > 0
|
||||
echo "#define FDC_DEBUG 1" >> ${.TARGET}
|
||||
.endif
|
||||
|
@ -7,7 +7,4 @@ SRCS= vnode_if.h \
|
||||
linprocfs.c \
|
||||
opt_compat.h
|
||||
|
||||
opt_compat.h:
|
||||
touch ${.TARGET}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -8,7 +8,4 @@ SRCS= opt_msdosfs.h vnode_if.h \
|
||||
msdosfs_vfsops.c msdosfs_vnops.c
|
||||
EXPORT_SYMS= msdosfs_iconv
|
||||
|
||||
opt_msdosfs.h:
|
||||
touch ${.TARGET}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -21,9 +21,8 @@ SRCS+= rpcclnt.c
|
||||
# USE THE NEW IDMAPPER
|
||||
CFLAGS+= -DUSE_NEW_IDMAPPER
|
||||
|
||||
opt_inet.h:
|
||||
touch ${.TARGET}
|
||||
.if ${NFS_INET} > 0
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
|
@ -22,9 +22,8 @@ SRCS+= rpcclnt.c
|
||||
# USE THE NEW IDMAPPER
|
||||
CFLAGS+= -DUSE_NEW_IDMAPPER
|
||||
|
||||
opt_inet.h:
|
||||
touch ${.TARGET}
|
||||
.if ${NFS_INET} > 0
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
|
@ -6,7 +6,4 @@ KMOD= if_owi
|
||||
SRCS= opt_wi.h if_owi.c if_owi_pccard.c \
|
||||
card_if.h device_if.h bus_if.h pci_if.h pccarddevs.h
|
||||
|
||||
opt_wi.h:
|
||||
touch ${.TARGET}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -42,15 +42,13 @@ CFLAGS+= ${KDEBUG}
|
||||
CFLAGS+= -DVNPRINT
|
||||
.endif
|
||||
|
||||
opt_inet.h:
|
||||
touch ${.TARGET}
|
||||
.if ${SMB_INET} > 0
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
opt_ipx.h:
|
||||
touch ${.TARGET}
|
||||
.if ${SMB_IPX} > 0
|
||||
opt_ipx.h:
|
||||
echo "#define IPX 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user