3 include ../MakePaths.dir
5 INSTALLDIR = $(DSTROOT)/usr/standalone/i386
6 DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
10 VERSIONED_FILES = boot1h boot1f
12 VERS = `vers_string -f 5.0 | tr - .`
13 NEW_VERS = Darwin boot1h v$(VERS)
14 ifneq "" "$(wildcard /bin/mkdirs)"
17 MKDIRS = /bin/mkdir -p
20 all: $(DIRS_NEEDED) $(VERSIONED_FILES)
22 boot1h: boot1.s Makefile
23 $(NASM) -dBOOTDEV=HDISK -dVERS="'$(NEW_VERS)'" boot1.s -o $(SYMROOT)/$@
25 boot1f: boot1.s Makefile
26 $(NASM) -dBOOTDEV=FLOPPY -dVERS="'$(NEW_VERS)'" boot1.s -o $(SYMROOT)/$@
28 install_i386:: all $(INSTALLDIR)
29 cp $(SYMROOT)/boot1h $(INSTALLDIR)/
30 cp $(SYMROOT)/boot1f $(INSTALLDIR)/
31 cd $(INSTALLDIR); chmod u+w $(VERSIONED_FILES)
33 include ../MakeInc.dir