Makefile.gnuwrap revision 1.3
11.3Stv#	$NetBSD: Makefile.gnuwrap,v 1.3 2001/11/13 04:28:27 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.1Stv.MADE:		${.ALLTARGETS:M${srcdir}/*}
131.1Stv
141.1Stv# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
151.1Stv.po.gmo .l.c .y.c .y.h:
161.1Stv	@true
171.2Stv
181.2Stv# Make sure this file gets re-loaded recursively.
191.3Stv.ifndef _NOWRAPPER
201.2Stv_GNUWRAPPER:=	${.PARSEDIR}/${.PARSEFILE}
211.2StvMAKE:=		${MAKE} -f ${_GNUWRAPPER}
221.3Stv.endif
23