Makefile (e4a9274404b7057f5b3c0a91b1c332eed328b7a3) Makefile (f5d5722e6de4287ad47f61c9c88ce395ab646388)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5WPA_SUPPLICANT_DISTDIR?= ${.CURDIR}/../../../contrib/wpa_supplicant
6.PATH: ${.CURDIR}/.. ${WPA_SUPPLICANT_DISTDIR}
7
8PROG= wpa_supplicant
9SRCS= config.c eloop.c common.c md5.c rc4.c sha1.c aes_wrap.c \
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5WPA_SUPPLICANT_DISTDIR?= ${.CURDIR}/../../../contrib/wpa_supplicant
6.PATH: ${.CURDIR}/.. ${WPA_SUPPLICANT_DISTDIR}
7
8PROG= wpa_supplicant
9SRCS= config.c eloop.c common.c md5.c rc4.c sha1.c aes_wrap.c \
10 wpa_supplicant.c events.c wpa.c preauth.c \
11 ctrl_iface.c l2_packet.c main.c drivers.c driver_freebsd.c \
12 driver_ndis.c driver_ndis_.c Packet32.c
10 wpa_supplicant.c events.c wpa.c preauth.c pmksa_cache.c \
11 ctrl_iface.c ctrl_iface_unix.c l2_packet.c main.c drivers.c \
12 driver_ndis.c Packet32.c \
13 driver_freebsd.c os_unix.c
13
14
15
14MAN= wpa_supplicant.8 wpa_supplicant.conf.5
15
16CFLAGS+= -I${.CURDIR} -I${WPA_SUPPLICANT_DISTDIR}
17CFLAGS+= -DCONFIG_DRIVER_BSD
18CFLAGS+= -DCONFIG_DRIVER_NDIS
19CFLAGS+= -DCONFIG_CTRL_IFACE
16MAN= wpa_supplicant.8 wpa_supplicant.conf.5
17
18CFLAGS+= -I${.CURDIR} -I${WPA_SUPPLICANT_DISTDIR}
19CFLAGS+= -DCONFIG_DRIVER_BSD
20CFLAGS+= -DCONFIG_DRIVER_NDIS
21CFLAGS+= -DCONFIG_CTRL_IFACE
22CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
23CFLAGS+= -DCONFIG_TERMINATE_ONLASTIF
20CFLAGS+= -g
21DPADD+= ${LIBPCAP}
22LDADD+= -lpcap
23
24# NB: we only support wpa_supplicant.conf file
25SRCS+= config_file.c base64.c
26CFLAGS+=-DCONFIG_BACKEND_FILE
27
28.if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
24CFLAGS+= -g
25DPADD+= ${LIBPCAP}
26LDADD+= -lpcap
27
28# NB: we only support wpa_supplicant.conf file
29SRCS+= config_file.c base64.c
30CFLAGS+=-DCONFIG_BACKEND_FILE
31
32.if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
29SRCS+= eapol_sm.c eap.c
33SRCS+= eapol_sm.c eap.c eap_methods.c
30CFLAGS+= -DIEEE8021X_EAPOL
31
32.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
33CFLAGS+=-DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK \
34 -DEAP_TLV -DEAP_TLS_FUNCS
35SRCS+= eap_tls.c eap_peap.c eap_mschapv2.c eap_leap.c \
36 eap_psk.c eap_psk_common.c \
37 eap_tlv.c eap_tls_common.c tls_openssl.c ms_funcs.c crypto.c

--- 17 unchanged lines hidden ---
34CFLAGS+= -DIEEE8021X_EAPOL
35
36.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
37CFLAGS+=-DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_LEAP -DEAP_PSK \
38 -DEAP_TLV -DEAP_TLS_FUNCS
39SRCS+= eap_tls.c eap_peap.c eap_mschapv2.c eap_leap.c \
40 eap_psk.c eap_psk_common.c \
41 eap_tlv.c eap_tls_common.c tls_openssl.c ms_funcs.c crypto.c

--- 17 unchanged lines hidden ---