Expand PMF_FN_* macros.
[netbsd-mini2440.git] / distrib / common / Makefile.distrib
blob280ae8416ab5646f8b16b6ba9623952d146424f7
1 #       $NetBSD: Makefile.distrib,v 1.6 2004/02/02 18:43:39 he Exp $
3 # Makefile snippet to setup various make variables variables used in distrib/:
5 # Variables defined:
6 #       DISTRIBDIR      Top level of distrib
7 #       DISTRIBREV      NetBSD version without dots, as in "15ZD"
8 #       DISTRIBVER      NetBSD version with dots, as in "1.5ZD"
9 #       DISTRIBVERDEP   Files to depend on for version/revision vars above
11 # Commands defined:
12 #       MAKESUMS        runs sets/makesums with the appropriate environment
13 #       RELEASE_INSTALL installs release binaries
17 .if !defined(_MAKEFILE_DISTRIB_)
18 _MAKEFILE_DISTRIB_=1
20 .include <bsd.sys.mk>           # for HOST_SH
22 DISTRIBDIR=     ${NETBSDSRCDIR}/distrib
23 DISTRIBREV!=    ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
24 DISTRIBVER!=    ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
25 DISTRIBVERDEP=  ${NETBSDSRCDIR}/sys/sys/param.h \
26                 ${NETBSDSRCDIR}/sys/conf/osrelease.sh
28 MAKESUMS=       MAKE=${MAKE:Q} CKSUM=${TOOL_CKSUM:Q} ${HOST_SH} ${DISTRIBDIR}/sets/makesums
29 RELEASE_INSTALL=${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
32 .endif  # _MAKEFILE_DISTRIB_