2 # Copyright (c) 2019 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 # Permission is hereby granted, free of charge, to any person obtaining a copy
5 # of this software and associated documentation files (the "Software"), to deal
6 # in the Software without restriction, including without limitation the rights
7 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 # copies of the Software, and to permit persons to whom the Software is
9 # furnished to do so, subject to the following conditions:
11 # The above copyright notice and this permission notice shall be included in
12 # all copies or substantial portions of the Software.
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 SUBDIRS
=lib cp nss loader
33 cd build
&& cmake .
&& $(MAKE
)
36 cd build
&& make
clean || true
48 build-installer
: build-os
50 ${.CURDIR
}/build
/mkarchive \
51 ${.CURDIR
}/cp
/config
/hvf.directory text
80 \
52 ${.CURDIR
}/cp
/config
/system.config text
80 \
53 ${.CURDIR
}/cp
/config
/local-3215.txt text
80 \
54 ${.CURDIR
}/cp
/hvf bin \
55 ${.CURDIR
}/loader
/eckd-ipl-rec
/eckd.raw bin \
56 ${.CURDIR
}/loader
/loader
/loader.raw bin \
57 ${.CURDIR
}/doc
/installed_files.txt text
80 \
58 ${.CURDIR
}/nss
/8ball
/8ball bin \
59 ${.CURDIR
}/nss
/ipldev
/ipldev bin \
60 ${.CURDIR
}/nss
/login
/login bin \
61 > ${.CURDIR
}/installer.cpio
62 ${.CURDIR
}/build
/padcat \
63 ${.CURDIR
}/installer
/rdr-ipl-rec
/rdr.raw \
64 ${.CURDIR
}/installer
/installer
/installer.raw \
65 ${.CURDIR
}/installer.cpio \
66 > ${.CURDIR
}/installer.bin
69 $(MAKE
) -C installer
clean
70 rm -f installer.cpio installer.bin