Merge from vendor branch HEIMDAL:
[dragonfly.git] / kerberos5 / tools / asn1_compile / Makefile
1 # $FreeBSD: src/kerberos5/tools/asn1_compile/Makefile,v 1.5 2004/12/21 08:47:01 ru Exp $
2 # $DragonFly: src/kerberos5/tools/asn1_compile/Makefile,v 1.1 2005/01/16 14:25:47 eirikn Exp $
3
4 PROG=   asn1_compile
5 NOMAN=
6
7 NOINCS=
8
9 SRCS=   gen.c \
10         gen_copy.c \
11         gen_decode.c \
12         gen_encode.c \
13         gen_free.c \
14         gen_glue.c \
15         gen_length.c \
16         hash.c \
17         emalloc.c \
18         main.c \
19         symbol.c \
20         getarg.c \
21         warnerr.c \
22         lex.l \
23         parse.y \
24         print_version.c \
25         print_version.h \
26         roken.h \
27         get_window_size.c \
28         strupr.c
29
30 CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
31
32 CLEANFILES= print_version.h roken.h
33
34 print_version.h:
35         ${MAKEPRINTVERSION} ${.TARGET}
36
37 roken.h:
38         ${MAKEROKEN} > ${.TARGET}
39
40 .include <bsd.prog.mk>
41
42 # There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers,
43 # so the order of paths is important here.
44 .PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1