Makefile.gnuwrap revision 1.4
11.4Stv#	$NetBSD: Makefile.gnuwrap,v 1.4 2001/11/13 04:37:00 tv Exp $
21.1Stv#
31.1Stv# Wrapper for GNU Makefiles.
41.1Stv
51.3Stv.ifndef _NOWRAPPER
61.1Stv.include "${.CURDIR}/Makefile"
71.3Stv.endif
81.1Stv
91.1Stv# Prevent targets in source directories from being rebuilt.
101.1Stv
111.1Stv_srcdir:=	${srcdir}
121.4Stv.MADE:		${.ALLTARGETS:M${_srcdir}/*} Makefile
131.4Stv
141.4Stv.BEGIN:
151.4Stv	@echo hi
161.1Stv
171.1Stv# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
181.1Stv.po.gmo .l.c .y.c .y.h:
191.1Stv	@true
201.2Stv
211.2Stv# Make sure this file gets re-loaded recursively.
221.3Stv.ifndef _NOWRAPPER
231.2Stv_GNUWRAPPER:=	${.PARSEDIR}/${.PARSEFILE}
241.2StvMAKE:=		${MAKE} -f ${_GNUWRAPPER}
251.3Stv.endif
26