Makefile.gnuwrap revision 1.4
1#	$NetBSD: Makefile.gnuwrap,v 1.4 2001/11/13 04:37:00 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.BEGIN:
15	@echo hi
16
17# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
18.po.gmo .l.c .y.c .y.h:
19	@true
20
21# Make sure this file gets re-loaded recursively.
22.ifndef _NOWRAPPER
23_GNUWRAPPER:=	${.PARSEDIR}/${.PARSEFILE}
24MAKE:=		${MAKE} -f ${_GNUWRAPPER}
25.endif
26