mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 23:28:57 +00:00
33f1219925
all non-style changes made by heimdal to our own libgssapi.
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PROG= asn1_compile
|
|
NO_MAN=
|
|
|
|
SRCS= gen.c \
|
|
gen_copy.c \
|
|
gen_decode.c \
|
|
gen_encode.c \
|
|
gen_free.c \
|
|
gen_glue-fixed.c \
|
|
gen_length.c \
|
|
gen_seq.c \
|
|
hash.c \
|
|
ecalloc.c \
|
|
emalloc.c \
|
|
estrdup.c \
|
|
main.c \
|
|
symbol.c \
|
|
getarg.c \
|
|
warnerr.c \
|
|
lex.l \
|
|
parse.y \
|
|
print_version.c \
|
|
print_version.h \
|
|
roken.h \
|
|
get_window_size.c \
|
|
strupr.c
|
|
|
|
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
|
|
|
|
CLEANFILES= print_version.h roken.h
|
|
|
|
print_version.h: ../make-print-version/make-print-version
|
|
../make-print-version/make-print-version ${.TARGET}
|
|
|
|
../make-print-version/make-print-version: .PHONY
|
|
cd ${.CURDIR}/../make-print-version && ${MAKE}
|
|
|
|
roken.h: ../make-roken/make-roken
|
|
../make-roken/make-roken > ${.TARGET}
|
|
|
|
../make-roken/make-roken: .PHONY
|
|
cd ${.CURDIR}/../make-roken && ${MAKE}
|
|
|
|
gen_glue-fixed.c: gen_glue.c
|
|
sed -e '96s/"/"#ifdef __PARSE_UNITS_H__\\n/;'\
|
|
-e '96s/",/\\n#endif\\n",/' ${.ALLSRC} > ${.TARGET}
|
|
CLEANFILES+= gen_glue-fixed.c
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# 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
|