Home | History | Annotate | Line # | Download | only in libhx509
Makefile revision 1.7
      1  1.7  christos # $NetBSD: Makefile,v 1.7 2021/06/20 10:38:54 christos Exp $
      2  1.1     elric 
      3  1.1     elric NOLINT=		# defined
      4  1.1     elric 
      5  1.1     elric .include <bsd.own.mk>
      6  1.1     elric .include <${.CURDIR}/../../Makefile.inc>
      7  1.1     elric 
      8  1.1     elric .PATH:		${HEIMDIST}/lib/hx509 ${HEIMBASE}/include
      9  1.1     elric 
     10  1.1     elric LIB=		hx509
     11  1.1     elric 
     12  1.6  christos SSLBASE=	${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}
     13  1.1     elric 
     14  1.1     elric LIBDPLIBS+=	asn1	${HEIMBASE}/lib/libasn1		\
     15  1.1     elric 		com_err	${HEIMBASE}/lib/libcom_err	\
     16  1.1     elric 		crypt	${NETBSDSRCDIR}/lib/libcrypt	\
     17  1.1     elric 		crypto	${SSLBASE}/lib/libcrypto	\
     18  1.1     elric 		roken	${HEIMBASE}/lib/libroken	\
     19  1.1     elric 		wind	${HEIMBASE}/lib/libwind
     20  1.1     elric 
     21  1.1     elric YHEADER=1
     22  1.7  christos YPREFIX=  _hx509_sel_yy
     23  1.7  christos LPREFIX=  _hx509_sel_yy
     24  1.1     elric 
     25  1.1     elric INCSDIR=	/usr/include/krb5 
     26  1.1     elric INCS+=		hx509.h hx509-protos.h ${ASN1_INCS} ${COMPILE_ET_INCS}
     27  1.1     elric 
     28  1.1     elric HEIMSRCS = hx509_err.et ocsp.asn1 pkcs10.asn1
     29  1.1     elric 
     30  1.1     elric SRCS=				\
     31  1.1     elric 	ca.c			\
     32  1.1     elric 	cert.c			\
     33  1.1     elric 	cms.c			\
     34  1.1     elric 	collector.c		\
     35  1.1     elric 	crypto.c		\
     36  1.5  christos 	crypto-ec.c		\
     37  1.1     elric 	doxygen.c		\
     38  1.1     elric 	env.c			\
     39  1.1     elric 	error.c			\
     40  1.1     elric 	file.c			\
     41  1.1     elric 	keyset.c		\
     42  1.1     elric 	ks_dir.c		\
     43  1.1     elric 	ks_file.c		\
     44  1.1     elric 	ks_keychain.c		\
     45  1.1     elric 	ks_mem.c		\
     46  1.1     elric 	ks_null.c		\
     47  1.1     elric 	ks_p11.c		\
     48  1.1     elric 	ks_p12.c		\
     49  1.1     elric 	lock.c			\
     50  1.1     elric 	name.c			\
     51  1.1     elric 	peer.c			\
     52  1.1     elric 	print.c			\
     53  1.1     elric 	req.c			\
     54  1.1     elric 	revoke.c		\
     55  1.1     elric 	sel.c			\
     56  1.1     elric 	sel-gram.y		\
     57  1.1     elric 	sel-lex.l		\
     58  1.1     elric 	softp11.c		\
     59  1.1     elric 	${BUILT_SOURCES}
     60  1.1     elric 
     61  1.2        he 
     62  1.1     elric CPPFLAGS+=				\
     63  1.1     elric 	-I${HEIMDIST}/lib/hx509/ref	\
     64  1.1     elric 	-I${HEIMDIST}/lib/asn1
     65  1.1     elric 
     66  1.1     elric sel-gram.c: ${ASN1_INCS} ${COMPILE_ET_INCS}
     67  1.1     elric 
     68  1.1     elric ASN1_FILES.ocsp.asn1 =			\
     69  1.1     elric 	asn1_OCSPBasicOCSPResponse.x    \
     70  1.1     elric 	asn1_OCSPCertID.x               \
     71  1.1     elric 	asn1_OCSPCertStatus.x           \
     72  1.1     elric 	asn1_OCSPInnerRequest.x         \
     73  1.1     elric 	asn1_OCSPKeyHash.x              \
     74  1.1     elric 	asn1_OCSPRequest.x              \
     75  1.1     elric 	asn1_OCSPResponderID.x          \
     76  1.1     elric 	asn1_OCSPResponse.x             \
     77  1.1     elric 	asn1_OCSPResponseBytes.x        \
     78  1.1     elric 	asn1_OCSPResponseData.x         \
     79  1.1     elric 	asn1_OCSPResponseStatus.x       \
     80  1.1     elric 	asn1_OCSPSignature.x            \
     81  1.1     elric 	asn1_OCSPSingleResponse.x       \
     82  1.1     elric 	asn1_OCSPTBSRequest.x           \
     83  1.1     elric 	asn1_OCSPVersion.x              \
     84  1.1     elric 	asn1_id_pkix_ocsp.x             \
     85  1.1     elric 	asn1_id_pkix_ocsp_basic.x       \
     86  1.1     elric 	asn1_id_pkix_ocsp_nonce.x
     87  1.1     elric 
     88  1.1     elric .include <${HEIMBASE}/Makefile.rules.inc>
     89  1.1     elric .include <bsd.lib.mk>
     90