Charles.Forsyth20060303644188019 years agoHistory
105 lines · 2.0 KB · Makefile
RawDownload
SYSTARG=InfernoOBJTYPE=power<../../mkconfig #Configurable parameters CONF=ipe			#default configurationCONFLIST=ipeKZERO=0x20003020 SYSTARG=$OSTARGOBJTYPE=powerINSTALLDIR=$ROOT/Inferno/$OBJTYPE/bin	#path of directory where kernel is installed#INSTALLDIR=/$OBJTYPE #end configurable parameters <$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE	#set vars based on target system <| $SHELLNAME ../port/mkdevlist $CONF	#sets $IP, $DEVS, $ETHERS, $VGAS, $PORT, $MISC, $LIBS, $OTHERS OBJ=\	l.$O\	tlb.$O\	nofp.$O\	clock.$O\	cpm.$O\	faultpower.$O\	fpi.$O\	fpimem.$O\	fpipower.$O\	kbd.$O\	main.$O\	mmu.$O\	rmap.$O\	trap.$O\	$CONF.root.$O\	$IP\	$DEVS\	$ETHERS\	$LINKS\	$VGAS\	$PORT\	$MISC\	$OTHERS\ LIBNAMES=${LIBS:%=lib%.a} HFILES=\	mem.h\	dat.h\	fns.h\	io.h\	../mpc/800io.h\ CFLAGS=-wFV -I. -I../mpc -I../port -I$ROOT/Inferno/$OBJTYPE/include -I$ROOT/include -I$ROOT/libinterpKERNDATE=`{$NDATE} #default:V: i$CONF.sqdefault:V:	i$CONF i$CONF:	$OBJ $CONF.c $CONF.root.h $LIBNAMES	$CC $CFLAGS '-DKERNDATE='$KERNDATE $CONF.c	$LD -o $target -T$KZERO -l -R4 $OBJ $CONF.$O $LIBFILES	$KSIZE $target i$CONF.sq:	i$CONF	sqz -w i$CONF >$target install:V: i$CONF # i$CONF.sq	cp i$CONF $INSTALLDIR/i$CONF	#cp i$CONF.sq $INSTALLDIR/i$CONF.sq uninstall:V:	rm -f $ROOT/$OBJDIR/bin/i$CONF	rm -f $ROOT/$OBJDIR/bin/i$CONF.sq <../port/portmkfile %.$O:		../mpc/%.c		$CC $CFLAGS -I. ../mpc/$stem.c %.$O:		../mpc/%.s	$AS -I. -I../mpc ../mpc/$stem.s ../init/$INIT.dis:	../init/$INIT.b		cd ../init; mk $INIT.dis clock.$O:	$ROOT/Inferno/$OBJTYPE/include/ureg.hdevether.$O:	$ROOT/Inferno/$OBJTYPE/include/ureg.hfaultpower.$O:	$ROOT/Inferno/$OBJTYPE/include/ureg.hmain.$O:	$ROOT/Inferno/$OBJTYPE/include/ureg.htrap.$O:	$ROOT/Inferno/$OBJTYPE/include/ureg.h devether.$O $ETHERS:	../mpc/etherif.h ../port/netif.harchipe.$O:	../mpc/screen.h archipe.hscreen.$O:	../mpc/screen.h $IP devip.$O:		../ip/ip.h devboot.$O:	devboot.c	$CC $CFLAGS devboot.c devuart.$O:	../mpc/devuart.c	$CC $CFLAGS ../mpc/devuart.c