summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-01 07:12:24 +0000
committerru <ru@FreeBSD.org>2004-09-01 07:12:24 +0000
commit87efa22a466a3cdd7dc209bba4300ba43b0a3e7e (patch)
treedc1a3248d40ba554b98f81c4a568e93dd5cd145d
parent4bddde21ccd09a6fac32bfaf7d5c00e0864e6129 (diff)
downloadFreeBSD-src-87efa22a466a3cdd7dc209bba4300ba43b0a3e7e.zip
FreeBSD-src-87efa22a466a3cdd7dc209bba4300ba43b0a3e7e.tar.gz
Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
automatically removes opt_*.h and if_*.h found in SRCS.
-rw-r--r--sys/modules/cp/Makefile2
-rw-r--r--sys/modules/ctau/Makefile2
-rw-r--r--sys/modules/cx/Makefile2
-rw-r--r--sys/modules/if_ppp/Makefile2
-rw-r--r--sys/modules/if_tap/Makefile2
5 files changed, 3 insertions, 7 deletions
diff --git a/sys/modules/cp/Makefile b/sys/modules/cp/Makefile
index df22b52..fdf2695 100644
--- a/sys/modules/cp/Makefile
+++ b/sys/modules/cp/Makefile
@@ -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
diff --git a/sys/modules/ctau/Makefile b/sys/modules/ctau/Makefile
index 137fb0a..75ad7f0 100644
--- a/sys/modules/ctau/Makefile
+++ b/sys/modules/ctau/Makefile
@@ -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
diff --git a/sys/modules/cx/Makefile b/sys/modules/cx/Makefile
index 889834c..ce9932c 100644
--- a/sys/modules/cx/Makefile
+++ b/sys/modules/cx/Makefile
@@ -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
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile
index f2b11d5..871cc5d 100644
--- a/sys/modules/if_ppp/Makefile
+++ b/sys/modules/if_ppp/Makefile
@@ -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}
diff --git a/sys/modules/if_tap/Makefile b/sys/modules/if_tap/Makefile
index 29e0a90..dcd6df3 100644
--- a/sys/modules/if_tap/Makefile
+++ b/sys/modules/if_tap/Makefile
@@ -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
OpenPOWER on IntegriCloud