Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libasn1 / asn1_compile / Makefile
blobc7f1a15fd2a5ae887af50b1183d0781988d0e059
1 # $NetBSD: Makefile,v 1.23 2008/04/13 21:26:59 mlelstv Exp $
3 NOLINT= # defined
4 NOMAN= # defined
6 .include <bsd.own.mk>
8 DIST= ${NETBSDSRCDIR}/crypto/dist
9 .PATH: ${DIST}/heimdal/lib/asn1 ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
11 PROG= asn1_compile
13 .if ${USETOOLS} != "yes"
14 LDADD+= -lutil
15 DPADD+= ${LIBUTIL}
16 .endif
18 WARNS?= 1
20 asn1_compile_SRCS = \
21 gen.c \
22 gen_copy.c \
23 gen_decode.c \
24 gen_encode.c \
25 gen_free.c \
26 gen_glue.c \
27 gen_length.c \
28 gen_seq.c \
29 hash.c \
30 lex.l \
31 main.c \
32 parse.y \
33 symbol.c
35 roken_SRCS = \
36 getarg.c \
37 print_version.c \
38 warnerr.c \
39 strupr.c \
40 get_window_size.c
42 SRCS= $(asn1_compile_SRCS) \
43 $(roken_SRCS)
45 YHEADER= # defined
47 #LIBROKEN!= cd ${NETBSDSRCDIR}/lib/libroken && ${PRINTOBJDIR}
48 # -I${LIBROKEN} \
50 HOST_CPPFLAGS+= -I. \
51 -I${NETBSDSRCDIR}/include/heimdal \
52 -I${DIST}/heimdal/lib/asn1 \
53 -I${DIST}/heimdal/lib/roken \
54 -DKRB5=1 \
55 -DHAVE_CONFIG_H
57 .if (${USE_INET6} != "no")
58 HOST_CPPFLAGS+=-DHAVE_IPV6
59 .endif
61 DPSRCS= print_version.h
63 make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h
65 make-print-version: make-print-version.lo
66 ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
68 print_version.h: make-print-version
69 ./make-print-version print_version.h
71 .NOPATH: print_version.h make-print-version
73 CLEANFILES+= print_version.h make-print-version make-print-version.lo
75 # HOSTPROG will be set already if this is a src/tools build.
76 .ifndef HOSTPROG
77 HOSTPROG= ${PROG}
78 .include <bsd.hostprog.mk>
79 .endif