summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index 30a7e5f..f35283f 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -81,9 +81,11 @@ LDADD+=${WPA_SUPPLICANT_LDADD}
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
-CFLAGS+=-DEAP_LEAP \
+CFLAGS+=-DEAP_GTC \
+ -DEAP_LEAP \
-DEAP_MD5 \
-DEAP_MSCHAPv2 \
+ -DEAP_OTP \
-DEAP_PEAP \
-DEAP_PSK \
-DEAP_TLS \
@@ -96,10 +98,12 @@ SRCS+= chap.c \
crypto_openssl.c \
eap.c \
eap_common.c \
+ eap_gtc.c \
eap_leap.c \
eap_md5.c \
eap_methods.c \
eap_mschapv2.c \
+ eap_otp.c \
eap_peap.c \
eap_peap_common.c \
eap_psk.c \
@@ -112,14 +116,6 @@ SRCS+= chap.c \
mschapv2.c \
tls_openssl.c
-.if !empty(CFLAGS:M*-DEAP_GTC)
-SRCS+= eap_gtc.c
-.endif
-
-.if !empty(CFLAGS:M*-DEAP_OTP)
-SRCS+= eap_otp.c
-.endif
-
.if !empty(CFLAGS:M*-DEAP_AKA)
NEED_SIM_COMMON= true
SRCS+= eap_aka.c
OpenPOWER on IntegriCloud