Home | History | Annotate | Line # | Download | only in compile_et
Makefile revision 1.5
      1 #	$NetBSD: Makefile,v 1.5 2003/11/16 14:14:18 lukem 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 # uncommon library functions
      9 .PATH: ${.CURDIR}/../../lib/libc/string
     10 HOST_SRCS+=	strlcpy.c strlcat.c
     11 
     12 make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h
     13 make-print-version: make-print-version.lo
     14 	${_MKTARGET_LINK}
     15 	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
     16 
     17 DPSRCS=	print_version.h
     18 print_version.h: make-print-version
     19 	${_MKTARGET_CREATE}
     20 	./make-print-version print_version.h
     21 
     22 .include "${.CURDIR}/../Makefile.host"
     23 
     24 .PATH: ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
     25 CLEANFILES+=	print_version.h make-print-version make-print-version.lo
     26