Sync usage with man page.
[netbsd-mini2440.git] / lib / libcom_err / compile_et / Makefile
blob8e017dae6b121fb63bdbcd831dbe5c16941a9ab6
1 # $NetBSD: Makefile,v 1.16 2005/01/10 03:11:17 lukem Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 DIST= ${NETBSDSRCDIR}/crypto/dist
9 .PATH: ${DIST}/heimdal/lib/com_err ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
11 HOSTPROG= compile_et
13 SRCS+= compile_et.c parse.y lex.l \
14 getarg.c print_version.c warnerr.c strupr.c get_window_size.c
16 YHEADER= # defined
18 BINDIR= /usr/bin
20 LIBROKEN!= cd ${NETBSDSRCDIR}/lib/libroken && ${PRINTOBJDIR}
22 HOST_CPPFLAGS+= -I. \
23 -I${NETBSDSRCDIR}/include/heimdal \
24 -I${LIBROKEN} \
25 -I${DIST}/heimdal/lib/com_err \
26 -I${DIST}/heimdal/lib/roken \
27 -DKRB5=1 \
28 -DHAVE_CONFIG_H
30 .if (${USE_INET6} != "no")
31 HOST_CPPFLAGS+=-DHAVE_IPV6
32 .endif
34 DPSRCS= print_version.h
36 make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h
38 make-print-version: make-print-version.lo
39 ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
41 print_version.h: make-print-version
42 ./make-print-version print_version.h
44 CLEANFILES+= print_version.h make-print-version make-print-version.lo
46 .include <bsd.hostprog.mk>