1# $NetBSD: 4.0.1.conf,v 1.1 2009/03/25 15:57:17 tsutsui Exp $
2#
3# Makefile fragment for CD sets; includes config information.
4
5##############################################################################
6# The NetBSD release being packaged on this CD set.  This also implies
7# inclusion of a config file for that release, named NetBSD-${CD_RELEASE}.mk.
8# That file defines the various per-port specifics for that release.
9
10CD_RELEASE=	4.0.1
11
12##############################################################################
13# The NetBSD release to be used in the .iso image filenames.  Defaults to
14# ${CD_RELEASE} but can be overridden in the environment.
15
16ISO_RELEASE?=	${CD_RELEASE}
17
18##############################################################################
19# The names of the individual CD images, without ".iso".
20# This also indicates the suffix of configuration variables later in this file
21# which are CD-image specific.
22
23CD_IMAGES=
24.if defined(TARGET_CD_IMAGE)
25.for targetcd in ${TARGET_CD_IMAGE}
26CD_IMAGES+=	${targetcd}-${ISO_RELEASE}
27.endfor
28.else
29#CD_IMAGES+=	multi-cd1-${ISO_RELEASE}
30#CD_IMAGES+=	multi-cd2-${ISO_RELEASE}
31#CD_IMAGES+=	multi-cd3-${ISO_RELEASE}
32#CD_IMAGES+=	acorn26cd-${ISO_RELEASE}
33#CD_IMAGES+=	acorn32cd-${ISO_RELEASE}
34#CD_IMAGES+=	algorcd-${ISO_RELEASE}
35#CD_IMAGES+=	alphacd-${ISO_RELEASE}
36#CD_IMAGES+=	amd64cd-${ISO_RELEASE}
37#CD_IMAGES+=	amigacd-${ISO_RELEASE}
38#CD_IMAGES+=	arccd-${ISO_RELEASE} 
39#CD_IMAGES+=	ataricd-${ISO_RELEASE}
40#CD_IMAGES+=	catscd-${ISO_RELEASE}
41#CD_IMAGES+=	cesficcd-${ISO_RELEASE}
42#CD_IMAGES+=	cobaltcd-${ISO_RELEASE}
43#CD_IMAGES+=	dreamcastcd-${ISO_RELEASE}
44#CD_IMAGES+=	evbarmcd-${ISO_RELEASE} 
45#CD_IMAGES+=	evbmips-mipsebcd-${ISO_RELEASE}
46#CD_IMAGES+=	evbmips-mipselcd-${ISO_RELEASE}
47#CD_IMAGES+=	evbppccd-${ISO_RELEASE}
48#CD_IMAGES+=	evbsh3-sh3ebcd-${ISO_RELEASE} 
49#CD_IMAGES+=	evbsh3-sh3elcd-${ISO_RELEASE}
50#CD_IMAGES+=	evbsh5-sh5elcd-${ISO_RELEASE}
51#CD_IMAGES+=	hp300cd-${ISO_RELEASE}
52#CD_IMAGES+=	hp700cd-${ISO_RELEASE}
53#CD_IMAGES+=	hpcarmcd-${ISO_RELEASE}
54#CD_IMAGES+=	hpcmipscd-${ISO_RELEASE}
55#CD_IMAGES+=	hpcshcd-${ISO_RELEASE}
56#CD_IMAGES+=	i386cd-${ISO_RELEASE}
57#CD_IMAGES+=	ibmnwscd-${ISO_RELEASE}
58#CD_IMAGES+=	iyonix-${ISO_RELEASE}
59#CD_IMAGES+=	luna68kcd-${ISO_RELEASE}
60CD_IMAGES+=	mac68kcd-${ISO_RELEASE}
61CD_IMAGES+=	macppccd-${ISO_RELEASE}
62#CD_IMAGES+=	mipscocd-${ISO_RELEASE}
63#CD_IMAGES+=	mmeyecd-${ISO_RELEASE} 
64#CD_IMAGES+=	mvmeppccd-${ISO_RELEASE}
65#CD_IMAGES+=	mvme68kcd-${ISO_RELEASE}
66#CD_IMAGES+=	netwindercd-${ISO_RELEASE}
67#CD_IMAGES+=	news68kcd-${ISO_RELEASE}
68#CD_IMAGES+=	newsmipscd-${ISO_RELEASE}
69#CD_IMAGES+=	next68kcd-${ISO_RELEASE} 
70#CD_IMAGES+=	ofppccd-${ISO_RELEASE}
71#CD_IMAGES+=	pmaxcd-${ISO_RELEASE}
72#CD_IMAGES+=	pmppccd-${ISO_RELEASE}
73#CD_IMAGES+=	prepcd-${ISO_RELEASE}
74#CD_IMAGES+=	sandpointcd-${ISO_RELEASE}
75#CD_IMAGES+=	sbmips-mipsebcd-${ISO_RELEASE} 
76#CD_IMAGES+=	sbmips-mipselcd-${ISO_RELEASE}
77#CD_IMAGES+=	sgimipscd-${ISO_RELEASE}
78#CD_IMAGES+=	sharkcd-${ISO_RELEASE}
79#CD_IMAGES+=	sourcecd-${ISO_RELEASE}
80#CD_IMAGES+=	sparccd-${ISO_RELEASE}
81#CD_IMAGES+=	sparc64cd-${ISO_RELEASE} 
82#CD_IMAGES+=	sun2cd-${ISO_RELEASE}
83#CD_IMAGES+=	sun3cd-${ISO_RELEASE}
84#CD_IMAGES+=	vaxcd-${ISO_RELEASE}
85#CD_IMAGES+=	x68kcd-${ISO_RELEASE}
86.endif
87
88##############################################################################
89# The maximum size of an individual CD.
90
91CD_SIZE=	700000
92
93##############################################################################
94# The CD volume IDs for each CD-ROM image.  This will show up as the
95# "volume label" on most operating systems.  This is REQUIRED for each image.
96# Typically only 16 characters should be used for maximum OS compatibility.
97
98.for image in ${CD_IMAGES}
99VOLID.${image}=	NetBSD ${CD_RELEASE} ${image:S/-${ISO_RELEASE}$//}
100.endfor
101
102# The "abstract file" name.  If there is a file in the CD root describing
103# use of the CD or booting info, this may be useful to some OS's.
104
105#.for image in ${CD_IMAGES}
106#ABSTRACT.${image}=	booting.txt
107#.endfor
108
109# The "copyright file" name.  If there is a file in the CD root describing
110# the copyright of the contained files, this may be useful to some OS's.
111# This usually needs ADDFILES to go along with it.
112
113#.for image in ${CD_IMAGES}
114#COPYRIGHT.${image}=	copyrght.txt
115#ADDFILES.${image}+=	copyrght.txt:${.CURDIR}/extra/copyright.txt,link
116#.endfor
117
118# The "publisher name" field on the CD-ROM.  Room for 128 characters.
119
120PUBLISHER=		The NetBSD Foundation, Inc. / http://www.NetBSD.org/
121
122# The "preparer name" field on the CD-ROM.  Room for 128 characters.
123
124PREPARER=		NetBSD CD Build System
125
126##############################################################################
127# The ports for which the base OS binaries will be included.
128# MACHINE_ARCH shared distribution directories and the "ALL" shared
129# distribution directory are added automatically where needed.
130#
131# The following ports, if included, will be bootable on their respective
132# CD images:
133#
134#     alpha, amd64, cats, i386, macppc, pmax, sgimips, sparc, sparc64, sun3, vax.
135#
136# Special notes on booting:
137#
138# * macppc and mac68k will cause the inclusion of HFS partition and
139#   filesystem info on the CD, with automatic MacBinary probing and encoding.
140#
141# * macppc cannot boot on the same disc as either pmax or vax.
142#   macppc uses the same locations in block 0 to store boot
143#   information as pmax and vax.
144#   This will cause a warning in the build, and macppc will override.
145#
146# * sparc64 cannot boot using default boot arguments on the same disc as
147#   the sun3x model of sun3.  These platforms use the same partitions
148#   in the Sun boot map by default.  This will cause a warning in the build,
149#   and sparc64 machines will have to boot with "boot cdrom:g" instead of
150#   "boot cdrom".
151#
152# * sgimips must be on a disc on its own
153#
154
155BASE_PORTS.multi-cd1-${ISO_RELEASE}= amd64 sparc sparc64 macppc
156
157BASE_PORTS.multi-cd2-${ISO_RELEASE} = alpha \
158		amiga atari mac68k next68k sun3
159
160BASE_PORTS.multi-cd3-${ISO_RELEASE}= i386 \
161		cobalt hpcmips pmax # vax
162
163BASE_PORTS.acorn26cd-${ISO_RELEASE}=acorn26
164BASE_PORTS.acorn32cd-${ISO_RELEASE}=acorn32
165BASE_PORTS.algorcd-${ISO_RELEASE}=algor
166BASE_PORTS.alphacd-${ISO_RELEASE}=alpha
167BASE_PORTS.amd64cd-${ISO_RELEASE}=amd64
168BASE_PORTS.amigacd-${ISO_RELEASE}=amiga
169BASE_PORTS.arccd-${ISO_RELEASE}=arc
170BASE_PORTS.ataricd-${ISO_RELEASE}=atari
171BASE_PORTS.catscd-${ISO_RELEASE}=cats
172BASE_PORTS.cesficcd-${ISO_RELEASE}=cesfic
173BASE_PORTS.cobaltcd-${ISO_RELEASE}=cobalt
174BASE_PORTS.dreamcastcd-${ISO_RELEASE}=dreamcast
175BASE_PORTS.evbarmcd-${ISO_RELEASE}=evbarm
176BASE_PORTS.evbmips-mipsebcd-${ISO_RELEASE}=evbmips-mipseb
177BASE_PORTS.evbmips-mipselcd-${ISO_RELEASE}=evbmips-mipsel
178BASE_PORTS.evbsh3-sh3ebcd-${ISO_RELEASE}=evbsh3-sh3eb
179BASE_PORTS.evbsh3-sh3elcd-${ISO_RELEASE}=evbsh3-sh3el
180BASE_PORTS.evbsh5-sh5elcd-${ISO_RELEASE}=evbsh5-sh5el
181BASE_PORTS.hp300cd-${ISO_RELEASE}=hp300
182BASE_PORTS.hpcarmcd-${ISO_RELEASE}=hpcarm
183BASE_PORTS.hpcmipscd-${ISO_RELEASE}=hpcmips
184BASE_PORTS.hpcshcd-${ISO_RELEASE}=hpcsh
185BASE_PORTS.i386cd-${ISO_RELEASE}=i386
186BASE_PORTS.iyonixcd-${ISO_RELEASE}=iyonix
187BASE_PORTS.ibmnwscd-${ISO_RELEASE}=ibmnws
188BASE_PORTS.luna68kcd-${ISO_RELEASE}=luna68k
189BASE_PORTS.mac68kcd-${ISO_RELEASE}=mac68k
190BASE_PORTS.macppccd-${ISO_RELEASE}=macppc
191BASE_PORTS.mipscocd-${ISO_RELEASE}=mipsco
192BASE_PORTS.mmeyecd-${ISO_RELEASE}=mmeye
193BASE_PORTS.mvme68kcd-${ISO_RELEASE}=mvme68k
194BASE_PORTS.mvmeppccd-${ISO_RELEASE}=mvmeppc
195BASE_PORTS.netwindercd-${ISO_RELEASE}=netwinder
196BASE_PORTS.news68kcd-${ISO_RELEASE}=news68k
197BASE_PORTS.newsmipscd-${ISO_RELEASE}=newsmips
198BASE_PORTS.next68kcd-${ISO_RELEASE}=next68k
199BASE_PORTS.ofppccd-${ISO_RELEASE}=ofppc
200BASE_PORTS.pmaxcd-${ISO_RELEASE}=pmax
201BASE_PORTS.pmppccd-${ISO_RELEASE}=pmppc
202BASE_PORTS.prepcd-${ISO_RELEASE}=prep
203BASE_PORTS.sandpointcd-${ISO_RELEASE}=sandpoint
204BASE_PORTS.sbmips-mipsebcd-${ISO_RELEASE}=sbmips-mipseb
205BASE_PORTS.sbmips-mipselcd-${ISO_RELEASE}=sbmips-mipsel
206BASE_PORTS.sgimipscd-${ISO_RELEASE}=sgimips
207BASE_PORTS.sharkcd-${ISO_RELEASE}=shark
208BASE_PORTS.sourcecd-${ISO_RELEASE}=source
209BASE_PORTS.sparccd-${ISO_RELEASE}=sparc
210BASE_PORTS.sparc64cd-${ISO_RELEASE}=sparc64
211BASE_PORTS.sun2cd-${ISO_RELEASE}=sun2
212BASE_PORTS.sun3cd-${ISO_RELEASE}=sun3
213BASE_PORTS.vaxcd-${ISO_RELEASE}=vax
214BASE_PORTS.x68kcd-${ISO_RELEASE}=x68k
215
216.for image in ${CD_IMAGES}
217#INTDIRS.${image}+=	packages
218# The following doc files are in ftp dir but not in RELEASEDIR on build.sh      
219#BASE_PORTS.${image}+=	CHANGES CHANGES-4.0 CHANGES-4.0.1
220#BASE_PORTS.${image}+=	CHANGES.prev README.files
221.endfor
222
223##############################################################################
224# These provide additional functionality to some host OS's that may or may
225# not be desired in some cases.  Uncomment to enable, or comment out to
226# disable.
227
228# USE_ROCK_RIDGE adds -r to mkisofs to use full Un*x style pathnames and
229# permissions.  For most situations, this is needed.
230
231USE_ROCK_RIDGE=	yes
232
233# USE_LONG_NAMES adds -l to mkisofs to use full 32-character ISO-9660 names.
234# This allows some host OS's, particularly AmigaDOS, the ability to see long
235# filenames in most cases.
236
237USE_LONG_NAMES=	yes
238
239# USE_TRANS_TBL adds -T to mkisofs to provide long names through the use of
240# TRANS.TBL translation table files.  (These will automatically be hidden
241# from Joliet and HFS trees.)  Typically this is not used in conjunction
242# with USE_LONG_NAMES, but may be used if names still exceed 32 characters.
243
244#USE_TRANS_TBL=	yes
245
246# USE_JOLIET adds -J to mkisofs to provide Joliet long filename support for
247# Microsoft Windows OS's
248
249USE_JOLIET=	yes
250
251# USE_APPLE_ISO adds -apple to mkisofs to provide the Apple ISO-9660
252# Extensions.  This gives full MacOS attribute information to files without
253# the overhead of full HFS.  (A disc that is forced into HFS mode by the
254# presence of mac68k or macppc will use HFS, not the Apple ISO Extensions.)
255
256USE_APPLE_ISO=	yes
257
258# LOG_MKISOFS causes the mkisofs command to be logged in "extra verbose"
259# mode (-v -v) to the image filename with .log appended.
260
261#LOG_MKISOFS=	yes
262
263##############################################################################
264# "Easter egg" file.  If this option is present, the standard 32k end padding
265# is replaced by a message in this file (no more than 16k), padded to 32k
266# with null bytes.
267
268#EASTER_EGG=	${.CURDIR}/extra/egg.txt
269
270##############################################################################
271