1 | XCOMM
|
---|
2 | XCOMM Imakefile for the VBox Linux Additions X.org graphics driver.
|
---|
3 | XCOMM (Only needed if this module is compiled as part of monolithic Xorg)
|
---|
4 | XCOMM
|
---|
5 | XCOMM
|
---|
6 | XCOMM
|
---|
7 | XCOMM Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | XCOMM
|
---|
9 | XCOMM This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | XCOMM available from http://www.virtualbox.org. This file is free software;
|
---|
11 | XCOMM you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | XCOMM General Public License (GPL) as published by the Free Software
|
---|
13 | XCOMM Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | XCOMM VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | XCOMM hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | XCOMM
|
---|
17 | XCOMM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | XCOMM Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | XCOMM additional information or have any questions.
|
---|
20 | XCOMM
|
---|
21 |
|
---|
22 |
|
---|
23 | #define IHaveModules
|
---|
24 | #include <Server.tmpl>
|
---|
25 |
|
---|
26 | SRCS = vboxvideo.c vboxutils.c
|
---|
27 | OBJS = vboxvideo.o vboxutils.o
|
---|
28 |
|
---|
29 | DRIVER = vboxvideo
|
---|
30 |
|
---|
31 | #if defined(XF86DriverSDK)
|
---|
32 | INCLUDES = -I. -I../../include
|
---|
33 | #else
|
---|
34 | INCLUDES = -I. -I$(SERVERSRC)/fb -I$(XF86SRC)/xf4bpp -I$(XF86SRC)/xf1bpp \
|
---|
35 | -I$(SERVERSRC)/mfb -I$(SERVERSRC)/afb -I$(SERVERSRC)/mi \
|
---|
36 | -I$(SERVERSRC)/miext/shadow -I$(SERVERSRC)/render \
|
---|
37 | -I$(XF86SRC)/vgahw \
|
---|
38 | -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
|
---|
39 | -I$(SERVERSRC)/include -I$(FONTINCSRC) -I$(XINCLUDESRC)\
|
---|
40 | -I$(XF86SRC)/rac -I$(XF86SRC)/ramdac -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
|
---|
41 | -I$(XF86SRC)/vbe -I$(XF86SRC)/int10 \
|
---|
42 | -I$(EXTINCSRC)
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | DEFINES = -DVBOX -DIN_RING3 -DXORG_7X
|
---|
46 | CCOPTIONS += -fno-merge-constants
|
---|
47 |
|
---|
48 | #if MakeHasPosixVariableSubstitutions
|
---|
49 | SubdirLibraryRule($(OBJS))
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | ModuleObjectRule()
|
---|
53 |
|
---|
54 | ObjectModuleTarget($(DRIVER),$(OBJS))
|
---|
55 |
|
---|
56 | InstallVideoObjectModule($(DRIVER),$(MODULEDIR))
|
---|
57 |
|
---|
58 | DependTarget()
|
---|
59 |
|
---|
60 | InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
61 | InstallDriverSDKNonExecFile(vboxvideo.c,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
62 | InstallDriverSDKNonExecFile(vboxvideo.h,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
63 | InstallDriverSDKNonExecFile(vboxutils.c,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
64 |
|
---|
65 | InstallDriverSDKObjectModule($(DRIVER),$(DRIVERSDKMODULEDIR),drivers)
|
---|