]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/wlan/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / wlan / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../net80211
4
5 KMOD=   wlan
6 SRCS=   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
15 SRCS+=  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)
19 opt_wlan.h:
20         echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
21         echo "#define IEEE80211_AMPDU_AGE 1" >> ${.TARGET}
22         echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
23 opt_inet.h:
24         echo "#define INET 1" > ${.TARGET}
25 opt_ipx.h:
26         echo "#define IPX 1" > ${.TARGET}
27 # override to get ddb support?
28 opt_ddb.h:
29         :> ${.TARGET}
30 .endif
31
32 .include <bsd.kmod.mk>