1# $FreeBSD$ 2 3PROG= asn1_compile 4NO_MAN= 5 6SRCS= gen.c \ 7 gen_copy.c \ 8 gen_decode.c \ 9 gen_encode.c \ 10 gen_free.c \ 11 gen_glue.c \ 12 gen_length.c \ 13 hash.c \ 14 emalloc.c \ 15 main.c \ 16 symbol.c \ 17 getarg.c \ 18 warnerr.c \ 19 lex.l \ 20 parse.y \ 21 print_version.c \ 22 print_version.h \ 23 roken.h \ 24 get_window_size.c \ 25 strupr.c 26 27CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I. 28 29CLEANFILES= print_version.h roken.h 30 31print_version.h: ../make-print-version/make-print-version 32 ../make-print-version/make-print-version ${.TARGET} 33 34../make-print-version/make-print-version: .PHONY 35 cd ${.CURDIR}/../make-print-version && ${MAKE} 36 37roken.h: ../make-roken/make-roken 38 ../make-roken/make-roken > ${.TARGET} 39 40../make-roken/make-roken: .PHONY 41 cd ${.CURDIR}/../make-roken && ${MAKE} 42 43.include <bsd.prog.mk> 44 45# There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers, 46# so the order of paths is important here. 47.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1 48