Makefile.gnuwrap revision 1.5
1#	$NetBSD: Makefile.gnuwrap,v 1.5 2001/11/13 04:38:13 tv Exp $
2#
3# Wrapper for GNU Makefiles.
4
5.ifndef _NOWRAPPER
6.include "${.CURDIR}/Makefile"
7.endif
8
9# Prevent targets in source directories from being rebuilt.
10
11_srcdir:=	${srcdir}
12.MADE:		${.ALLTARGETS:M${_srcdir}/*} Makefile
13
14# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
15.po.gmo .l.c .y.c .y.h:
16	@true
17
18# Make sure this file gets re-loaded recursively.
19.ifndef _NOWRAPPER
20_GNUWRAPPER:=	${.PARSEDIR}/${.PARSEFILE}
21MAKE:=		${MAKE} -f ${_GNUWRAPPER}
22.endif
23