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