| @@ -1,25 +1,29 @@ | | | @@ -1,25 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.12 2009/12/12 01:32:10 mrg Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2009/12/13 01:02:25 mrg Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | | | 4 | |
5 | .if ${MKX11} != "no" | | 5 | .if ${MKX11} != "no" |
6 | . if ${X11FLAVOUR} == "Xorg" | | 6 | . if ${X11FLAVOUR} == "Xorg" |
7 | EXTRA_DIST_FILES= ${.CURDIR}/NetBSD.dist.Xorg | | 7 | EXTRA_DIST_FILES= ${.CURDIR}/NetBSD.dist.Xorg |
8 | . else | | 8 | . else |
9 | EXTRA_DIST_FILES= ${.CURDIR}/NetBSD.dist.XFree86 | | 9 | EXTRA_DIST_FILES= ${.CURDIR}/NetBSD.dist.XFree86 |
10 | . endif | | 10 | . endif |
11 | .endif | | 11 | .endif |
12 | | | 12 | |
| | | 13 | .if exists(NetBSD.dist.${MACHINE_ARCH}) |
| | | 14 | EXTRA_DIST_FILES+= ${.CURDIR}/NetBSD.dist.${MACHINE_ARCH} |
| | | 15 | .endif |
| | | 16 | |
13 | .if ${MKEXTSRC} != "no" | | 17 | .if ${MKEXTSRC} != "no" |
14 | EXTRA_DIST_FILES+= ${.CURDIR}/NetBSD.dist.extsrc | | 18 | EXTRA_DIST_FILES+= ${.CURDIR}/NetBSD.dist.extsrc |
15 | .endif | | 19 | .endif |
16 | | | 20 | |
17 | NetBSD.dist: NetBSD.dist.base ${EXTRA_DIST_FILES} | | 21 | NetBSD.dist: NetBSD.dist.base ${EXTRA_DIST_FILES} |
18 | ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} > \ | | 22 | ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} > \ |
19 | ${.TARGET} | | 23 | ${.TARGET} |
20 | | | 24 | |
21 | CONFIGFILES= NetBSD.dist special | | 25 | CONFIGFILES= NetBSD.dist special |
22 | FILESDIR= /etc/mtree | | 26 | FILESDIR= /etc/mtree |
23 | | | 27 | |
24 | # distrib-dirs -- | | 28 | # distrib-dirs -- |
25 | # Populate $DESTDIR with directories needed by NetBSD | | 29 | # Populate $DESTDIR with directories needed by NetBSD |