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