2005-01-10 06:11:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.16 2005/01/10 03:11:17 lukem Exp $
|
2000-12-30 20:21:44 +03:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
NOMAN= # defined
|
2000-12-30 20:21:44 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-12-30 06:00:51 +03:00
|
|
|
|
2001-09-17 16:34:40 +04:00
|
|
|
.PATH: ${DIST}/heimdal/lib/com_err ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
HOSTPROG= compile_et
|
|
|
|
|
2000-12-30 06:00:51 +03:00
|
|
|
SRCS+= compile_et.c parse.y lex.l \
|
2000-12-26 02:53:25 +03:00
|
|
|
getarg.c print_version.c warnerr.c strupr.c get_window_size.c
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
YHEADER= # defined
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
BINDIR= /usr/bin
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2002-08-19 17:35:05 +04:00
|
|
|
LIBROKEN!= cd ${NETBSDSRCDIR}/lib/libroken && ${PRINTOBJDIR}
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
HOST_CPPFLAGS+= -I. \
|
2002-08-19 13:41:27 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-16 23:27:31 +04:00
|
|
|
-I${LIBROKEN} \
|
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
2002-09-13 22:30:43 +04:00
|
|
|
-DKRB4=1 -DKRB5=1 \
|
2000-06-16 23:27:31 +04:00
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
HOST_CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
DPSRCS= print_version.h
|
2000-08-03 18:01:31 +04:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h
|
2000-08-03 18:01:31 +04:00
|
|
|
|
|
|
|
make-print-version: make-print-version.lo
|
2000-08-05 10:57:21 +04:00
|
|
|
${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
|
2000-08-03 18:01:31 +04:00
|
|
|
|
|
|
|
print_version.h: make-print-version
|
|
|
|
./make-print-version print_version.h
|
|
|
|
|
|
|
|
CLEANFILES+= print_version.h make-print-version make-print-version.lo
|
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.hostprog.mk>
|