]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - kerberos5/tools/asn1_compile/Makefile
Add WITH_PIE knob to build Position Independent Executables
[FreeBSD/FreeBSD.git] / kerberos5 / tools / asn1_compile / Makefile
1 # $FreeBSD$
2
3 PROG=   asn1_compile
4 MAN=
5 LIBROKEN_A=     ${.OBJDIR:H:H}/lib/libroken/libroken.a
6 LIBADD= vers
7 LDADD=  ${LIBROKEN_A}
8 DPADD=  ${LIBROKEN_A}
9 MK_PIE:=        no
10
11 SRCS=   \
12         asn1parse.y \
13         gen.c \
14         gen_copy.c \
15         gen_decode.c \
16         gen_encode.c \
17         gen_free.c \
18         gen_glue.c \
19         gen_length.c \
20         gen_seq.c \
21         gen_template.c \
22         hash.c \
23         lex.l \
24         main.c \
25         roken.h \
26         symbol.c
27
28 CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
29
30 CLEANFILES= roken.h lex.c parse.c
31
32 roken.h:
33          make-roken > ${.TARGET}
34
35 .include <bsd.prog.mk>
36
37 .PATH: ${KRB5DIR}/lib/asn1