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