First pass at converting the net80211 infrastrcture from FreeBSD.
[dragonfly.git] / sys / netproto / 802_11 / wlan_xauth / Makefile
index 877cd54..29cf9ed 100644 (file)
@@ -1,6 +1,13 @@
 # $DragonFly: src/sys/netproto/802_11/wlan_xauth/Makefile,v 1.1 2006/05/18 13:51:46 sephe Exp $
 
-KMOD   = wlan_xauth
-SRCS   = ieee80211_xauth.c
+KMOD    = wlan_xauth
+SRCS    = ieee80211_xauth.c
+SRCS   += opt_wlan.h
+
+.if !defined(BUILDING_WITH_KERNEL)
+opt_wlan.h:
+       echo "#define IEEE80211_SUPPORT_TDMA    1" > ${.TARGET}
+       echo "#define IEEE80211_SUPPORT_MESH    1" > ${.TARGET}
+.endif
 
 .include <bsd.kmod.mk>