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