bsd.kmod.mk knows how to clean up opt_*.h files automatically,

and has the necessary magic to create empty opt_*.h files.
This commit is contained in:
Ruslan Ermilov 2004-09-01 06:51:43 +00:00
parent 6804a3ab6d
commit 5355cfee73
2 changed files with 1 additions and 8 deletions

View File

@ -8,9 +8,4 @@ SRCS= vnode_if.h \
coda_venus.c coda_vfsops.c coda_vnops.c \
opt_coda.h
CLEANFILES= opt_coda.h
opt_coda.h:
echo > ${.TARGET}
.include <bsd.kmod.mk>

View File

@ -8,9 +8,7 @@ SRCS= vnode_if.h \
coda_venus.c coda_vfsops.c coda_vnops.c \
opt_coda.h
CLEANFILES= opt_coda.h
opt_coda.h:
echo "#define CODA_COMPAT_5" >> ${.TARGET}
echo "#define CODA_COMPAT_5" > ${.TARGET}
.include <bsd.kmod.mk>