VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/xgraphics/Makefile.kmk@ 5164

Last change on this file since 5164 was 5164, checked in by vboxsync, 17 years ago

Added support for X.org server 1.4 to the guest additions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.7 KB
Line 
1# $Id: Makefile.kmk 5164 2007-10-05 12:21:03Z vboxsync $
2## @file
3# Makefile for the VBox Linux Additions X.org graphics driver.
4#
5
6#
7# Copyright (C) 2006-2007 innotek GmbH
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16
17DEPTH = ../../../../..
18include $(PATH_KBUILD)/header.kmk
19
20SYSMODS = vboxvideo_drv
21DLLS = vboxvideo_drv_70 vboxvideo_drv_71 vboxvideo_drv_13 vboxvideo_drv_14
22
23# for BUILD_TARGET=l4
24SUFF_DLL = .so
25
26vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
27vboxvideo_drv_SYSSUFF = .o
28vboxvideo_drv_DEFS = \
29 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
30 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
31 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
32 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
33 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
34 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
35 IN_MODULE XFree86Module \
36 IN_RING3 VBOX
37vboxvideo_drv_CFLAGS.linux := \
38 -fno-merge-constants -Wno-conversion -Wno-unused-parameter \
39 $(VBOX_GCC_Wno-variadic-macros)
40vboxvideo_drv_LDFLAGS.release = -S
41ARGB_CURSORS=1
42ifdef ARGB_CURSORS
43vboxvideo_drv_INCS = \
44 ../x11include/4.3/include \
45 ../x11include/4.3/include/extensions \
46 ../x11include/4.3/include/fonts \
47 ../x11include/4.3/programs/Xserver/afb \
48 ../x11include/4.3/programs/Xserver/include \
49 ../x11include/4.3/programs/Xserver/fb \
50 ../x11include/4.3/programs/Xserver/hw/xfree86 \
51 ../x11include/4.3/programs/Xserver/hw/xfree86/common \
52 ../x11include/4.3/programs/Xserver/hw/xfree86/ddc \
53 ../x11include/4.3/programs/Xserver/hw/xfree86/int10 \
54 ../x11include/4.3/programs/Xserver/hw/xfree86/i2c \
55 ../x11include/4.3/programs/Xserver/hw/xfree86/os-support \
56 ../x11include/4.3/programs/Xserver/hw/xfree86/vbe \
57 ../x11include/4.3/programs/Xserver/hw/xfree86/os-support/bus \
58 ../x11include/4.3/programs/Xserver/hw/xfree86/rac \
59 ../x11include/4.3/programs/Xserver/hw/xfree86/ramdac \
60 ../x11include/4.3/programs/Xserver/hw/xfree86/shadowfb \
61 ../x11include/4.3/programs/Xserver/hw/xfree86/vgahw \
62 ../x11include/4.3/programs/Xserver/hw/xfree86/xf1bpp \
63 ../x11include/4.3/programs/Xserver/hw/xfree86/xf24_32bpp \
64 ../x11include/4.3/programs/Xserver/hw/xfree86/xf4bpp \
65 ../x11include/4.3/programs/Xserver/mfb \
66 ../x11include/4.3/programs/Xserver/mi \
67 ../x11include/4.3/programs/Xserver/miext/shadow \
68 ../x11include/4.3/programs/Xserver/render \
69 ../x11include/4.3/programs/Xserver/Xext
70else
71vboxvideo_drv_INCS = \
72 ../x11include/4.2/exports/include/X11 \
73 ../x11include/4.2/include \
74 ../x11include/4.2/include/extensions \
75 ../x11include/4.2/include/fonts \
76 ../x11include/4.2/programs/Xserver/afb \
77 ../x11include/4.2/programs/Xserver/include \
78 ../x11include/4.2/programs/Xserver/fb \
79 ../x11include/4.2/programs/Xserver/hw/xfree86/common \
80 ../x11include/4.2/programs/Xserver/hw/xfree86/ddc \
81 ../x11include/4.2/programs/Xserver/hw/xfree86/int10 \
82 ../x11include/4.2/programs/Xserver/hw/xfree86/i2c \
83 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support \
84 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/bus \
85 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/vbe \
86 ../x11include/4.2/programs/Xserver/hw/xfree86/rac \
87 ../x11include/4.2/programs/Xserver/hw/xfree86/ramdac \
88 ../x11include/4.2/programs/Xserver/hw/xfree86/shadowfb \
89 ../x11include/4.2/programs/Xserver/hw/xfree86/vgahw \
90 ../x11include/4.2/programs/Xserver/hw/xfree86/xf1bpp \
91 ../x11include/4.2/programs/Xserver/hw/xfree86/xf24_32bpp \
92 ../x11include/4.2/programs/Xserver/hw/xfree86/xf4bpp \
93 ../x11include/4.2/programs/Xserver/mfb \
94 ../x11include/4.2/programs/Xserver/mi \
95 ../x11include/4.2/programs/Xserver/miext/shadow \
96 ../x11include/4.2/programs/Xserver/render \
97 ../x11include/4.2/programs/Xserver/Xext
98endif
99vboxvideo_drv_SOURCES = \
100 vboxvideo_68.c \
101 vboxutils.c
102
103
104vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
105vboxvideo_drv_70_DEFS := \
106 XFree86Server IN_MODULE XFree86Module XFree86LOADER \
107 IN_RING3 VBOX XORG_7X PIC RENDER=1
108vboxvideo_drv_70_CFLAGS.linux := \
109 -Wno-conversion -Wno-unused-parameter \
110 $(VBOX_GCC_Wno-variadic-macros)
111vboxvideo_drv_70_LDFLAGS = -s
112vboxvideo_drv_70_INCS = \
113 ../x11include/7.0 \
114 ../x11include/7.0/X11 \
115 ../x11include/7.0/xorg
116vboxvideo_drv_70_SOURCES = \
117 vboxvideo_70.c \
118 vboxutils.c
119
120
121vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
122vboxvideo_drv_71_DEFS := $(vboxvideo_drv_70_DEFS)
123vboxvideo_drv_71_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux)
124vboxvideo_drv_71_LDFLAGS = -s
125vboxvideo_drv_71_INCS = \
126 ../x11include/7.1 \
127 ../x11include/7.1/X11 \
128 ../x11include/7.1/xorg
129vboxvideo_drv_71_SOURCES = \
130 vboxvideo_70.c \
131 vboxutils.c
132
133vboxvideo_drv_13_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
134vboxvideo_drv_13_DEFS := $(vboxvideo_drv_70_DEFS)
135vboxvideo_drv_13_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux)
136vboxvideo_drv_13_LDFLAGS = -s
137vboxvideo_drv_13_INCS = \
138 ../x11include/1.3 \
139 ../x11include/1.3/X11 \
140 ../x11include/1.3/xorg
141vboxvideo_drv_13_SOURCES = \
142 vboxvideo_13.c \
143 vboxutils.c
144
145vboxvideo_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
146vboxvideo_drv_14_DEFS := $(vboxvideo_drv_70_DEFS)
147vboxvideo_drv_14_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux)
148vboxvideo_drv_14_LDFLAGS = -s
149vboxvideo_drv_14_INCS = \
150 ../x11include/1.4 \
151 ../x11include/1.4/X11 \
152 ../x11include/1.4/xorg
153vboxvideo_drv_14_SOURCES = \
154 vboxvideo_14.c \
155 vboxutils.c
156
157include $(PATH_KBUILD)/footer.kmk
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