diff options
Diffstat (limited to 'sys')
37 files changed, 65 insertions, 66 deletions
diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile index 36c7359..24d356c 100644 --- a/sys/modules/aha/Makefile +++ b/sys/modules/aha/Makefile @@ -8,7 +8,7 @@ SRCS= aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \ .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ahb/Makefile b/sys/modules/ahb/Makefile index d015237..2616226 100644 --- a/sys/modules/ahb/Makefile +++ b/sys/modules/ahb/Makefile @@ -3,12 +3,11 @@ .PATH: ${.CURDIR}/../../dev/ahb KMOD= ahb -SRCS= ahb.c opt_cam.h device_if.h bus_if.h \ - eisa_if.h opt_scsi.h +SRCS= ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h opt_scsi.h .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile index 7b7ad78..b22f9d1 100644 --- a/sys/modules/an/Makefile +++ b/sys/modules/an/Makefile @@ -9,7 +9,7 @@ SRCS+= pccarddevs.h .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ar/Makefile b/sys/modules/ar/Makefile index 78fe22e..9350ac0 100644 --- a/sys/modules/ar/Makefile +++ b/sys/modules/ar/Makefile @@ -10,7 +10,7 @@ NETGRAPH?= 0 .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .endif diff --git a/sys/modules/ath_rate_amrr/Makefile b/sys/modules/ath_rate_amrr/Makefile index a3b8451..2617d1b 100644 --- a/sys/modules/ath_rate_amrr/Makefile +++ b/sys/modules/ath_rate_amrr/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: -# echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo > opt_wlan.h +# echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ath_rate_onoe/Makefile b/sys/modules/ath_rate_onoe/Makefile index 3f71e86..96cd38c 100644 --- a/sys/modules/ath_rate_onoe/Makefile +++ b/sys/modules/ath_rate_onoe/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h -# echo > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} +# echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ath_rate_sample/Makefile b/sys/modules/ath_rate_sample/Makefile index 7e5d6e1..02a5acf 100644 --- a/sys/modules/ath_rate_sample/Makefile +++ b/sys/modules/ath_rate_sample/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: -# echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo > opt_wlan.h +# echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ce/Makefile b/sys/modules/ce/Makefile index f8ac9a8..a7bccff 100644 --- a/sys/modules/ce/Makefile +++ b/sys/modules/ce/Makefile @@ -16,12 +16,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/cp/Makefile b/sys/modules/cp/Makefile index bb3a0ff..56be36c 100644 --- a/sys/modules/cp/Makefile +++ b/sys/modules/cp/Makefile @@ -16,12 +16,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/ctau/Makefile b/sys/modules/ctau/Makefile index 2f210f8..9d3d9c5 100644 --- a/sys/modules/ctau/Makefile +++ b/sys/modules/ctau/Makefile @@ -15,12 +15,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h + echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/cx/Makefile b/sys/modules/cx/Makefile index 0716f90..9379370 100644 --- a/sys/modules/cx/Makefile +++ b/sys/modules/cx/Makefile @@ -15,12 +15,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h + echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/digi/digi/Makefile b/sys/modules/digi/digi/Makefile index a9bd010..3f19f01 100644 --- a/sys/modules/digi/digi/Makefile +++ b/sys/modules/digi/digi/Makefile @@ -9,8 +9,8 @@ SRCS+= opt_compat.h .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h - echo "#define COMPAT_FREEBSD6 1" >> opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} + echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile index c77ea71..3e0b841 100644 --- a/sys/modules/fatm/Makefile +++ b/sys/modules/fatm/Makefile @@ -11,10 +11,10 @@ SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/hatm/Makefile b/sys/modules/hatm/Makefile index 5dcf11392..ec1a878 100644 --- a/sys/modules/hatm/Makefile +++ b/sys/modules/hatm/Makefile @@ -13,10 +13,10 @@ CFLAGS+= -DENABLE_BPF .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/hifn/Makefile b/sys/modules/hifn/Makefile index 9dfd04a..6897e34 100644 --- a/sys/modules/hifn/Makefile +++ b/sys/modules/hifn/Makefile @@ -8,7 +8,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_hifn.h: - echo "#define HIFN_DEBUG 1" > opt_hifn.h + echo "#define HIFN_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/if_tap/Makefile b/sys/modules/if_tap/Makefile index c138e71..b993093 100644 --- a/sys/modules/if_tap/Makefile +++ b/sys/modules/if_tap/Makefile @@ -12,7 +12,7 @@ opt_compat.h: echo "#define COMPAT_FREEBSD6 1" > ${.TARGET} opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 58d5b11..82eb056 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -54,7 +54,7 @@ linux${SFX}_genassym.o: linux${SFX}_genassym.c linux.h @ machine .if !defined(KERNBUILDDIR) opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile index 11136c2..0587896 100644 --- a/sys/modules/netgraph/sync_ar/Makefile +++ b/sys/modules/netgraph/sync_ar/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ - + .PATH: ${.CURDIR}/../../../dev/ar KMOD = ng_sync_ar SRCS = if_ar.c if_ar_isa.c if_ar_pci.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h - + .if !defined(KERNBUILDDIR) opt_netgraph.h: - echo "#define NETGRAPH" > opt_netgraph.h + echo "#define NETGRAPH" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/netgraph/sync_sr/Makefile b/sys/modules/netgraph/sync_sr/Makefile index ae49a3a..5d35a79 100644 --- a/sys/modules/netgraph/sync_sr/Makefile +++ b/sys/modules/netgraph/sync_sr/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ - + .PATH: ${.CURDIR}/../../../dev/sr KMOD = ng_sync_sr SRCS = if_sr.c if_sr_isa.c if_sr_pci.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h - + .if !defined(KERNBUILDDIR) opt_netgraph.h: - echo "#define NETGRAPH" > opt_netgraph.h + echo "#define NETGRAPH" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/patm/Makefile b/sys/modules/patm/Makefile index 7e33a36..5d5200e 100644 --- a/sys/modules/patm/Makefile +++ b/sys/modules/patm/Makefile @@ -14,10 +14,10 @@ CFLAGS+= -DENABLE_BPF .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile index ce67414..3b07c41 100644 --- a/sys/modules/pf/Makefile +++ b/sys/modules/pf/Makefile @@ -15,20 +15,20 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif opt_bpf.h: - echo "#define DEV_BPF 1" > opt_bpf.h + echo "#define DEV_BPF 1" > ${.TARGET} # pflog can be loaded as a module, have the additional checks turned on opt_pf.h: - echo "#define DEV_PF 1" > opt_pf.h - echo "#define DEF_PFLOG 1" >> opt_pf.h + echo "#define DEV_PF 1" > ${.TARGET} + echo "#define DEF_PFLOG 1" >> ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile index 12ead12..2dbbd6c 100644 --- a/sys/modules/pflog/Makefile +++ b/sys/modules/pflog/Makefile @@ -12,15 +12,15 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif opt_bpf.h: - echo "#define DEV_BPF 1" > opt_bpf.h + echo "#define DEV_BPF 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/rp/Makefile b/sys/modules/rp/Makefile index 8c4c9d9..9326dff 100644 --- a/sys/modules/rp/Makefile +++ b/sys/modules/rp/Makefile @@ -7,7 +7,7 @@ SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h opt_compat.h .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/safe/Makefile b/sys/modules/safe/Makefile index f1d1d61..6c61aa3 100644 --- a/sys/modules/safe/Makefile +++ b/sys/modules/safe/Makefile @@ -34,7 +34,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_safe.h: - echo "#define SAFE_DEBUG 1" > opt_safe.h + echo "#define SAFE_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile index 0976210..455d2f3 100644 --- a/sys/modules/sppp/Makefile +++ b/sys/modules/sppp/Makefile @@ -17,13 +17,13 @@ EXPORT_SYMS= sppp_attach \ .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} opt_ipx.h: - echo "#define IPX 1" > opt_ipx.h + echo "#define IPX 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/sr/Makefile b/sys/modules/sr/Makefile index 22bfc4b..b65df09 100644 --- a/sys/modules/sr/Makefile +++ b/sys/modules/sr/Makefile @@ -10,7 +10,7 @@ NETGRAPH?= 0 .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .endif diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index 9204738..6229ec9 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -26,11 +26,11 @@ svr4_genassym.o: svr4_genassym.c svr4.h @ machine .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} .if defined(DEBUG) opt_svr4.h: - echo "#define DEBUG_SVR4 1" > opt_svr4.h + echo "#define DEBUG_SVR4 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/trm/Makefile b/sys/modules/trm/Makefile index beb1ab4..48df9f5 100644 --- a/sys/modules/trm/Makefile +++ b/sys/modules/trm/Makefile @@ -8,7 +8,7 @@ SRCS= trm.c trm.h opt_cam.h device_if.h bus_if.h \ .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile index e9611c1..d7835fa 100644 --- a/sys/modules/ubsec/Makefile +++ b/sys/modules/ubsec/Makefile @@ -8,7 +8,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_ubsec.h: - echo "#define UBSEC_DEBUG 1" > opt_ubsec.h + echo "#define UBSEC_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile index ba8e097..02bfefb 100644 --- a/sys/modules/wlan/Makefile +++ b/sys/modules/wlan/Makefile @@ -14,14 +14,14 @@ SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo "#define IEEE80211_AMDPU_AGE 1" >> opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET} opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_ipx.h: - echo "#define IPX 1" > opt_ipx.h + echo "#define IPX 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_acl/Makefile b/sys/modules/wlan_acl/Makefile index 5922859..6de7be4 100644 --- a/sys/modules/wlan_acl/Makefile +++ b/sys/modules/wlan_acl/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_amrr/Makefile b/sys/modules/wlan_amrr/Makefile index 481d124..d459338 100644 --- a/sys/modules/wlan_amrr/Makefile +++ b/sys/modules/wlan_amrr/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_ccmp/Makefile b/sys/modules/wlan_ccmp/Makefile index bbf8f62..8655c80 100644 --- a/sys/modules/wlan_ccmp/Makefile +++ b/sys/modules/wlan_ccmp/Makefile @@ -10,7 +10,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_rssadapt/Makefile b/sys/modules/wlan_rssadapt/Makefile index 2285afc..be70989 100644 --- a/sys/modules/wlan_rssadapt/Makefile +++ b/sys/modules/wlan_rssadapt/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_tkip/Makefile b/sys/modules/wlan_tkip/Makefile index 80c19f8..46a7257 100644 --- a/sys/modules/wlan_tkip/Makefile +++ b/sys/modules/wlan_tkip/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_wep/Makefile b/sys/modules/wlan_wep/Makefile index 3a5c6dc..89fca2f 100644 --- a/sys/modules/wlan_wep/Makefile +++ b/sys/modules/wlan_wep/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_xauth/Makefile b/sys/modules/wlan_xauth/Makefile index 1877fd1..ccab4d3 100644 --- a/sys/modules/wlan_xauth/Makefile +++ b/sys/modules/wlan_xauth/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> |