Home | History | Annotate | Line # | Download | only in wpa_passphrase
Makefile revision 1.4.16.1
      1  1.4.16.1  christos # $NetBSD: Makefile,v 1.4.16.1 2019/06/10 21:51:51 christos Exp $
      2       1.1  christos 
      3       1.1  christos .include "${.CURDIR}/../Makefile.inc"
      4       1.1  christos 
      5  1.4.16.1  christos .PATH.c: ${WPA_SUPPLICANT_DISTDIR} ${.CURDIR}/../wpa_supplicant ${COMMON_PATH}
      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.4  christos CPPFLAGS+= -DCONFIG_CRYPTO_INTERNAL
     22       1.1  christos SRCS+=	tls_none.c md5-internal.c sha1-internal.c
     23       1.4  christos 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