VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/BIOS/makefile@ 43609

Last change on this file since 43609 was 43115, checked in by vboxsync, 12 years ago

export to OSE

  • 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# -zl do not emit default library information
10#
11!ifdef __UNIX__
12Q=\"
13!else
14Q="
15!endif
16CFLAGS = -q -3 -wx -zu -zl -s -oas -d1 -ms
17DEFS = -DVBOX -DVBE -DVBOX_VERSION_STRING=$(Q)0.9.90$(Q) -DVBOX_VENDOR=$(Q)Oracle_Corporation$(Q) -DVBOX_PRODUCT=$(Q)Oracle_VM_VirtualBox$(Q)
18#DEFS = -DVBOX -DVBOX_VERSION_STRING=$(Q)0.9$(Q) -DVBOX_VENDOR=$(Q)Oracle$(Q) -DVBOX_PRODUCT=$(Q)VirtualBox$(Q)
19
20AFLAGS = -q -0 -wx
21
22INCLS = -I$(Q)../../../../../include$(Q)
23
24.c.obj : .autodepend
25 wcc -fo=.obj $(CFLAGS) $(DEFS) $(INCLS) $<
26
27.asm.obj : .autodepend
28 wasm -fo=.obj $(AFLAGS) $(DEFS) $<
29
30OBJS = vgarom.obj vberom.obj vgabios.obj vbe.obj
31
32vgabios.rom : vgabios.bin
33 biossums $< $@
34
35vgabios.bin : $(OBJS) $(__MAKEFILES__)
36 wlink name $@ system dos debug all option quiet &
37 option nofarcalls, map, verbose, statics, symfile &
38 output raw offset=0xC0000 order &
39 clname CODE segment VGAROM segaddr=0xC000 &
40 segment _TEXT segaddr=0xC000 offset=0xA00 &
41 segment VBE32 segaddr=0xC000 offset=0x4600 &
42 clname DATA segment _DATA segaddr=0xC000 offset=0x4800 &
43 file { $(OBJS) } disable 1014, 1023, 2120
44
45clean : .symbolic
46 @rm -f *.obj *.err
47 @rm -f vgabios.bin vgabios.rom vgabios.map vgabios.sym
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use