3 include ../MakePaths.dir
5 INSTALLDIR = $(DSTROOT)/usr/standalone/i386
6 DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
10 NASM = $(SYMROOT)/nasm
12 VERSIONED_FILES = boot1f
14 VERS = `vers_string -f 5.0 | tr - .`
15 NEW_VERS = Rhapsody boot1 v$(VERS)
16 ifneq "" "$(wildcard /bin/mkdirs)"
19 MKDIRS = /bin/mkdir -p
22 all: $(DIRS_NEEDED) $(VERSIONED_FILES)
24 boot1f: boot1.s Makefile
25 $(NASM) -dBOOTDEV=FLOPPY -dVERS="'$(NEW_VERS)'" boot1.s -o $(SYMROOT)/$@
27 install_i386:: all $(INSTALLDIR)
28 cp $(SYMROOT)/boot1f $(INSTALLDIR)/
29 cd $(INSTALLDIR); chmod u+w $(FOREIGNNEXT)
31 include ../MakeInc.dir