2002-02-02 09:17:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 2002/02/02 06:17:56 tv 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>
|
|
|
|
|
2000-06-17 02:46:43 +04:00
|
|
|
DIST= ${.CURDIR}/../../../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
|
|
|
|
2000-12-30 20:21:44 +03:00
|
|
|
LIBROKEN!= cd ${.CURDIR}/../../libroken && ${PRINTOBJDIR}
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
HOST_CPPFLAGS+= -I. \
|
|
|
|
-I${.CURDIR}/../../../include/heimdal \
|
|
|
|
-I${LIBROKEN} \
|
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
DPSRCS= print_version.h
|
2000-08-03 18:01:31 +04:00
|
|
|
|
|
|
|
make-print-version.lo: ${.CURDIR}/../../../include/heimdal/version.h
|
|
|
|
|
|
|
|
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>
|