Makefile.gnuwrap revision 1.7
1# $NetBSD: Makefile.gnuwrap,v 1.7 2001/11/14 20:05:23 tv Exp $ 2# 3# Wrapper for GNU Makefiles. 4 5.ifndef _WRAPPER_INCLUDED 6_WRAPPER_INCLUDED=1 7 8.ifndef _NOWRAPPER 9.include "${.CURDIR}/Makefile" 10.endif 11 12# Prevent targets in source directories from being rebuilt. 13 14_srcdir:= ${srcdir} 15.MADE: ${.ALLTARGETS:M${_srcdir}/*} Makefile 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 .x.1: 19 20# Make sure this file gets re-loaded recursively. 21.ifndef _NOWRAPPER 22_GNUWRAPPER:= ${.PARSEDIR}/${.PARSEFILE} 23MAKE:= ${MAKE} -f ${_GNUWRAPPER} 24.endif 25.endif 26