1# $FreeBSD: head/sys/modules/wlan/Makefile 194330 2009-06-17 04:23:37Z weongyo $
2
3.PATH: ${.CURDIR}/../../net80211
4
5KMOD= wlan
6SRCS= ieee80211.c ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_dfs.c \
7 ieee80211_freebsd.c ieee80211_input.c ieee80211_ioctl.c \
8 ieee80211_node.c ieee80211_output.c ieee80211_phy.c ieee80211_power.c \
9 ieee80211_proto.c ieee80211_scan.c ieee80211_scan_sta.c \
10 ieee80211_radiotap.c ieee80211_regdomain.c ieee80211_ht.c \
11 ieee80211_adhoc.c ieee80211_hostap.c ieee80211_monitor.c \
12 ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c
13SRCS+= bus_if.h device_if.h opt_inet.h opt_inet6.h opt_ipx.h opt_wlan.h \
14 opt_ddb.h
15
16.if !defined(KERNBUILDDIR)
17opt_wlan.h:
18 echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
19 echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET}
20opt_inet.h:
21 echo "#define INET 1" > ${.TARGET}
22opt_ipx.h:
23 echo "#define IPX 1" > ${.TARGET}
24# override to get ddb support?
25opt_ddb.h:
26 echo "#define DDB 0" > ${.TARGET}
27.endif
28
29.include <bsd.kmod.mk>
2
3.PATH: ${.CURDIR}/../../net80211
4
5KMOD= wlan
6SRCS= ieee80211.c ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_dfs.c \
7 ieee80211_freebsd.c ieee80211_input.c ieee80211_ioctl.c \
8 ieee80211_node.c ieee80211_output.c ieee80211_phy.c ieee80211_power.c \
9 ieee80211_proto.c ieee80211_scan.c ieee80211_scan_sta.c \
10 ieee80211_radiotap.c ieee80211_regdomain.c ieee80211_ht.c \
11 ieee80211_adhoc.c ieee80211_hostap.c ieee80211_monitor.c \
12 ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c
13SRCS+= bus_if.h device_if.h opt_inet.h opt_inet6.h opt_ipx.h opt_wlan.h \
14 opt_ddb.h
15
16.if !defined(KERNBUILDDIR)
17opt_wlan.h:
18 echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
19 echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET}
20opt_inet.h:
21 echo "#define INET 1" > ${.TARGET}
22opt_ipx.h:
23 echo "#define IPX 1" > ${.TARGET}
24# override to get ddb support?
25opt_ddb.h:
26 echo "#define DDB 0" > ${.TARGET}
27.endif
28
29.include <bsd.kmod.mk>