Makefile.gnuwrap revision 1.8
11.8Sjmc#	$NetBSD: Makefile.gnuwrap,v 1.8 2001/11/22 08:20:07 jmc Exp $
21.1Stv#
31.1Stv# Wrapper for GNU Makefiles.
41.1Stv
51.6Stv.ifndef _WRAPPER_INCLUDED
61.6Stv_WRAPPER_INCLUDED=1
71.7Stv
81.3Stv.ifndef _NOWRAPPER
91.1Stv.include "${.CURDIR}/Makefile"
101.3Stv.endif
111.1Stv
121.1Stv# Prevent targets in source directories from being rebuilt.
131.1Stv
141.1Stv_srcdir:=	${srcdir}
151.4Stv.MADE:		${.ALLTARGETS:M${_srcdir}/*} Makefile
161.1Stv
171.1Stv# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
181.7Stv.po.gmo .l.c .y.c .y.h .x.1:
191.8Sjmc	@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.6Stv.endif
261.3Stv.endif
27