1# $NetBSD: example.conf,v 1.9 2003/07/26 17:06:38 salo Exp $
2#
3# Makefile fragment for CD sets; includes config information.
4
5##############################################################################
6# The names of the individual CD images, without ".iso".
7# This also indicates the suffix of configuration variables later in this file
8# which are CD-image specific.
9
10CD_IMAGES=	cd1 cd2
11
12##############################################################################
13# The maximum size of an individual CD.
14
15#CD_SIZE=	700000
16
17##############################################################################
18# The NetBSD release being packaged on this CD set.  This also implies
19# inclusion of a config file for that release, named NetBSD-${CD_RELEASE}.mk.
20# That file defines the various per-port specifics for that release.
21
22CD_RELEASE=	1.6
23
24##############################################################################
25# The CD volume IDs for each CD-ROM image.  This will show up as the
26# "volume label" on most operating systems.  This is REQUIRED for each image.
27# Typically only 16 characters should be used for maximum OS compatibility.
28
29.for image in ${CD_IMAGES}
30VOLID.${image}=	NetBSD ${CD_RELEASE} CD ${image:S/^cd//}
31.endfor
32
33# The "abstract file" name.  If there is a file in the CD root describing
34# use of the CD or booting info, this may be useful to some OS's.
35
36#.for image in ${CD_IMAGES}
37#ABSTRACT.${image}=	booting.txt
38#.endfor
39
40# The "copyright file" name.  If there is a file in the CD root describing
41# the copyright of the contained files, this may be useful to some OS's.
42# This usually needs ADDFILES to go along with it.
43
44#.for image in ${CD_IMAGES}
45#COPYRIGHT.${image}=	copyrght.txt
46#ADDFILES.${image}+=	copyrght.txt:${.CURDIR}/extra/copyright.txt,link
47#.endfor
48
49# The "publisher name" field on the CD-ROM.  Room for 128 characters.
50
51PUBLISHER=		The NetBSD Foundation, Inc. / http://www.NetBSD.org/
52
53# The "preparer name" field on the CD-ROM.  Room for 128 characters.
54
55PREPARER=		NetBSD CD Build System
56
57##############################################################################
58# The ports for which the base OS binaries will be included.
59# MACHINE_ARCH shared distribution directories and the "ALL" shared
60# distribution directory are added automatically where needed.
61#
62# The following ports, if included, will be bootable on their respective
63# CD images:
64#
65#     alpha, cats, i386, macppc, pmax, sparc, sparc64, sun3, vax.
66#
67# Special notes on booting:
68#
69# * macppc and mac68k will cause the inclusion of HFS partition and
70#   filesystem info on the CD, with automatic MacBinary probing and encoding.
71#
72# * macppc cannot boot on the same disc as either pmax or vax.
73#   macppc uses the same locations in block 0 to store boot
74#   information as pmax and vax.
75#   This will cause a warning in the build, and macppc will override.
76#
77# * sparc64 cannot boot using default boot arguments on the same disc as
78#   the sun3x model of sun3.  These platforms use the same partitions
79#   in the Sun boot map by default.  This will cause a warning in the build,
80#   and sparc64 machines will have to boot with "boot cdrom:g" instead of
81#   "boot cdrom".
82
83BASE_PORTS.cd1=	i386 macppc sparc sparc64 source
84
85BASE_PORTS.cd2= alpha \
86		amiga atari hp300 mac68k mvme68k news68k next68k sun3 \
87		arc cobalt hpcmips pmax \
88		vax
89
90.for image in ${CD_IMAGES}
91#INTDIRS.${image}+=	packages
92BASE_PORTS.${image}+=	CHANGES CHANGES.prev LAST_MINUTE README.files
93.endfor
94
95##############################################################################
96# These provide additional functionality to some host OS's that may or may
97# not be desired in some cases.  Uncomment to enable, or comment out to
98# disable.
99
100# USE_ROCK_RIDGE adds -r to mkisofs to use full Un*x style pathnames and
101# permissions.  For most situations, this is needed.
102
103USE_ROCK_RIDGE=	yes
104
105# USE_LONG_NAMES adds -l to mkisofs to use full 32-character ISO-9660 names.
106# This allows some host OS's, particularly AmigaDOS, the ability to see long
107# filenames in most cases.
108
109USE_LONG_NAMES=	yes
110
111# USE_TRANS_TBL adds -T to mkisofs to provide long names through the use of
112# TRANS.TBL translation table files.  (These will automatically be hidden
113# from Joliet and HFS trees.)  Typically this is not used in conjunction
114# with USE_LONG_NAMES, but may be used if names still exceed 32 characters.
115
116#USE_TRANS_TBL=	yes
117
118# USE_JOLIET adds -J to mkisofs to provide Joliet long filename support for
119# Microsoft Windows OS's
120
121USE_JOLIET=	yes
122
123# USE_APPLE_ISO adds -apple to mkisofs to provide the Apple ISO-9660
124# Extensions.  This gives full MacOS attribute information to files without
125# the overhead of full HFS.  (A disc that is forced into HFS mode by the
126# presence of mac68k or macppc will use HFS, not the Apple ISO Extensions.)
127
128USE_APPLE_ISO=	yes
129
130# LOG_MKISOFS causes the mkisofs command to be logged in "extra verbose"
131# mode (-v -v) to the image filename with .log appended.
132
133#LOG_MKISOFS=	yes
134
135##############################################################################
136# "Easter egg" file.  If this option is present, the standard 32k end padding
137# is replaced by a message in this file (no more than 16k), padded to 32k
138# with null bytes.
139
140#EASTER_EGG=	${.CURDIR}/extra/egg.txt
141
142##############################################################################
143