Makefile.inc revision 1.3
1# $NetBSD: Makefile.inc,v 1.3 2002/02/26 13:25:03 lukem Exp $ 2 3.include "../Makefile.inc" 4 5# Top level of distrib 6# 7DISTRIBDIR= ${_SRC_TOP_}/distrib 8 9# DISTRIBREV is revision without dots, as in "12C" 10# DISTRIBVER is revision with dots, as in "1.2C" 11# 12DISTRIBREV!= sh ${KERNSRCDIR}/conf/osrelease.sh -s 13DISTRIBVER!= sh ${KERNSRCDIR}/conf/osrelease.sh 14 15# Helper targets 16.if !target(check_DESTDIR) 17check_DESTDIR: .PHONY 18.if !defined(DESTDIR) 19 @echo "setenv DESTDIR before doing that!" 20 @false 21.else 22 @true 23.endif 24.endif 25 26.if !target(check_RELEASEDIR) 27check_RELEASEDIR: .PHONY 28.if !defined(RELEASEDIR) 29 @echo "setenv RELEASEDIR before doing that!" 30 @false 31.else 32 @true 33.endif 34.endif 35