]> git.saurik.com Git - apple/boot.git/blob - i386/cdboot/Makefile
boot-111.tar.gz
[apple/boot.git] / i386 / cdboot / Makefile
1
2 DIR = cdboot
3 include ../MakePaths.dir
4
5 NASM = $(SYMROOT)/nasm
6 INSTALLDIR = $(DSTROOT)/usr/standalone/i386
7 DIRS_NEEDED = $(SYMROOT)
8
9 all: $(DIRS_NEEDED) cdboot
10
11 cdboot: cdboot.s $(SYMROOT)/boot Makefile $(NASM)
12 $(NASM) cdboot.s -o $(SYMROOT)/cdboot
13 dd if=$(SYMROOT)/boot of=$(SYMROOT)/cdboot conv=sync bs=2k seek=1
14
15 biostest: biostest.asm Makefile $(NASM)
16 $(NASM) biostest.asm -o $(SYMROOT)/$@
17
18 install_i386:: all $(INSTALLDIR)
19 cp $(SYMROOT)/cdboot $(INSTALLDIR)
20 cd $(INSTALLDIR); chmod u+w cdboot
21
22 include ../MakeInc.dir
23
24 #dependencies
25