VirtualBox

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

Last change on this file since 97441 was 75149, checked in by vboxsync, 6 years ago

BIOS: Added custom video mode set function not limited by the list of available VBE modes (bugref:9273).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 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) -DVBOX_BIOS_CPU=80386
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) -I$(Q)../../../../../include/VBox/Graphics$(Q)
23AINCS = -I$(Q)../../BiosCommonCode$(Q)
24
25.c.obj : .autodepend
26 wcc -fo=.obj $(CFLAGS) $(DEFS) $(INCLS) $<
27
28.asm.obj : .autodepend
29 wasm -fo=.obj $(AFLAGS) $(DEFS) $(AINCS) $<
30
31OBJS = vgarom.obj vberom.obj vgabios.obj vbe.obj
32
33vgabios.rom : vgabios.bin
34 biossums $< $@
35
36vgabios.bin : $(OBJS) $(__MAKEFILES__)
37 wlink name $@ system dos debug all option quiet &
38 option nofarcalls, map, verbose, statics, symfile &
39 output raw offset=0xC0000 order &
40 clname CODE segment VGAROM segaddr=0xC000 &
41 segment _TEXT segaddr=0xC000 offset=0xA00 &
42 segment VBE32 segaddr=0xC000 offset=0x4600 &
43 clname DATA segment _DATA segaddr=0xC000 offset=0x4800 &
44 file { $(OBJS) } disable 1014, 1023, 2120
45
46clean : .symbolic
47 @rm -f *.obj *.err
48 @rm -f vgabios.bin vgabios.rom vgabios.map vgabios.sym
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette