|
|
1.1 ! root 1: SHELL = /bin/sh ! 2: ! 3: CC = gcc ! 4: CFLAGS = -g -O2 -Wall -Wstrict-prototypes ! 5: LDFLAGS = ! 6: ! 7: GCC = gcc ! 8: BCC = bcc ! 9: AS86 = as86 ! 10: ! 11: RELEASE = `pwd | sed "s-.*/--"` ! 12: RELDATE = `date '+%d %b %Y'` ! 13: RELVERS = `pwd | sed "s-.*/--" | sed "s/vgabios//" | sed "s/-//"` ! 14: ! 15: VGABIOS_DATE = "-DVGABIOS_DATE=\"$(RELDATE)\"" ! 16: ! 17: all: bios cirrus-bios ! 18: ! 19: ! 20: bios: biossums vgabios.bin vgabios.debug.bin ! 21: ! 22: cirrus-bios: vgabios-cirrus.bin vgabios-cirrus.debug.bin ! 23: ! 24: clean: ! 25: /bin/rm -f biossums vbetables-gen vbetables.h *.o *.s *.ld86 \ ! 26: temp.awk.* vgabios*.orig _vgabios_* _vgabios-debug_* core vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak ! 27: ! 28: dist-clean: clean ! 29: ! 30: release: ! 31: VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios ! 32: /bin/rm -f *.o *.s *.ld86 \ ! 33: temp.awk.* vgabios.*.orig _vgabios_.*.c core *.bak .#* ! 34: cp VGABIOS-lgpl-latest.bin ../$(RELEASE).bin ! 35: cp VGABIOS-lgpl-latest.debug.bin ../$(RELEASE).debug.bin ! 36: cp VGABIOS-lgpl-latest.cirrus.bin ../$(RELEASE).cirrus.bin ! 37: cp VGABIOS-lgpl-latest.cirrus.debug.bin ../$(RELEASE).cirrus.debug.bin ! 38: tar czvf ../$(RELEASE).tgz --exclude CVS -C .. $(RELEASE)/ ! 39: ! 40: vgabios.bin: vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h ! 41: $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE $(VGABIOS_DATE) > _vgabios_.c ! 42: $(BCC) -o vgabios.s -C-c -D__i86__ -S -0 _vgabios_.c ! 43: sed -e 's/^\.text//' -e 's/^\.data//' vgabios.s > _vgabios_.s ! 44: $(AS86) _vgabios_.s -b vgabios.bin -u -w- -g -0 -j -O -l vgabios.txt ! 45: rm -f _vgabios_.s _vgabios_.c vgabios.s ! 46: mv vgabios.bin VGABIOS-lgpl-latest.bin ! 47: ./biossums VGABIOS-lgpl-latest.bin ! 48: ls -l VGABIOS-lgpl-latest.bin ! 49: ! 50: vgabios.debug.bin: vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h ! 51: $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE -DDEBUG $(VGABIOS_DATE) > _vgabios-debug_.c ! 52: $(BCC) -o vgabios-debug.s -C-c -D__i86__ -S -0 _vgabios-debug_.c ! 53: sed -e 's/^\.text//' -e 's/^\.data//' vgabios-debug.s > _vgabios-debug_.s ! 54: $(AS86) _vgabios-debug_.s -b vgabios.debug.bin -u -w- -g -0 -j -O -l vgabios.debug.txt ! 55: rm -f _vgabios-debug_.s _vgabios-debug_.c vgabios-debug.s ! 56: mv vgabios.debug.bin VGABIOS-lgpl-latest.debug.bin ! 57: ./biossums VGABIOS-lgpl-latest.debug.bin ! 58: ls -l VGABIOS-lgpl-latest.debug.bin ! 59: ! 60: vgabios-cirrus.bin: vgabios.c vgabios.h vgafonts.h vgatables.h clext.c ! 61: $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus_.c ! 62: $(BCC) -o vgabios-cirrus.s -C-c -D__i86__ -S -0 _vgabios-cirrus_.c ! 63: sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus.s > _vgabios-cirrus_.s ! 64: $(AS86) _vgabios-cirrus_.s -b vgabios-cirrus.bin -u -w- -g -0 -j -O -l vgabios.cirrus.txt ! 65: rm -f _vgabios-cirrus_.s _vgabios-cirrus_.c vgabios-cirrus.s ! 66: mv vgabios-cirrus.bin VGABIOS-lgpl-latest.cirrus.bin ! 67: ./biossums VGABIOS-lgpl-latest.cirrus.bin ! 68: ls -l VGABIOS-lgpl-latest.cirrus.bin ! 69: ! 70: vgabios-cirrus.debug.bin: vgabios.c vgabios.h vgafonts.h vgatables.h clext.c ! 71: $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DCIRRUS_DEBUG -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus-debug_.c ! 72: $(BCC) -o vgabios-cirrus-debug.s -C-c -D__i86__ -S -0 _vgabios-cirrus-debug_.c ! 73: sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus-debug.s > _vgabios-cirrus-debug_.s ! 74: $(AS86) _vgabios-cirrus-debug_.s -b vgabios.cirrus.debug.bin -u -w- -g -0 -j -O -l vgabios.cirrus.debug.txt ! 75: rm -f _vgabios-cirrus-debug_.s _vgabios-cirrus-debug_.c vgabios-cirrus-debug.s ! 76: mv vgabios.cirrus.debug.bin VGABIOS-lgpl-latest.cirrus.debug.bin ! 77: ./biossums VGABIOS-lgpl-latest.cirrus.debug.bin ! 78: ls -l VGABIOS-lgpl-latest.cirrus.debug.bin ! 79: ! 80: biossums: biossums.c ! 81: $(CC) -o biossums biossums.c ! 82: ! 83: vbetables-gen: vbetables-gen.c ! 84: $(CC) -o vbetables-gen vbetables-gen.c ! 85: ! 86: vbetables.h: vbetables-gen ! 87: ./vbetables-gen > $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.