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