1 1.3 christos # $NetBSD: Makefile,v 1.3 2015/04/01 19:45:14 christos Exp $ 2 1.1 christos 3 1.1 christos .include "${.CURDIR}/../Makefile.inc" 4 1.1 christos 5 1.1 christos .PATH.c: ${WPA_SUPPLICANT_DISTDIR} ${.CURDIR}/../wpa_supplicant 6 1.1 christos 7 1.1 christos PROG= wpa_passphrase 8 1.1 christos SRCS= \ 9 1.3 christos common.c \ 10 1.1 christos os_unix.c \ 11 1.1 christos wpa_debug.c \ 12 1.1 christos wpa_passphrase.c \ 13 1.1 christos wpabuf.c 14 1.1 christos 15 1.1 christos .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) 16 1.1 christos SRCS+= crypto_openssl.c 17 1.1 christos DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBDES} 18 1.1 christos LDADD+= -lssl -lcrypto -ldes 19 1.1 christos .else 20 1.1 christos CPPFLAGS+= -DINTERNAL_AES -DINTERNAL_MD5 -DINTERNAL_SHA1 21 1.1 christos SRCS+= tls_none.c md5-internal.c sha1-internal.c 22 1.1 christos .endif 23 1.1 christos 24 1.1 christos 25 1.1 christos MAN= wpa_passphrase.8 26 1.1 christos 27 1.1 christos .include <bsd.prog.mk> 28