1 1.1 christos # $NetBSD: Makefile,v 1.1 2010/08/04 17:12:34 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.1 christos md5.c \ 10 1.1 christos os_unix.c \ 11 1.1 christos sha1-pbkdf2.c \ 12 1.1 christos sha1.c \ 13 1.1 christos wpa_debug.c \ 14 1.1 christos wpa_passphrase.c \ 15 1.1 christos wpabuf.c 16 1.1 christos 17 1.1 christos .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) 18 1.1 christos SRCS+= crypto_openssl.c 19 1.1 christos DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBDES} 20 1.1 christos LDADD+= -lssl -lcrypto -ldes 21 1.1 christos .else 22 1.1 christos CPPFLAGS+= -DINTERNAL_AES -DINTERNAL_MD5 -DINTERNAL_SHA1 23 1.1 christos SRCS+= tls_none.c md5-internal.c sha1-internal.c 24 1.1 christos .endif 25 1.1 christos 26 1.1 christos 27 1.1 christos MAN= wpa_passphrase.8 28 1.1 christos 29 1.1 christos .include <bsd.prog.mk> 30