4 CFLAGS
= -g
-O2
-Wall
-Wstrict-prototypes
7 RELEASE
= `pwd | sed "s-.*/--"`
8 RELDATE
= `date '+%d %b %Y'`
9 RELVERS
= `pwd | sed "s-.*/--" | sed "s/vgabios//" | sed "s/-//"`
11 VGABIOS_DATE
= "-DVGABIOS_DATE=\"$(RELDATE)\""
16 bios
: vgabios.bin vgabios.debug.bin
19 /bin
/rm -f
*.o
*.s
*.ld86 \
20 temp.awk.
* vgabios
*.orig _vgabios_
* _vgabios-debug_
* core vgabios
*.bin vgabios
*.txt
$(RELEASE
).bin
25 VGABIOS_VERS
=\"-DVGABIOS_VERS
=\\\"$(RELVERS
)\\\"\" make bios
26 /bin
/rm -f
*.o
*.s
*.ld86 \
27 temp.awk.
* vgabios.
*.orig _vgabios_.
*.c core
28 cp VGABIOS-lgpl-latest.bin ..
/$(RELEASE
).bin
29 cp VGABIOS-lgpl-latest.debug.bin ..
/$(RELEASE
).debug.bin
30 tar czvf ..
/$(RELEASE
).tgz
-C ..
$(RELEASE
)/
32 vgabios.bin
: vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h
33 gcc
-E vgabios.c
$(VGABIOS_VERS
) -DVBE
$(VGABIOS_DATE
) > _vgabios_.c
34 bcc
-o vgabios.s
-C-c
-D__i86__
-S
-0 _vgabios_.c
35 sed
-e
's/^\.text//' -e
's/^\.data//' vgabios.s
> _vgabios_.s
36 as86 _vgabios_.s
-b vgabios.bin
-u
-w-
-g
-0 -j
-O
-l vgabios.txt
37 rm -f _vgabios_.s _vgabios_.c vgabios.s
38 mv vgabios.bin VGABIOS-lgpl-latest.bin
39 ls
-l VGABIOS-lgpl-latest.bin
41 vgabios.debug.bin
: vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h
42 gcc
-E vgabios.c
$(VGABIOS_VERS
) -DVBE
-DDEBUG
$(VGABIOS_DATE
) > _vgabios-debug_.c
43 bcc
-o vgabios-debug.s
-C-c
-D__i86__
-S
-0 _vgabios-debug_.c
44 sed
-e
's/^\.text//' -e
's/^\.data//' vgabios-debug.s
> _vgabios-debug_.s
45 as86 _vgabios-debug_.s
-b vgabios.debug.bin
-u
-w-
-g
-0 -j
-O
-l vgabios.debug.txt
46 rm -f _vgabios-debug_.s _vgabios-debug_.c vgabios-debug.s
47 mv vgabios.debug.bin VGABIOS-lgpl-latest.debug.bin
48 ls
-l VGABIOS-lgpl-latest.debug.bin