g3dvl: stash interlaced
[mesa/nouveau-pmpeg.git] / configs / autoconf.in
blob9ea7588a11873fd08efa638bed56db1df7369e35
1 # Autoconf configuration
3 # Pull in the defaults
4 include $(TOP)/configs/default
6 # This is generated by configure
7 CONFIG_NAME = autoconf
9 # Compiler and flags
10 CC = @CC@
11 CXX = @CXX@
12 OPT_FLAGS = @OPT_FLAGS@
13 ARCH_FLAGS = @ARCH_FLAGS@
14 ASM_FLAGS = @ASM_FLAGS@
15 PIC_FLAGS = @PIC_FLAGS@
16 DEFINES = @DEFINES@
17 API_DEFINES = @API_DEFINES@
18 SHARED_GLAPI = @SHARED_GLAPI@
19 CFLAGS_NOVISIBILITY = @CPPFLAGS@ @CFLAGS@ \
20         $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
21 CXXFLAGS_NOVISIBILITY = @CPPFLAGS@ @CXXFLAGS@ \
22         $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
23 CFLAGS = $(CFLAGS_NOVISIBILITY) @VISIBILITY_CFLAGS@
24 CXXFLAGS = $(CXXFLAGS_NOVISIBILITY) @VISIBILITY_CXXFLAGS@
25 LDFLAGS = @LDFLAGS@
26 EXTRA_LIB_PATH = @EXTRA_LIB_PATH@
27 RADEON_CFLAGS = @RADEON_CFLAGS@
28 RADEON_LIBS = @RADEON_LIBS@
29 NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@
30 NOUVEAU_LIBS = @NOUVEAU_LIBS@
31 INTEL_LIBS = @INTEL_LIBS@
32 INTEL_CFLAGS = @INTEL_CFLAGS@
33 X11_LIBS = @X11_LIBS@
34 X11_CFLAGS = @X11_CFLAGS@
35 LLVM_CFLAGS = @LLVM_CFLAGS@
36 LLVM_LDFLAGS = @LLVM_LDFLAGS@
37 LLVM_LIBS = @LLVM_LIBS@
38 GLW_CFLAGS = @GLW_CFLAGS@
39 GLX_TLS = @GLX_TLS@
40 DRI_CFLAGS = @DRI_CFLAGS@
41 DRI_CXXFLAGS = @DRI_CXXFLAGS@
43 # dlopen
44 DLOPEN_LIBS = @DLOPEN_LIBS@
46 # Source selection
47 MESA_ASM_SOURCES = @MESA_ASM_SOURCES@
48 GLAPI_ASM_SOURCES = @GLAPI_ASM_SOURCES@
50 # Misc tools and flags
51 MAKE = @MAKE@
52 SHELL = @SHELL@
53 MKLIB_OPTIONS = @MKLIB_OPTIONS@
54 MKDEP = @MKDEP@
55 MKDEP_OPTIONS = @MKDEP_OPTIONS@
56 INSTALL = @INSTALL@
57 AWK = @AWK@
58 GREP = @GREP@
59 NM = @NM@
61 # Python and flags (generally only needed by the developers)
62 PYTHON2 = @PYTHON2@
63 PYTHON_FLAGS = -t -O -O
65 # Flex and Bison for GLSL compiler
66 FLEX = @FLEX@
67 BISON = @BISON@
69 # Library names (base name)
70 GL_LIB = @GL_LIB@
71 GLU_LIB = @GLU_LIB@
72 GLW_LIB = GLw
73 OSMESA_LIB = @OSMESA_LIB@
74 GLESv1_CM_LIB = GLESv1_CM
75 GLESv2_LIB = GLESv2
76 VG_LIB = OpenVG
77 GLAPI_LIB = glapi
78 WAYLAND_EGL_LIB = wayland-egl
79 GBM_LIB = gbm
81 # Library names (actual file names)
82 GL_LIB_NAME = @GL_LIB_NAME@
83 GLU_LIB_NAME = @GLU_LIB_NAME@
84 GLW_LIB_NAME = @GLW_LIB_NAME@
85 OSMESA_LIB_NAME = @OSMESA_LIB_NAME@
86 EGL_LIB_NAME = @EGL_LIB_NAME@
87 GLESv1_CM_LIB_NAME = @GLESv1_CM_LIB_NAME@
88 GLESv2_LIB_NAME = @GLESv2_LIB_NAME@
89 VG_LIB_NAME = @VG_LIB_NAME@
90 GLAPI_LIB_NAME = @GLAPI_LIB_NAME@
91 WAYLAND_EGL_LIB_NAME = @WAYLAND_EGL_LIB_NAME@
92 GBM_LIB_NAME = @GBM_LIB_NAME@
94 # Globs used to install the lib and all symlinks
95 GL_LIB_GLOB = @GL_LIB_GLOB@
96 GLU_LIB_GLOB = @GLU_LIB_GLOB@
97 GLW_LIB_GLOB = @GLW_LIB_GLOB@
98 OSMESA_LIB_GLOB = @OSMESA_LIB_GLOB@
99 EGL_LIB_GLOB = @EGL_LIB_GLOB@
100 GLESv1_CM_LIB_GLOB = @GLESv1_CM_LIB_GLOB@
101 GLESv2_LIB_GLOB = @GLESv2_LIB_GLOB@
102 VG_LIB_GLOB = @VG_LIB_GLOB@
103 GLAPI_LIB_GLOB = @GLAPI_LIB_GLOB@
104 WAYLAND_EGL_LIB_GLOB = @WAYLAND_EGL_LIB_GLOB@
105 GBM_LIB_GLOB = @GBM_LIB_GLOB@
107 # Directories to build
108 LIB_DIR = @LIB_DIR@
109 SRC_DIRS = @SRC_DIRS@
110 GLU_DIRS = @GLU_DIRS@
111 DRIVER_DIRS = @DRIVER_DIRS@
112 EGL_DRIVERS_DIRS = @EGL_DRIVERS_DIRS@
113 GBM_BACKEND_DIRS = @GBM_BACKEND_DIRS@
114 GALLIUM_DIRS = @GALLIUM_DIRS@
115 GALLIUM_DRIVERS_DIRS = @GALLIUM_DRIVERS_DIRS@
116 GALLIUM_WINSYS_DIRS = @GALLIUM_WINSYS_DIRS@
117 GALLIUM_TARGET_DIRS = @GALLIUM_TARGET_DIRS@
118 GALLIUM_STATE_TRACKERS_DIRS = @GALLIUM_STATE_TRACKERS_DIRS@
119 GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a
120 GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
122 # Driver specific build vars
123 DRI_DIRS = @DRI_DIRS@
124 DRICORE_GLSL_LIBS = @DRICORE_GLSL_LIBS@
125 DRICORE_LIBS = @DRICORE_LIBS@
126 DRICORE_LIB_DEPS = @DRICORE_LIB_DEPS@
127 EGL_PLATFORMS = @EGL_PLATFORMS@
128 EGL_CLIENT_APIS = @EGL_CLIENT_APIS@
130 # Dependencies
131 X11_INCLUDES = @X11_INCLUDES@
133 # GLw motif setup
134 GLW_SOURCES = @GLW_SOURCES@
135 MOTIF_CFLAGS = @MOTIF_CFLAGS@
137 # Library/program dependencies
138 GL_LIB_DEPS = $(EXTRA_LIB_PATH) @GL_LIB_DEPS@
139 OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @OSMESA_MESA_DEPS@ \
140         $(EXTRA_LIB_PATH) @OSMESA_LIB_DEPS@
141 EGL_LIB_DEPS = $(EXTRA_LIB_PATH) @EGL_LIB_DEPS@
142 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLU_MESA_DEPS@ \
143         $(EXTRA_LIB_PATH) @GLU_LIB_DEPS@
144 GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
145         $(EXTRA_LIB_PATH) @GLW_LIB_DEPS@
146 GLESv1_CM_LIB_DEPS = $(EXTRA_LIB_PATH) @GLESv1_CM_LIB_DEPS@
147 GLESv2_LIB_DEPS = $(EXTRA_LIB_PATH) @GLESv2_LIB_DEPS@
148 VG_LIB_DEPS = $(EXTRA_LIB_PATH) @VG_LIB_DEPS@
149 GLAPI_LIB_DEPS = $(EXTRA_LIB_PATH) @GLAPI_LIB_DEPS@
150 WAYLAND_EGL_LIB_DEPS = $(EXTRA_LIB_PATH) @WAYLAND_EGL_LIB_DEPS@
151 GBM_LIB_DEPS = $(EXTRA_LIB_PATH) @GBM_LIB_DEPS@
153 # DRI dependencies
154 MESA_MODULES = @MESA_MODULES@
155 DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
156 LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
157 LIBDRM_LIB = @LIBDRM_LIBS@
158 DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
159 GLPROTO_CFLAGS = @GLPROTO_CFLAGS@
160 EXPAT_INCLUDES = @EXPAT_INCLUDES@
162 # Autoconf directories
163 prefix = @prefix@
164 exec_prefix = @exec_prefix@
165 libdir = @libdir@
166 includedir = @includedir@
168 # Installation directories (for make install)
169 INSTALL_DIR = $(prefix)
170 INSTALL_LIB_DIR = $(libdir)
171 INSTALL_INC_DIR = $(includedir)
173 # DRI installation directories
174 DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@
176 # Where libGL will look for DRI hardware drivers
177 DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@
179 # EGL driver install directory
180 EGL_DRIVER_INSTALL_DIR = @EGL_DRIVER_INSTALL_DIR@
182 # VDPAU library install directory
183 VDPAU_LIB_INSTALL_DIR=@VDPAU_LIB_INSTALL_DIR@
185 # VA library install directory
186 VA_LIB_INSTALL_DIR=@VA_LIB_INSTALL_DIR@
188 # Xorg driver install directory (for xorg state-tracker)
189 XORG_DRIVER_INSTALL_DIR = @XORG_DRIVER_INSTALL_DIR@
191 # pkg-config substitutions
192 GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@
193 GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@
194 GL_PC_CFLAGS = @GL_PC_CFLAGS@
195 DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@
196 GLU_PC_REQ = @GLU_PC_REQ@
197 GLU_PC_REQ_PRIV = @GLU_PC_REQ_PRIV@
198 GLU_PC_LIB_PRIV = @GLU_PC_LIB_PRIV@
199 GLU_PC_CFLAGS = @GLU_PC_CFLAGS@
200 GLW_PC_REQ_PRIV = @GLW_PC_REQ_PRIV@
201 GLW_PC_LIB_PRIV = @GLW_PC_LIB_PRIV@
202 GLW_PC_CFLAGS = @GLW_PC_CFLAGS@
203 OSMESA_PC_REQ = @OSMESA_PC_REQ@
204 OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@
205 GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@
206 GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@
207 EGL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@
208 EGL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@
209 EGL_PC_CFLAGS = @GL_PC_CFLAGS@
210 WAYLAND_EGL_PC_REQ_PRIV = @WAYLAND_EGL_PC_REQ_PRIV@
211 WAYLAND_EGL_PC_LIB_PRIV = @WAYLAND_EGL_PC_LIB_PRIV@
212 WAYLAND_EGL_PC_CFLAGS = @WAYLAND_EGL_PC_CFLAGS@
213 GBM_PC_REQ_PRIV = @GBM_PC_REQ_PRIV@
214 GBM_PC_LIB_PRIV = @GBM_PC_LIB_PRIV@
215 GBM_PC_CFLAGS = @GBM_PC_CFLAGS@
217 XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@
218 XCB_DRI2_LIBS = @XCB_DRI2_LIBS@
219 LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@
220 LIBUDEV_LIBS = @LIBUDEV_LIBS@
221 WAYLAND_CFLAGS = @WAYLAND_CFLAGS@
222 WAYLAND_LIBS = @WAYLAND_LIBS@
224 MESA_LLVM = @MESA_LLVM@
226 LLVM_VERSION = @LLVM_VERSION@
227 ifneq ($(LLVM_VERSION),)
228   HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=))
229   DEFINES += -DHAVE_LLVM=$(HAVE_LLVM)
230 endif
232 HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@