3 ifdef CONFIG_DRIVER_HOSTAP
4 DRV_CFLAGS
+= -DCONFIG_DRIVER_HOSTAP
5 DRV_OBJS
+= ..
/src
/drivers
/driver_hostap.o
6 CONFIG_WIRELESS_EXTENSION
=y
12 ifdef CONFIG_DRIVER_WIRED
13 DRV_CFLAGS
+= -DCONFIG_DRIVER_WIRED
14 DRV_OBJS
+= ..
/src
/drivers
/driver_wired.o
17 ifdef CONFIG_DRIVER_MADWIFI
18 DRV_CFLAGS
+= -DCONFIG_DRIVER_MADWIFI
19 DRV_OBJS
+= ..
/src
/drivers
/driver_madwifi.o
20 CONFIG_WIRELESS_EXTENSION
=y
21 CONFIG_L2_PACKET
=linux
26 ifdef CONFIG_DRIVER_NL80211
27 DRV_CFLAGS
+= -DCONFIG_DRIVER_NL80211
28 DRV_OBJS
+= ..
/src
/drivers
/driver_nl80211.o
29 DRV_OBJS
+= ..
/src
/utils
/radiotap.o
38 DRV_CFLAGS
+= -DCONFIG_LIBNL20
42 ifdef CONFIG_DRIVER_BSD
43 ifndef CONFIG_L2_PACKET
44 CONFIG_L2_PACKET
=freebsd
46 DRV_CFLAGS
+= -DCONFIG_DRIVER_BSD
47 DRV_OBJS
+= ..
/src
/drivers
/driver_bsd.o
52 ifdef CONFIG_DRIVER_TEST
53 DRV_CFLAGS
+= -DCONFIG_DRIVER_TEST
54 DRV_OBJS
+= ..
/src
/drivers
/driver_test.o
58 ifdef CONFIG_DRIVER_NONE
59 DRV_CFLAGS
+= -DCONFIG_DRIVER_NONE
60 DRV_OBJS
+= ..
/src
/drivers
/driver_none.o
65 ifdef CONFIG_DRIVER_ATHEROS
66 DRV_AP_CFLAGS
+= -DCONFIG_DRIVER_ATHEROS
67 DRV_AP_OBJS
+= ..
/src
/drivers
/driver_atheros.o
68 CONFIG_L2_PACKET
=linux
73 ##### PURE CLIENT DRIVERS
75 ifdef CONFIG_DRIVER_WEXT
76 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_WEXT
77 CONFIG_WIRELESS_EXTENSION
=y
82 ifdef CONFIG_DRIVER_HERMES
83 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_HERMES
84 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_hermes.o
85 CONFIG_WIRELESS_EXTENSION
=y
88 ifdef CONFIG_DRIVER_ATMEL
89 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_ATMEL
90 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_atmel.o
91 CONFIG_WIRELESS_EXTENSION
=y
94 ifdef CONFIG_DRIVER_NDISWRAPPER
95 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_NDISWRAPPER
96 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_ndiswrapper.o
97 CONFIG_WIRELESS_EXTENSION
=y
100 ifdef CONFIG_DRIVER_RALINK
101 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_RALINK
102 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_ralink.o
107 ifdef CONFIG_DRIVER_BROADCOM
108 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_BROADCOM
109 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_broadcom.o
112 ifdef CONFIG_DRIVER_IPW
113 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_IPW
114 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_ipw.o
115 CONFIG_WIRELESS_EXTENSION
=y
118 ifdef CONFIG_DRIVER_NDIS
119 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_NDIS
120 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_ndis.o
121 ifdef CONFIG_NDIS_EVENTS_INTEGRATED
122 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_ndis_.o
124 ifndef CONFIG_L2_PACKET
125 CONFIG_L2_PACKET
=pcap
128 ifdef CONFIG_USE_NDISUIO
129 DRV_WPA_CFLAGS
+= -DCONFIG_USE_NDISUIO
133 ifdef CONFIG_DRIVER_OSX
134 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_OSX
135 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_osx.o
136 DRV_WPA_LDFLAGS
+= -framework CoreFoundation
137 DRV_WPA_LDFLAGS
+= -F
/System
/Library
/PrivateFrameworks
-framework Apple80211
140 ifdef CONFIG_DRIVER_IPHONE
141 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_IPHONE
142 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_iphone.o
143 DRV_WPA_OBJS
+= ..
/src
/drivers
/MobileApple80211.o
144 DRV_WPA_LDFLAGS
+= -framework CoreFoundation
147 ifdef CONFIG_DRIVER_SANA2
148 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_SANA2
149 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_sana2.o
152 ifdef CONFIG_DRIVER_ROBOSWITCH
153 DRV_WPA_CFLAGS
+= -DCONFIG_DRIVER_ROBOSWITCH
154 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_roboswitch.o
157 ifdef CONFIG_WIRELESS_EXTENSION
158 DRV_WPA_CFLAGS
+= -DCONFIG_WIRELESS_EXTENSION
159 DRV_WPA_OBJS
+= ..
/src
/drivers
/driver_wext.o
163 DRV_OBJS
+= ..
/src
/drivers
/netlink.o
166 ifdef NEED_LINUX_IOCTL
167 DRV_OBJS
+= ..
/src
/drivers
/linux_ioctl.o
172 DRV_BOTH_CFLAGS
:= $(DRV_CFLAGS
) $(DRV_WPA_CFLAGS
) $(DRV_AP_CFLAGS
)
173 DRV_WPA_CFLAGS
+= $(DRV_CFLAGS
)
174 DRV_AP_CFLAGS
+= $(DRV_CFLAGS
)
176 DRV_BOTH_LIBS
:= $(DRV_LIBS
) $(DRV_WPA_LIBS
) $(DRV_AP_LIBS
)
177 DRV_WPA_LIBS
+= $(DRV_LIBS
)
178 DRV_AP_LIBS
+= $(DRV_LIBS
)
180 DRV_BOTH_OBJS
:= $(DRV_OBJS
) $(DRV_WPA_OBJS
) $(DRV_AP_OBJS
)
181 DRV_WPA_OBJS
+= $(DRV_OBJS
)
182 DRV_AP_OBJS
+= $(DRV_OBJS
)
184 DRV_BOTH_LDFLAGS
:= $(DRV_LDFLAGS
) $(DRV_WPA_LDFLAGS
) $(DRV_AP_LDFLAGS
)
185 DRV_WPA_LDFLAGS
+= $(DRV_LDFLAGS
)
186 DRV_AP_LDFLAGS
+= $(DRV_LDFLAGS
)