First pass at converting the net80211 infrastrcture from FreeBSD.
[dragonfly.git] / sys / netproto / 802_11 / wlan_tkip / Makefile
index 8c76edf..fcfbb91 100644 (file)
@@ -1,6 +1,13 @@
 # $DragonFly: src/sys/netproto/802_11/wlan_tkip/Makefile,v 1.1 2006/05/18 13:51:46 sephe Exp $
 
-KMOD   = wlan_tkip
-SRCS   = ieee80211_crypto_tkip.c
+KMOD    = wlan_tkip
+SRCS    = ieee80211_crypto_tkip.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>