2004-01-31 08:15:57 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= asn1_compile
|
2004-12-21 08:47:35 +00:00
|
|
|
NO_MAN=
|
2004-01-31 08:15:57 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
SRCS= gen.c \
|
2004-01-31 08:15:57 +00:00
|
|
|
gen_copy.c \
|
|
|
|
gen_decode.c \
|
|
|
|
gen_encode.c \
|
|
|
|
gen_free.c \
|
2007-05-19 03:29:37 +00:00
|
|
|
gen_glue-fixed.c \
|
2004-01-31 08:15:57 +00:00
|
|
|
gen_length.c \
|
|
|
|
hash.c \
|
|
|
|
emalloc.c \
|
|
|
|
main.c \
|
|
|
|
symbol.c \
|
|
|
|
getarg.c \
|
|
|
|
warnerr.c \
|
|
|
|
lex.l \
|
|
|
|
parse.y \
|
|
|
|
print_version.c \
|
|
|
|
print_version.h \
|
2004-02-01 09:30:02 +00:00
|
|
|
roken.h \
|
2004-01-31 08:15:57 +00:00
|
|
|
get_window_size.c \
|
|
|
|
strupr.c
|
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
|
|
|
|
|
|
|
|
CLEANFILES= print_version.h roken.h
|
2004-01-31 08:15:57 +00:00
|
|
|
|
|
|
|
print_version.h: ../make-print-version/make-print-version
|
|
|
|
../make-print-version/make-print-version ${.TARGET}
|
|
|
|
|
2005-11-10 21:03:58 +00:00
|
|
|
../make-print-version/make-print-version: .PHONY
|
2004-01-31 08:15:57 +00:00
|
|
|
cd ${.CURDIR}/../make-print-version && ${MAKE}
|
|
|
|
|
2004-02-01 09:30:02 +00:00
|
|
|
roken.h: ../make-roken/make-roken
|
|
|
|
../make-roken/make-roken > ${.TARGET}
|
|
|
|
|
2005-11-10 21:03:58 +00:00
|
|
|
../make-roken/make-roken: .PHONY
|
2004-02-01 09:30:02 +00:00
|
|
|
cd ${.CURDIR}/../make-roken && ${MAKE}
|
|
|
|
|
2007-05-19 03:29:37 +00:00
|
|
|
gen_glue-fixed.c: gen_glue.c
|
|
|
|
sed -e '106s/"/"#ifdef __PARSE_UNITS_H__\\n/;'\
|
|
|
|
-e '106s/",/\\n#endif\\n",/' ${.ALLSRC} > ${.TARGET}
|
|
|
|
CLEANFILES+= gen_glue-fixed.c
|
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2004-02-05 18:49:35 +00:00
|
|
|
# There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers,
|
|
|
|
# so the order of paths is important here.
|
|
|
|
.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1
|