30 CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
32 CLEANFILES= print_version.h roken.h
34 print_version.h: ../make-print-version/make-print-version
35 ../make-print-version/make-print-version ${.TARGET}
37 ../make-print-version/make-print-version: .PHONY
38 cd ${.CURDIR}/../make-print-version && ${MAKE}
40 roken.h: ../make-roken/make-roken
41 ../make-roken/make-roken > ${.TARGET}
43 ../make-roken/make-roken: .PHONY
44 cd ${.CURDIR}/../make-roken && ${MAKE}
46 gen_glue-fixed.c: gen_glue.c
47 sed -e '96s/"/"#ifdef __PARSE_UNITS_H__\\n/;'\
48 -e '96s/",/\\n#endif\\n",/' ${.ALLSRC} > ${.TARGET}
49 CLEANFILES+= gen_glue-fixed.c
51 .include <bsd.prog.mk>
53 # There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers,
54 # so the order of paths is important here.
55 .PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1