1# $FreeBSD$ 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_regdomain.c \ 12 ieee80211_ht.c ieee80211_hwmp.c ieee80211_adhoc.c ieee80211_hostap.c \ 13 ieee80211_monitor.c ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c 14SRCS+= bus_if.h device_if.h opt_inet.h opt_inet6.h opt_ipx.h opt_wlan.h \ 15 opt_ddb.h 16 17.if !defined(KERNBUILDDIR) 18opt_wlan.h: 19 echo "#define IEEE80211_DEBUG 1" > ${.TARGET} 20 echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET} 21 echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET} 22opt_inet.h: 23 echo "#define INET 1" > ${.TARGET} 24opt_ipx.h: 25 echo "#define IPX 1" > ${.TARGET} 26# override to get ddb support? 27opt_ddb.h: 28 :> ${.TARGET} 29.endif 30 31.include <bsd.kmod.mk> 32