2000-01-15 21:38:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
LIB= asn1
|
2004-02-05 18:51:52 +00:00
|
|
|
INCS= asn1_err.h krb5_asn1.h
|
2003-07-18 13:21:58 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
SRCS= asn1_err.c \
|
|
|
|
asn1_err.h \
|
|
|
|
der_copy.c \
|
|
|
|
der_free.c \
|
|
|
|
der_get.c \
|
|
|
|
der_length.c \
|
|
|
|
der_put.c \
|
|
|
|
krb5_asn1.h \
|
|
|
|
timegm.c \
|
2004-01-31 08:15:57 +00:00
|
|
|
${GEN:S/.x$/.c/}
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
|
2003-07-18 13:21:58 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
GEN= asn1_APOptions.x \
|
|
|
|
asn1_AP_REP.x \
|
|
|
|
asn1_AP_REQ.x \
|
|
|
|
asn1_AS_REP.x \
|
|
|
|
asn1_AS_REQ.x \
|
|
|
|
asn1_Authenticator.x \
|
|
|
|
asn1_AuthorizationData.x \
|
|
|
|
asn1_CKSUMTYPE.x \
|
|
|
|
asn1_Checksum.x \
|
2005-02-24 22:24:24 +00:00
|
|
|
asn1_ChangePasswdDataMS.x \
|
2004-02-05 18:51:52 +00:00
|
|
|
asn1_ENCTYPE.x \
|
|
|
|
asn1_ETYPE_INFO.x \
|
|
|
|
asn1_ETYPE_INFO_ENTRY.x \
|
|
|
|
asn1_EncAPRepPart.x \
|
|
|
|
asn1_EncASRepPart.x \
|
|
|
|
asn1_EncKDCRepPart.x \
|
|
|
|
asn1_EncKrbCredPart.x \
|
|
|
|
asn1_EncKrbPrivPart.x \
|
|
|
|
asn1_EncTGSRepPart.x \
|
|
|
|
asn1_EncTicketPart.x \
|
|
|
|
asn1_EncryptedData.x \
|
|
|
|
asn1_EncryptionKey.x \
|
|
|
|
asn1_HostAddress.x \
|
|
|
|
asn1_HostAddresses.x \
|
|
|
|
asn1_KDCOptions.x \
|
|
|
|
asn1_KDC_REP.x \
|
|
|
|
asn1_KDC_REQ.x \
|
|
|
|
asn1_KDC_REQ_BODY.x \
|
|
|
|
asn1_KRB_CRED.x \
|
|
|
|
asn1_KRB_ERROR.x \
|
|
|
|
asn1_KRB_PRIV.x \
|
|
|
|
asn1_KRB_SAFE.x \
|
|
|
|
asn1_KRB_SAFE_BODY.x \
|
|
|
|
asn1_KerberosTime.x \
|
|
|
|
asn1_KrbCredInfo.x \
|
|
|
|
asn1_LR_TYPE.x \
|
|
|
|
asn1_LastReq.x \
|
|
|
|
asn1_MESSAGE_TYPE.x \
|
|
|
|
asn1_METHOD_DATA.x \
|
|
|
|
asn1_NAME_TYPE.x \
|
|
|
|
asn1_PADATA_TYPE.x \
|
|
|
|
asn1_PA_DATA.x \
|
|
|
|
asn1_PA_ENC_TS_ENC.x \
|
|
|
|
asn1_Principal.x \
|
|
|
|
asn1_PrincipalName.x \
|
|
|
|
asn1_Realm.x \
|
|
|
|
asn1_TGS_REP.x \
|
|
|
|
asn1_TGS_REQ.x \
|
|
|
|
asn1_Ticket.x \
|
|
|
|
asn1_TicketFlags.x \
|
|
|
|
asn1_TransitedEncoding.x \
|
2001-02-13 16:57:04 +00:00
|
|
|
asn1_UNSIGNED.x
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
CLEANFILES= ${GEN} ${GEN:S/.x$/.c/} krb5_asn1.h asn1_files
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.ORDER: ${GEN} krb5_asn1.h
|
|
|
|
${GEN} krb5_asn1.h: k5.asn1 ../../tools/asn1_compile/asn1_compile
|
|
|
|
../../tools/asn1_compile/asn1_compile ${.ALLSRC:M*.asn1} krb5_asn1
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
../../tools/asn1_compile/asn1_compile:
|
|
|
|
cd ${.CURDIR}/../../tools/asn1_compile && ${MAKE}
|
2000-01-15 21:38:08 +00:00
|
|
|
|
|
|
|
.for I in ${GEN}
|
2004-01-31 08:15:57 +00:00
|
|
|
${I:R}.c: ${I}
|
|
|
|
cat ${.ALLSRC} > ${.TARGET}
|
2000-01-15 21:38:08 +00:00
|
|
|
.endfor
|
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.include <bsd.lib.mk>
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
.PATH: ${KRB5DIR}/lib/asn1
|