Home | History | Annotate | Line # | Download | only in wpa_passphrase
Makefile revision 1.2.4.1.6.1
      1  1.2.4.1.6.1       snj # $NetBSD: Makefile,v 1.2.4.1.6.1 2017/08/12 05:43:59 snj 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.2.4.1       snj 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.2.4.1.6.1       snj CPPFLAGS+= -DCONFIG_CRYPTO_INTERNAL
     22          1.1  christos SRCS+=	tls_none.c md5-internal.c sha1-internal.c
     23  1.2.4.1.6.1       snj SRCS+= sha1-pbkdf2.c sha1.c md5.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