Drop main() prototype. Syncs with NetBSD-8
[minix.git] / distrib / common / Makefile.distrib
blobb4d8a0e3b822dc3627e7bdd62c9fe71927da24a0
1 #       $NetBSD: Makefile.distrib,v 1.11 2014/01/22 00:52:56 christos 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 "59924"
8 #       DISTRIBVER      NetBSD version with dots, as in "5.99.24"
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.own.mk>
22 DISTRIBDIR=     ${NETBSDSRCDIR}/distrib
23 DISTRIBREV!=    ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
24 DISTRIBVER!=    ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
25 MODULEVER!=     ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k
26 DISTRIBVERDEP=  ${NETBSDSRCDIR}/sys/sys/param.h \
27                 ${NETBSDSRCDIR}/sys/conf/osrelease.sh
29 MAKESUMS=       MAKE=${MAKE:Q} CKSUM=${TOOL_CKSUM:Q} ${HOST_SH} ${DISTRIBDIR}/sets/makesums
30 RELEASE_INSTALL=${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
32 .endif  # _MAKEFILE_DISTRIB_