Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libvers / Makefile
blob88172407e6dd45ef0b8922aea6779fd85700c542
1 # $NetBSD: Makefile,v 1.7 2008/05/02 11:27:08 lukem Exp $
3 NOLINKLIB= # defined
4 NOPIC= # defined
5 NOPROFILE= # defined
7 .include <bsd.own.mk>
9 DIST= ${NETBSDSRCDIR}/crypto/dist
10 .PATH: ${DIST}/heimdal/lib/vers
12 LIB= vers
14 includes: print_version.h
16 SRCS= print_version.c
17 DPSRCS= print_version.h
19 CPPFLAGS+= -I. \
20 -I${NETBSDSRCDIR}/include/heimdal \
21 -I${DIST}/heimdal/lib/roken \
22 -DHAVE_CONFIG_H
24 HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H
26 .if (${USE_INET6} != "no")
27 CPPFLAGS+=-DHAVE_IPV6
28 HOST_CPPFLAGS+=-DHAVE_IPV6
29 .endif
31 make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h
33 make-print-version: make-print-version.lo
34 ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
36 print_version.h: make-print-version
37 ${_MKTARGET_CREATE}
38 ./make-print-version print_version.h
40 print_version.o print_version.ln: print_version.h
42 CLEANFILES+= print_version.h make-print-version make-print-version.lo
44 .include <bsd.lib.mk>