mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
automatically removes opt_*.h and if_*.h found in SRCS.
This commit is contained in:
parent
5355cfee73
commit
7206243f04
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134593
@ -14,7 +14,7 @@ NG_CRONYX?= 0
|
||||
NETGRAPH= ${NG_CRONYX}
|
||||
|
||||
CFLAGS+= ${PROTOS}
|
||||
CLEANFILES+= opt_ng_cronyx.h opt_netgraph.h pci.h bpf.h sppp.h
|
||||
CLEANFILES+= bpf.h sppp.h
|
||||
|
||||
opt_netgraph.h:
|
||||
echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h
|
||||
|
@ -12,7 +12,7 @@ NG_CRONYX?= 0
|
||||
NETGRAPH= ${NG_CRONYX}
|
||||
|
||||
CFLAGS+= ${PROTOS}
|
||||
CLEANFILES+= opt_ng_cronyx.h opt_netgraph.h bpf.h sppp.h
|
||||
CLEANFILES+= bpf.h sppp.h
|
||||
|
||||
opt_netgraph.h:
|
||||
echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h
|
||||
|
@ -13,7 +13,7 @@ NETGRAPH= ${NG_CRONYX}
|
||||
|
||||
|
||||
CFLAGS+= ${PROTOS}
|
||||
CLEANFILES+= opt_ng_cronyx.h opt_netgraph.h bpf.h sppp.h
|
||||
CLEANFILES+= bpf.h sppp.h
|
||||
|
||||
opt_netgraph.h:
|
||||
echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h
|
||||
|
@ -19,8 +19,6 @@ SRCS+= bsd_comp.c
|
||||
SRCS+= ppp_deflate.c zlib.c
|
||||
.endif
|
||||
|
||||
CLEANFILES= ppp.h
|
||||
|
||||
.if ${PPP_INET} > 0
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" >> ${.TARGET}
|
||||
|
@ -7,8 +7,6 @@
|
||||
KMOD= if_tap
|
||||
SRCS= if_tap.c opt_inet.h vnode_if.h
|
||||
|
||||
CLEANFILES+= opt_devfs.h opt_inet.h vnode_if.h
|
||||
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > opt_inet.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user