1# $FreeBSD$ 2 3PROG= asn1_compile 4MAN= 5LIBROKEN_A= ${.OBJDIR:H:H}/lib/libroken/libroken.a 6LIBADD= vers 7LDADD= ${LIBROKEN_A} 8DPADD= ${LIBROKEN_A} 9MK_PIE:= no 10 11SRCS= \ 12 asn1parse.y \ 13 gen.c \ 14 gen_copy.c \ 15 gen_decode.c \ 16 gen_encode.c \ 17 gen_free.c \ 18 gen_glue.c \ 19 gen_length.c \ 20 gen_seq.c \ 21 gen_template.c \ 22 hash.c \ 23 lex.l \ 24 main.c \ 25 roken.h \ 26 symbol.c 27 28CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I. 29 30CLEANFILES= roken.h lex.c parse.c 31 32roken.h: 33 make-roken > ${.TARGET} 34 35.include <bsd.prog.mk> 36 37.PATH: ${KRB5DIR}/lib/asn1 38