1 # $NetBSD: Makefile,v 1.6 2010/02/03 12:58:53 tsutsui Exp $ 2 3 HOSTPROGNAME= ${_TOOL_PREFIX}compile_et 4 HOST_SRCDIR= usr.bin/compile_et 5 HOST_SRCS= getarg.c print_version.c warnerr.c strupr.c get_window_size.c 6 HOST_CPPFLAGS= -I${DIST}/heimdal/lib/roken 7 8 make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h 9 make-print-version: make-print-version.lo 10 ${_MKTARGET_LINK} 11 ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} 12 13 DPSRCS= print_version.h 14 print_version.h: make-print-version 15 ${_MKTARGET_CREATE} 16 ./make-print-version print_version.h 17 18 .include "${.CURDIR}/../Makefile.host" 19 20 .PATH: ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers 21 CLEANFILES+= print_version.h make-print-version make-print-version.lo 22