1 # Autoconf configuration 2 3 # Pull in the defaults 4 include $(TOP)/configs/default 5 6 # This is generated by configure 7 CONFIG_NAME = autoconf 8 9 # Compiler and flags 10 CC = @CC@ 11 CXX = @CXX@ 12 PIC_FLAGS = @PIC_FLAGS@ 13 DEFINES = @DEFINES@ 14 API_DEFINES = @API_DEFINES@ 15 SHARED_GLAPI = @SHARED_GLAPI@ 16 CFLAGS_NOVISIBILITY = @CPPFLAGS@ @CFLAGS@ \ 17 $(PIC_FLAGS) $(DEFINES) 18 CXXFLAGS_NOVISIBILITY = @CPPFLAGS@ @CXXFLAGS@ \ 19 $(PIC_FLAGS) $(DEFINES) 20 CFLAGS = $(CFLAGS_NOVISIBILITY) @VISIBILITY_CFLAGS@ 21 CXXFLAGS = $(CXXFLAGS_NOVISIBILITY) @VISIBILITY_CXXFLAGS@ 22 LDFLAGS = @LDFLAGS@ 23 RADEON_CFLAGS = @RADEON_CFLAGS@ 24 RADEON_LIBS = @RADEON_LIBS@ 25 NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@ 26 NOUVEAU_LIBS = @NOUVEAU_LIBS@ 27 INTEL_LIBS = @INTEL_LIBS@ 28 INTEL_CFLAGS = @INTEL_CFLAGS@ 29 X11_LIBS = @X11_LIBS@ 30 X11_CFLAGS = @X11_CFLAGS@ 31 LLVM_BINDIR = @LLVM_BINDIR@ 32 LLVM_CFLAGS = @LLVM_CFLAGS@ 33 LLVM_CPPFLAGS = @LLVM_CPPFLAGS@ 34 LLVM_CXXFLAGS = @LLVM_CXXFLAGS@ 35 LLVM_LDFLAGS = @LLVM_LDFLAGS@ 36 LLVM_LIBDIR = @LLVM_LIBDIR@ 37 LLVM_LIBS = @LLVM_LIBS@ 38 LLVM_INCLUDEDIR = @LLVM_INCLUDEDIR@ 39 GLW_CFLAGS = @GLW_CFLAGS@ 40 GLX_TLS = @GLX_TLS@ 41 42 # dlopen 43 DLOPEN_LIBS = @DLOPEN_LIBS@ 44 45 # Source selection 46 MESA_ASM_FILES = @MESA_ASM_FILES@ 47 48 # Misc tools and flags 49 MAKE = @MAKE@ 50 SHELL = @SHELL@ 51 MKLIB_OPTIONS = @MKLIB_OPTIONS@ 52 MKDEP = @MKDEP@ 53 MKDEP_OPTIONS = @MKDEP_OPTIONS@ 54 INSTALL = @INSTALL@ 55 AWK = @AWK@ 56 GREP = @GREP@ 57 NM = @NM@ 58 59 # Perl 60 PERL = @PERL@ 61 62 # Indent (used for generating dispatch tables) 63 INDENT = @INDENT@ 64 INDENT_FLAGS = @INDENT_FLAGS@ 65 66 # Python and flags (generally only needed by the developers) 67 PYTHON2 = @PYTHON2@ 68 PYTHON_FLAGS = -t -O -O 69 70 # Flex and Bison for GLSL compiler 71 FLEX = @LEX@ 72 BISON = @YACC@ 73 74 # Library names (base name) 75 GL_LIB = @GL_LIB@ 76 GLU_LIB = @GLU_LIB@ 77 GLW_LIB = GLw 78 OSMESA_LIB = @OSMESA_LIB@ 79 GLESv1_CM_LIB = GLESv1_CM 80 GLESv2_LIB = GLESv2 81 VG_LIB = OpenVG 82 GLAPI_LIB = glapi 83 84 # Library names (actual file names) 85 GL_LIB_NAME = @GL_LIB_NAME@ 86 GLU_LIB_NAME = @GLU_LIB_NAME@ 87 GLW_LIB_NAME = @GLW_LIB_NAME@ 88 OSMESA_LIB_NAME = @OSMESA_LIB_NAME@ 89 EGL_LIB_NAME = @EGL_LIB_NAME@ 90 GLESv1_CM_LIB_NAME = @GLESv1_CM_LIB_NAME@ 91 GLESv2_LIB_NAME = @GLESv2_LIB_NAME@ 92 VG_LIB_NAME = @VG_LIB_NAME@ 93 GLAPI_LIB_NAME = @GLAPI_LIB_NAME@ 94 95 # Globs used to install the lib and all symlinks 96 GL_LIB_GLOB = @GL_LIB_GLOB@ 97 GLU_LIB_GLOB = @GLU_LIB_GLOB@ 98 GLW_LIB_GLOB = @GLW_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 105 # Directories to build 106 LIB_DIR = @LIB_DIR@ 107 SRC_DIRS = @SRC_DIRS@ 108 DRIVER_DIRS = @DRIVER_DIRS@ 109 GALLIUM_DIRS = @GALLIUM_DIRS@ 110 GALLIUM_DRIVERS_DIRS = @GALLIUM_DRIVERS_DIRS@ 111 GALLIUM_WINSYS_DIRS = @GALLIUM_WINSYS_DIRS@ 112 GALLIUM_TARGET_DIRS = @GALLIUM_TARGET_DIRS@ 113 GALLIUM_STATE_TRACKERS_DIRS = @GALLIUM_STATE_TRACKERS_DIRS@ 114 GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a 115 GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a) 116 117 # Driver specific build vars 118 DRI_DIRS = @DRI_DIRS@ 119 EGL_PLATFORMS = @EGL_PLATFORMS@ 120 EGL_CLIENT_APIS = @EGL_CLIENT_APIS@ 121 122 # Dependencies 123 X11_INCLUDES = @X11_INCLUDES@ 124 125 # GLw motif setup 126 GLW_SOURCES = @GLW_SOURCES@ 127 MOTIF_CFLAGS = @MOTIF_CFLAGS@ 128 129 # Library/program dependencies 130 GL_LIB_DEPS = @GL_LIB_DEPS@ 131 OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @OSMESA_MESA_DEPS@ \ 132 @OSMESA_LIB_DEPS@ 133 EGL_LIB_DEPS = @EGL_LIB_DEPS@ 134 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLU_MESA_DEPS@ \ 135 @GLU_LIB_DEPS@ 136 GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \ 137 @GLW_LIB_DEPS@ 138 GLESv1_CM_LIB_DEPS = @GLESv1_CM_LIB_DEPS@ 139 GLESv2_LIB_DEPS = @GLESv2_LIB_DEPS@ 140 VG_LIB_DEPS = @VG_LIB_DEPS@ 141 GLAPI_LIB_DEPS = @GLAPI_LIB_DEPS@ 142 143 # DRI dependencies 144 DRI_LIB_DEPS = @DRI_LIB_DEPS@ 145 GALLIUM_DRI_LIB_DEPS = @GALLIUM_DRI_LIB_DEPS@ 146 LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ 147 LIBDRM_LIBS = @LIBDRM_LIBS@ 148 DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@ 149 GLPROTO_CFLAGS = @GLPROTO_CFLAGS@ 150 EXPAT_INCLUDES = @EXPAT_INCLUDES@ 151 152 # Autoconf directories 153 prefix = @prefix@ 154 exec_prefix = @exec_prefix@ 155 libdir = @libdir@ 156 includedir = @includedir@ 157 158 # Installation directories (for make install) 159 INSTALL_DIR = $(prefix) 160 INSTALL_LIB_DIR = $(libdir) 161 INSTALL_INC_DIR = $(includedir) 162 163 # DRI installation directories 164 DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@ 165 166 # Where libGL will look for DRI hardware drivers 167 DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@ 168 169 # EGL driver install directory 170 EGL_DRIVER_INSTALL_DIR = @EGL_DRIVER_INSTALL_DIR@ 171 172 # XVMC library install directory 173 XVMC_LIB_INSTALL_DIR=@XVMC_LIB_INSTALL_DIR@ 174 175 # VDPAU library install directory 176 VDPAU_LIB_INSTALL_DIR=@VDPAU_LIB_INSTALL_DIR@ 177 178 # VA library install directory 179 VA_LIB_INSTALL_DIR=@VA_LIB_INSTALL_DIR@ 180 181 # Xorg driver install directory (for xorg state-tracker) 182 XORG_DRIVER_INSTALL_DIR = @XORG_DRIVER_INSTALL_DIR@ 183 184 # Path to OpenCL C library libclc 185 LIBCLC_INCLUDEDIR = @LIBCLC_INCLUDEDIR@ 186 LIBCLC_LIBEXECDIR = @LIBCLC_LIBEXECDIR@ 187 188 # pkg-config substitutions 189 GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@ 190 GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@ 191 GL_PC_CFLAGS = @GL_PC_CFLAGS@ 192 DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@ 193 GLU_PC_REQ = @GLU_PC_REQ@ 194 GLU_PC_REQ_PRIV = @GLU_PC_REQ_PRIV@ 195 GLU_PC_LIB_PRIV = @GLU_PC_LIB_PRIV@ 196 GLU_PC_CFLAGS = @GLU_PC_CFLAGS@ 197 GLW_PC_REQ_PRIV = @GLW_PC_REQ_PRIV@ 198 GLW_PC_LIB_PRIV = @GLW_PC_LIB_PRIV@ 199 GLW_PC_CFLAGS = @GLW_PC_CFLAGS@ 200 OSMESA_PC_REQ = @OSMESA_PC_REQ@ 201 OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@ 202 GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@ 203 GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@ 204 EGL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@ 205 EGL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@ 206 EGL_PC_CFLAGS = @GL_PC_CFLAGS@ 207 208 XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@ 209 XCB_DRI2_LIBS = @XCB_DRI2_LIBS@ 210 LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@ 211 LIBUDEV_LIBS = @LIBUDEV_LIBS@ 212 WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ 213 WAYLAND_LIBS = @WAYLAND_LIBS@ 214 215 MESA_LLVM = @MESA_LLVM@ 216 217 LLVM_VERSION = @LLVM_VERSION@ 218 219 HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@ 220 221 GALLIUM_PIPE_LOADER_DEFINES = @GALLIUM_PIPE_LOADER_DEFINES@ 222 GALLIUM_PIPE_LOADER_LIBS = @GALLIUM_PIPE_LOADER_LIBS@ 223