2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)/src/gallium/include \
4 -I$(top_srcdir)/src/gallium/auxiliary \
7 # src/gallium/auxiliary must appear before src/gallium/drivers
8 # because there are stupidly two rbug_context.h files in
9 # different directories, and which one is included by the
10 # preprocessor is determined by the ordering of the -I flags.
11 GALLIUM_DRIVER_CFLAGS = \
13 -I$(top_srcdir)/include \
14 -I$(top_srcdir)/src/gallium/include \
15 -I$(top_srcdir)/src/gallium/auxiliary \
16 -I$(top_srcdir)/src/gallium/drivers \
20 GALLIUM_DRIVER_CXXFLAGS = \
22 -I$(top_srcdir)/include \
23 -I$(top_srcdir)/src/gallium/include \
24 -I$(top_srcdir)/src/gallium/auxiliary \
25 -I$(top_srcdir)/src/gallium/drivers \
27 $(VISIBILITY_CXXFLAGS)
29 GALLIUM_DRI_CFLAGS = \
30 -I$(top_srcdir)/include \
31 -I$(top_srcdir)/src/gallium/include \
32 -I$(top_srcdir)/src/gallium/auxiliary \
33 -I$(top_srcdir)/src/gallium/drivers \
34 -I$(top_srcdir)/src/gallium/winsys \
35 -I$(top_srcdir)/src/mesa \
36 -I$(top_srcdir)/src/mapi \
42 GALLIUM_VIDEO_CFLAGS = \
43 -I$(top_srcdir)/include \
44 -I$(top_srcdir)/src/gallium/include \
45 -I$(top_srcdir)/src/gallium/auxiliary \
46 -I$(top_srcdir)/src/gallium/drivers \
47 -I$(top_srcdir)/src/gallium/winsys \
54 GALLIUM_DRI_LINKER_FLAGS = \
61 GALLIUM_VDPAU_LINKER_FLAGS = \
65 -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
69 GALLIUM_XVMC_LINKER_FLAGS = \
73 -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
77 GALLIUM_OMX_LINKER_FLAGS = \
85 if HAVE_LD_VERSION_SCRIPT
86 GALLIUM_DRI_LINKER_FLAGS += \
87 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/dri.sym
89 GALLIUM_VDPAU_LINKER_FLAGS += \
90 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/vdpau.sym
92 GALLIUM_XVMC_LINKER_FLAGS += \
93 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/xvmc.sym
95 GALLIUM_OMX_LINKER_FLAGS += \
96 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/omx.sym
100 GALLIUM_COMMON_LIB_DEPS = \
106 GALLIUM_DRI_LIB_DEPS = \
107 $(top_builddir)/src/mesa/libmesagallium.la \
108 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
112 $(GALLIUM_COMMON_LIB_DEPS)
114 GALLIUM_VDPAU_LIB_DEPS = \
115 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
116 $(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
119 $(GALLIUM_COMMON_LIB_DEPS)
121 GALLIUM_XVMC_LIB_DEPS = \
122 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
123 $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
126 $(GALLIUM_COMMON_LIB_DEPS)
128 GALLIUM_OMX_LIB_DEPS = \
129 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
130 $(top_builddir)/src/gallium/state_trackers/omx/libomxtracker.la \
132 $(GALLIUM_COMMON_LIB_DEPS)
134 GALLIUM_WINSYS_CFLAGS = \
135 -I$(top_srcdir)/include \
136 -I$(top_srcdir)/src/gallium/include \
137 -I$(top_srcdir)/src/gallium/auxiliary \
143 GALLIUM_DRI_LINKER_FLAGS += $(LLVM_LDFLAGS)
144 GALLIUM_VDPAU_LINKER_FLAGS += $(LLVM_LDFLAGS)
145 GALLIUM_XVMC_LINKER_FLAGS += $(LLVM_LDFLAGS)
146 GALLIUM_OMX_LINKER_FLAGS += $(LLVM_LDFLAGS)
148 GALLIUM_DRI_LIB_DEPS += $(LLVM_LIBS)
149 GALLIUM_VDPAU_LIB_DEPS += $(LLVM_LIBS)
150 GALLIUM_XVMC_LIB_DEPS += $(LLVM_LIBS)
151 GALLIUM_OMX_LIB_DEPS += $(LLVM_LIBS)