VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/BIOS-new/makefile@ 38699

Last change on this file since 38699 was 38699, checked in by vboxsync, 13 years ago

Converted system BIOS to Watcom C.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# Compiler flags:
2# -q no banner
3# -wx max warnings
4# -0 generate 8086 code
5# -ms force small model (default)
6# -s remove runtime stack checks (required)
7# -os optimize for size
8# -zu assume that SS != DS (required)
9# -ecc default to __cdecl calling convention (bad idea)
10#
11CFLAGS = -q -0 -wx -zu -s -oas -d1 -ms
12DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING="0.9" &
13 -DVBOX_WITH_SCSI
14
15AFLAGS = -q -0 -wx
16
17INCLS = -I"../../../../../include"
18
19.c.obj : .autodepend
20 wcc $(CFLAGS) $(DEFS) $<
21
22.asm.obj : .autodepend
23 wasm $(AFLAGS) $(DEFS) $<
24
25OBJS = bios.obj print.obj ata.obj floppy.obj eltorito.obj boot.obj &
26 keyboard.obj disk.obj serial.obj system.obj timepci.obj &
27 ps2mouse.obj parallel.obj logo.obj scsi.obj pcibio32.obj orgs.obj
28
29vbxbios.rom : vbxbios.bin
30 biossums $< $@
31
32vbxbios.bin : $(OBJS) $(__MAKEFILES__)
33 wlink name $@ system dos option quiet &
34 option nofarcalls, map, verbose, statics &
35 output raw offset=0xF0000 order &
36 clname DATA segaddr=0xF000 segment _DATA &
37 clname CODE &
38 segment _TEXT segaddr=0xF000 offset=0x1400 &
39 segment BIOS32 segaddr=0xF000 offset=0xDE00 &
40 segment BIOSSEG segaddr=0xF000 offset=0xE000 &
41 file { $(OBJS) } &
42 library clibs.lib &
43 disable 1014, 1023, 2120
44
45logo.obj : logo.c
46 wcc $(INCLS) $(CFLAGS) $(DEFS) -DVBOX_PC_BIOS $<
47
48clean : .symbolic
49 @rm -f *.obj *.err
50 @rm -f vbxbios.bin vbxbios.rom vbxbios.map
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use