VirtualBox

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

Last change on this file since 2478 was 2478, checked in by vboxsync, 18 years ago

[Mm]akefile -> Makefile.kmk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.2 KB
Line 
1# $Id: Makefile.kmk 2478 2007-05-04 00:46:16Z vboxsync $
2## @file
3# Makefile for the VBox Linux Additions X.org graphics driver.
4#
5
6#
7# Copyright (C) 2006 InnoTek Systemberatung 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#
17# If you received this file as part of a commercial VirtualBox
18# distribution, then only the terms of your commercial VirtualBox
19# license agreement apply instead of the previous paragraph.
20#
21
22DEPTH = ../../../../..
23include $(PATH_KBUILD)/header.kmk
24
25SYSMODS = vboxvideo_drv
26DLLS = vboxvideo_drv_70 vboxvideo_drv_71
27
28# for BUILD_TARGET=l4
29SUFF_DLL = .so
30
31vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
32vboxvideo_drv_SYSSUFF = .o
33vboxvideo_drv_DEFS = \
34 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
35 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
36 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
37 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
38 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
39 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
40 IN_MODULE XFree86Module \
41 IN_RING3 VBOX
42vboxvideo_drv_CFLAGS.linux := \
43 -fno-merge-constants -Wno-conversion -Wno-unused-parameter \
44 $(VBOX_GCC_Wno-variadic-macros)
45vboxvideo_drv_LDFLAGS.release = -S
46ARGB_CURSORS=1
47ifdef ARGB_CURSORS
48vboxvideo_drv_INCS = \
49 ../x11include/4.3/include \
50 ../x11include/4.3/include/extensions \
51 ../x11include/4.3/include/fonts \
52 ../x11include/4.3/programs/Xserver/afb \
53 ../x11include/4.3/programs/Xserver/include \
54 ../x11include/4.3/programs/Xserver/fb \
55 ../x11include/4.3/programs/Xserver/hw/xfree86 \
56 ../x11include/4.3/programs/Xserver/hw/xfree86/common \
57 ../x11include/4.3/programs/Xserver/hw/xfree86/ddc \
58 ../x11include/4.3/programs/Xserver/hw/xfree86/int10 \
59 ../x11include/4.3/programs/Xserver/hw/xfree86/i2c \
60 ../x11include/4.3/programs/Xserver/hw/xfree86/os-support \
61 ../x11include/4.3/programs/Xserver/hw/xfree86/vbe \
62 ../x11include/4.3/programs/Xserver/hw/xfree86/os-support/bus \
63 ../x11include/4.3/programs/Xserver/hw/xfree86/rac \
64 ../x11include/4.3/programs/Xserver/hw/xfree86/ramdac \
65 ../x11include/4.3/programs/Xserver/hw/xfree86/shadowfb \
66 ../x11include/4.3/programs/Xserver/hw/xfree86/vgahw \
67 ../x11include/4.3/programs/Xserver/hw/xfree86/xf1bpp \
68 ../x11include/4.3/programs/Xserver/hw/xfree86/xf24_32bpp \
69 ../x11include/4.3/programs/Xserver/hw/xfree86/xf4bpp \
70 ../x11include/4.3/programs/Xserver/mfb \
71 ../x11include/4.3/programs/Xserver/mi \
72 ../x11include/4.3/programs/Xserver/miext/shadow \
73 ../x11include/4.3/programs/Xserver/render \
74 ../x11include/4.3/programs/Xserver/Xext
75else
76vboxvideo_drv_INCS = \
77 ../x11include/4.2/exports/include/X11 \
78 ../x11include/4.2/include \
79 ../x11include/4.2/include/extensions \
80 ../x11include/4.2/include/fonts \
81 ../x11include/4.2/programs/Xserver/afb \
82 ../x11include/4.2/programs/Xserver/include \
83 ../x11include/4.2/programs/Xserver/fb \
84 ../x11include/4.2/programs/Xserver/hw/xfree86/common \
85 ../x11include/4.2/programs/Xserver/hw/xfree86/ddc \
86 ../x11include/4.2/programs/Xserver/hw/xfree86/int10 \
87 ../x11include/4.2/programs/Xserver/hw/xfree86/i2c \
88 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support \
89 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/bus \
90 ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/vbe \
91 ../x11include/4.2/programs/Xserver/hw/xfree86/rac \
92 ../x11include/4.2/programs/Xserver/hw/xfree86/ramdac \
93 ../x11include/4.2/programs/Xserver/hw/xfree86/shadowfb \
94 ../x11include/4.2/programs/Xserver/hw/xfree86/vgahw \
95 ../x11include/4.2/programs/Xserver/hw/xfree86/xf1bpp \
96 ../x11include/4.2/programs/Xserver/hw/xfree86/xf24_32bpp \
97 ../x11include/4.2/programs/Xserver/hw/xfree86/xf4bpp \
98 ../x11include/4.2/programs/Xserver/mfb \
99 ../x11include/4.2/programs/Xserver/mi \
100 ../x11include/4.2/programs/Xserver/miext/shadow \
101 ../x11include/4.2/programs/Xserver/render \
102 ../x11include/4.2/programs/Xserver/Xext
103endif
104vboxvideo_drv_SOURCES = \
105 vboxvideo.c \
106 vboxutils.c
107
108
109vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
110vboxvideo_drv_70_DEFS := \
111 XFree86Server IN_MODULE XFree86Module XFree86LOADER \
112 IN_RING3 VBOX XORG_7X PIC RENDER=1
113vboxvideo_drv_70_CFLAGS.linux := \
114 -Wno-conversion -Wno-unused-parameter \
115 $(VBOX_GCC_Wno-variadic-macros)
116vboxvideo_drv_70_LDFLAGS = -s
117vboxvideo_drv_70_INCS = \
118 ../x11include/7.0 \
119 ../x11include/7.0/X11 \
120 ../x11include/7.0/xorg
121vboxvideo_drv_70_SOURCES = \
122 $(vboxvideo_drv_SOURCES)
123
124
125vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
126vboxvideo_drv_71_DEFS := $(vboxvideo_drv_70_DEFS)
127vboxvideo_drv_71_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux)
128vboxvideo_drv_71_LDFLAGS = -s
129vboxvideo_drv_71_INCS = \
130 ../x11include/7.1 \
131 ../x11include/7.1/X11 \
132 ../x11include/7.1/xorg
133vboxvideo_drv_71_SOURCES = \
134 $(vboxvideo_drv_SOURCES)
135
136
137include $(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