summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa/wpa_supplicant/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/wpa/wpa_supplicant/Makefile')
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile65
1 files changed, 29 insertions, 36 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index 6c352ab..3424413 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -6,41 +6,19 @@
${WPA_DISTDIR}/src/drivers
PROG= wpa_supplicant
-SRCS= aes-unwrap.c \
- base64.c \
- blacklist.c \
- bss.c \
- common.c \
- config.c \
- config_file.c \
- ctrl_iface.c \
- ctrl_iface_unix.c \
- driver_ndis.c \
- driver_wired.c \
- drivers.c \
- eap_register.c \
- eloop.c \
- events.c \
- main.c \
- md5.c \
- notify.c \
- os_unix.c \
- peerkey.c \
- pmksa_cache.c \
- preauth.c \
- scan.c \
- sha1-pbkdf2.c \
- sha1.c \
- wpa.c \
- wpa_common.c \
- wpa_debug.c \
- wpa_ie.c \
- wpa_supplicant.c \
- wpabuf.c \
- wpas_glue.c
-SRCS+= driver_freebsd.c \
- l2_packet_freebsd.c \
- Packet32.c
+SRCS= aes-unwrap.c base64.c blacklist.c bss.c common.c config.c \
+ config_file.c ctrl_iface.c ctrl_iface_unix.c driver_bsd.c \
+ driver_common.c driver_ndis.c driver_wired.c drivers.c \
+ eap_register.c eloop.c events.c gas.c gas_query.c hs20.c \
+ hs20_supplicant.c http_client.c http_server.c httpread.c \
+ ieee802_11_common.c interworking.c l2_packet_freebsd.c main.c \
+ md5.c notify.c offchannel.c os_unix.c peerkey.c pmksa_cache.c \
+ preauth.c scan.c upnp_xml.c uuid.c wpa.c wpa_common.c wpa_debug.c \
+ wpa_ft.c wpa_ie.c wpa_supplicant.c wpabuf.c wpas_glue.c wps.c \
+ wps_attr_build.c wps_attr_parse.c wps_attr_process.c \
+ wps_common.c wps_dev_attr.c wps_enrollee.c wps_registrar.c \
+ wps_supplicant.c wps_upnp.c wps_upnp_ap.c wps_upnp_event.c \
+ wps_upnp_ssdp.c wps_upnp_web.c Packet32.c
MAN= wpa_supplicant.8 wpa_supplicant.conf.5
@@ -58,6 +36,15 @@ CFLAGS+=-DCONFIG_BACKEND_FILE \
-DCONFIG_PEERKEY \
-DCONFIG_SMARTCARD \
-DCONFIG_TERMINATE_ONLASTIF \
+ -DCONFIG_WPS \
+ -DCONFIG_WPS2 \
+ -DCONFIG_WPS_UPNP \
+ -DCONFIG_TLS=openssl \
+ -DCONFIG_IEEE80211R \
+ -DCONFIG_INTERWORKING \
+ -DCONFIG_PRIVSEP \
+ -DCONFIG_HS20 \
+ -DCONFIG_GAS \
-DPKCS12_FUNCS
#CFLAGS+= -g
DPADD+= ${LIBPCAP}
@@ -79,6 +66,9 @@ CFLAGS+=-DEAP_GTC \
-DEAP_PSK \
-DEAP_TLS \
-DEAP_TTLS \
+ -DEAP_GTC \
+ -DEAP_OTP \
+ -DEAP_LEAP \
-DIEEE8021X_EAPOL
SRCS+= chap.c \
eap.c \
@@ -103,7 +93,10 @@ TLS_FUNCS=y
NEED_AES_EAX=y
NEED_AES_ENCBLOCK=y
NEED_AES_OMAC1=y
-NEED_SHA256=y
+.endif
+
+.if !empty(CFLAGS:M-DCONFIG_WPS)
+NEED_AES_CBC=y
.endif
.if !empty(CFLAGS:M*-DEAP_AKA)
OpenPOWER on IntegriCloud