1#Build for 4.4BSD 2 3all: 4 5# Currently support 'hp300', 'luna68k', 'sparc', 'mips-dec' architectures. 6 7 rm -f tm.h 8.if ${MACHINE} == "hp300" 9 ln -s config/hp3bsd.h tm.h 10.elif ${MACHINE} == "luna68k" 11 ln -s config/luna68k.h tm.h 12.elif ${MACHINE} == "mips" 13 ln -s config/mips-dec-bsd.h tm.h 14.elif ${MACHINE} == "sparc" 15 ln -s config/sparcbsd.h tm.h 16.endif 17 18 make -f Makefile LANGUAGES="c" 19 make -f Makefile stage1 20 make -f Makefile "CC=stage1/xgcc -Bstage1/" LANGUAGES="c" 21 make -f Makefile stage2 22 make -f Makefile "CC=stage2/xgcc -Bstage2/" "CFLAGS+=-O2" \ 23 LANGUAGES="c c++" 24 25clean: 26 make -f Makefile clean 27 rm -rf stage1 stage2 28 rm -f cccp.0 g++.0 gcc.0 29 30install: 31 make -f Makefile install 32