4 CFLAGS+=-I${KRB5DIR}/include \
6 -I${KRB5DIR}/lib/krb5 \
8 -I${KRB5DIR}/lib/asn1 \
9 -I${KRB5DIR}/lib/roken \
39 .PATH: ${KRB5DIR}/lib/hdb
40 .PATH: ${KRB5DIR}/lib/asn1
41 .PATH: ${KRB5DIR}/lib/vers
42 .PATH: ${KRB5DIR}/lib/roken
44 build-tools: make-print-version asn1_compile
48 cmp -s ${.OODATE} ${.TARGET} 2> /dev/null || cp ${.OODATE} ${.TARGET}
51 CLEANFILES+= ${GEN:S/.x/.c/g} hdb_asn1.h asn1_files
53 ${GEN} hdb_asn1.h: asn1_compile hdb.asn1
54 ./asn1_compile ${KRB5DIR}/lib/hdb/hdb.asn1 hdb_asn1
56 asn1_compile: parse.o lex.o main.c hash.c symbol.c gen.c \
57 gen_encode.c gen_decode.c gen_free.c gen_length.c \
58 gen_copy.c gen_glue.c getarg.c warnerr.c print_version.o \
59 get_window_size.c strupr.c
60 ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET}
64 parse.h parse.c: parse.y
71 print_version.o: print_version.h print_version.c
72 ${CC} ${CFLAGS} -c -o ${.TARGET} ${KRB5DIR}/lib/vers/print_version.c
74 print_version.h: make-print-version
75 ./make-print-version print_version.h
77 make-print-version: make-print-version.c
78 ${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
80 CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
81 hdb_asn1.h make-print-version print_version.h print_version.o \