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