1# $FreeBSD$ 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_regdomain.c ieee80211_ht.c \ 11 ieee80211_adhoc.c ieee80211_hostap.c ieee80211_monitor.c \ 12 ieee80211_sta.c ieee80211_wds.c 13SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h 14 15.if !defined(KERNBUILDDIR) 16opt_wlan.h: 17 echo "#define IEEE80211_DEBUG 1" > opt_wlan.h 18 echo "#define IEEE80211_AMDPU_AGE 1" >> opt_wlan.h 19 20opt_inet.h: 21 echo "#define INET 1" > opt_inet.h 22 23opt_ipx.h: 24 echo "#define IPX 1" > opt_ipx.h 25.endif 26 27.include <bsd.kmod.mk> 28