4 CFLAGS+=-I${KRB5DIR}/include \
6 -I${KRB5DIR}/lib/krb5 \
8 -I${KRB5DIR}/lib/asn1 \
9 -I${KRB5DIR}/lib/roken \
41 .PATH: ${KRB5DIR}/lib/hdb
42 .PATH: ${KRB5DIR}/lib/asn1
43 .PATH: ${KRB5DIR}/lib/vers
44 .PATH: ${KRB5DIR}/lib/roken
46 build-tools: make-print-version asn1_compile
50 cmp -s ${.OODATE} ${.TARGET} 2> /dev/null || cp ${.OODATE} ${.TARGET}
53 CLEANFILES+= ${GEN:S/.x/.c/g} hdb_asn1.h asn1_files
55 ${GEN} hdb_asn1.h: asn1_compile hdb.asn1
56 ./asn1_compile ${KRB5DIR}/lib/hdb/hdb.asn1 hdb_asn1
58 asn1_compile: parse.o lex.o main.c hash.c symbol.c emalloc.c gen.c \
59 gen_encode.c gen_decode.c gen_free.c gen_length.c \
60 gen_copy.c gen_glue.c getarg.c warnerr.c print_version.o \
61 get_window_size.c strupr.c
62 ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET}
66 parse.h parse.c: parse.y
73 print_version.o: print_version.h print_version.c
74 ${CC} ${CFLAGS} -c -o ${.TARGET} ${KRB5DIR}/lib/vers/print_version.c
76 print_version.h: make-print-version
77 ./make-print-version print_version.h
79 make-print-version: make-print-version.c
80 ${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
82 CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
83 hdb_asn1.h make-print-version print_version.h print_version.o \