Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2011/04/13 19:16:48 elric Exp $ 2 3USE_FORT?= yes # network protocol library 4 5.include <bsd.own.mk> 6.include <${.CURDIR}/../../Makefile.inc> 7 8.PATH: ${HEIMDIST}/lib/asn1 ${HEIMBASE}/include 9 10LIB= asn1 11 12LIBDPLIBS+= com_err ${.CURDIR}/../libcom_err 13 14HEIMSRCS = \ 15 asn1_err.et \ 16 krb5.asn1 \ 17 cms.asn1 \ 18 rfc2459.asn1 \ 19 pkinit.asn1 \ 20 pkcs12.asn1 \ 21 pkcs8.asn1 \ 22 pkcs9.asn1 \ 23 digest.asn1 \ 24 kx509.asn1 25 26ASN1_OPTS.rfc2459.asn1 = \ 27 --one-code-file \ 28 --preserve-binary=TBSCertificate \ 29 --preserve-binary=TBSCRLCertList \ 30 --preserve-binary=Name \ 31 --sequence=GeneralNames \ 32 --sequence=Extensions \ 33 --sequence=CRLDistributionPoints 34 35INCSDIR= /usr/include/krb5 36 37INCS= asn1-common.h \ 38 heim_asn1.h \ 39 der.h \ 40 der-protos.h \ 41 ${COMPILE_ET_INCS} \ 42 ${ASN1_INCS} 43 44SRCS= \ 45 der.c \ 46 der_get.c \ 47 der_put.c \ 48 der_free.c \ 49 der_length.c \ 50 der_copy.c \ 51 der_cmp.c \ 52 der_format.c \ 53 extra.c \ 54 timegm.c 55 56.if ${USETOOLS} != "yes" 57# .PHONY: ${ASN1COMPILEOBJ}/asn1_compile 58.PHONY: try_to_build_asn1_compile 59 60try_to_build_asn1_compile: 61 @cd ${.CURDIR}/asn1_compile && ${MAKE} 62 63${ASN1COMPILEOBJ}/asn1_compile: try_to_build_asn1_compile 64 65SUBDIR= asn1_compile 66.endif 67 68.include <${HEIMBASE}/Makefile.rules.inc> 69.include <bsd.lib.mk> 70.if ${USETOOLS} != "yes" 71.include <bsd.subdir.mk> 72.endif 73