wlan - Update wlan from Adrian / FreeBSD
[dragonfly.git] / sys / netproto / 802_11 / wlan / Makefile
CommitLineData
32176cfd
RP
1KMOD = wlan
2SRCS = ieee80211.c ieee80211_action.c ieee80211_adhoc.c ieee80211_ageq.c
085ff963 3#SRCS += ieee80211_amrr.c ieee80211_alq.c
32176cfd
RP
4SRCS += ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_ddb.c
5SRCS += ieee80211_dfs.c ieee80211_dragonfly.c ieee80211_hostap.c
6SRCS += ieee80211_ht.c ieee80211_hwmp.c ieee80211_input.c ieee80211_ioctl.c
7SRCS += ieee80211_mesh.c ieee80211_monitor.c ieee80211_node.c
8SRCS += ieee80211_output.c ieee80211_phy.c ieee80211_power.c
f4385629 9SRCS += ieee80211_proto.c ieee80211_radiotap.c
16878352 10SRCS += ieee80211_ratectl.c ieee80211_ratectl_none.c
f4385629 11SRCS += ieee80211_regdomain.c ieee80211_rssadapt.c
32176cfd
RP
12SRCS += ieee80211_scan.c ieee80211_scan_sta.c ieee80211_sta.c
13SRCS += ieee80211_superg.c ieee80211_tdma.c ieee80211_wds.c
6f25d555 14SRCS += bus_if.h device_if.h opt_inet.h opt_inet6.h opt_wlan.h
34a60cf6 15SRCS += opt_tdma.h opt_ddb.h
f186073c 16
1b29ad66 17.if !defined(BUILDING_WITH_KERNEL)
dc77986a
HP
18opt_inet.h:
19 echo "#define INET 1" > ${.TARGET}
dc77986a 20
32176cfd
RP
21opt_inet6.h:
22 echo "#define INET6 1" > ${.TARGET}
23
32176cfd 24opt_wlan.h:
6168f72e
RP
25 echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
26 echo "#define IEEE80211_SUPPORT_TDMA 1" >> ${.TARGET}
27 echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
32176cfd
RP
28
29opt_tdma.h:
30 echo "" > ${.TARGET}
31
34a60cf6
RP
32opt_ddb.h:
33 echo "#define DDB 1" > ${.TARGET}
34
1b29ad66 35.endif
dc77986a 36
f186073c 37.include <bsd.kmod.mk>