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