84 lines · 1.5 KB · Makefile
RawDownload
objtype=386</$objtype/mkfileBIN=/386 TARG=iplpxe ipliso iplfat iplmbr iplpbs HFILES=mem.h fns.h x16.h all:V:	$TARG clean:V:	rm -rf $TARG *.$O test.* tmp liso.$O: l.s	$AS -DISO -o $target l.s lpxe.$O: l.s	$AS -DPXE -o $target l.s lfat.$O: l.s	$AS -DFAT -o $target l.s %.$O:	%.s	$AS $stem.s %.$O:	%.c	$CC $CFLAGS $stem.c %.$O:	$HFILES iplmbr:	iplmbr.$O	$LD -o $target -H3 -T0x0600 -l $prereq iplpbs:	iplpbs.$O	$LD -o $target -H3 -T0x0800 -l $prereq ipl&:	l%.$O %.$O sub.$O e820.$O a20.$O  edd.$O eddif.$O	$LD -o $target -H3 -T0x7c00 -l $prereq install:V:	for (i in $TARG)		mk $MKFLAGS $i.install %.install:V:	$BIN/% $BIN/%:	%	cp $stem $BIN/$stem test.iso: ipliso	rm -fr tmp $target	mkdir tmp	mkdir tmp/386	mkdir tmp/cfg	cp ipliso tmp/386	cp /386/9pcf tmp/386	cp /sys/lib/dist/cfg/plan9.ini tmp/cfg/plan9.ini	echo wait >>tmp/cfg/plan9.ini	disk/mk9660 -B 386/ipliso -p /sys/lib/sysconfig/proto/allproto -s tmp $target	rm -fr tmp test.dsk: iplfat mbr pbs test.iso	rm -fr tmp $target	mkdir tmp	cp test.iso iplfat tmp	mkdir tmp/386	cp /386/9pcf tmp/386	echo 'bootfile=/386/9pcf' >tmp/plan9.ini	dd -if /dev/zero -of $target -bs 512 -count 32768	disk/partfs -m /n/$target $target	disk=/n/$target/sdXX	disk/mbr -m mbr $disk/data	disk/fdisk -baw $disk/data	disk/prep -bw -a 9fat $disk/plan9	disk/format -b pbs -d -r 2 $disk/9fat	s=$target.dos	m=/n/$target.9fat	rm -f /srv/$s	dossrv -f $disk/9fat $s	mount -c /srv/$s $m	@{cd tmp; tar c .} | @{cd $m; tar xv}	unmount $m	rm -f /srv/$s	unmount /n/$target	rm -fr tmp

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t