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 innotek GmbH
|
---|
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 |
|
---|
18 |
|
---|
19 | #define IHaveModules
|
---|
20 | #include <Server.tmpl>
|
---|
21 |
|
---|
22 | SRCS = vboxvideo.c vboxutils.c
|
---|
23 | OBJS = vboxvideo.o vboxutils.o
|
---|
24 |
|
---|
25 | DRIVER = vboxvideo
|
---|
26 |
|
---|
27 | #if defined(XF86DriverSDK)
|
---|
28 | INCLUDES = -I. -I../../include
|
---|
29 | #else
|
---|
30 | INCLUDES = -I. -I$(SERVERSRC)/fb -I$(XF86SRC)/xf4bpp -I$(XF86SRC)/xf1bpp \
|
---|
31 | -I$(SERVERSRC)/mfb -I$(SERVERSRC)/afb -I$(SERVERSRC)/mi \
|
---|
32 | -I$(SERVERSRC)/miext/shadow -I$(SERVERSRC)/render \
|
---|
33 | -I$(XF86SRC)/vgahw \
|
---|
34 | -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/Xext \
|
---|
35 | -I$(SERVERSRC)/include -I$(FONTINCSRC) -I$(XINCLUDESRC)\
|
---|
36 | -I$(XF86SRC)/rac -I$(XF86SRC)/ramdac -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
|
---|
37 | -I$(XF86SRC)/vbe -I$(XF86SRC)/int10 \
|
---|
38 | -I$(EXTINCSRC)
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | DEFINES = -DVBOX -DIN_RING3 -DXORG_7X
|
---|
42 | CCOPTIONS += -fno-merge-constants
|
---|
43 |
|
---|
44 | #if MakeHasPosixVariableSubstitutions
|
---|
45 | SubdirLibraryRule($(OBJS))
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | ModuleObjectRule()
|
---|
49 |
|
---|
50 | ObjectModuleTarget($(DRIVER),$(OBJS))
|
---|
51 |
|
---|
52 | InstallVideoObjectModule($(DRIVER),$(MODULEDIR))
|
---|
53 |
|
---|
54 | DependTarget()
|
---|
55 |
|
---|
56 | InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
57 | InstallDriverSDKNonExecFile(vboxvideo.c,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
58 | InstallDriverSDKNonExecFile(vboxvideo.h,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
59 | InstallDriverSDKNonExecFile(vboxutils.c,$(DRIVERSDKDIR)/drivers/vboxvideo)
|
---|
60 |
|
---|
61 | InstallDriverSDKObjectModule($(DRIVER),$(DRIVERSDKMODULEDIR),drivers)
|
---|