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 = \
59 if HAVE_LD_VERSION_SCRIPT
60 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/dri.sym \
64 GALLIUM_VDPAU_LINKER_FLAGS = \
68 -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
69 if HAVE_LD_VERSION_SCRIPT
70 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/vdpau.sym \
75 GALLIUM_XVMC_LINKER_FLAGS = \
79 -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
80 if HAVE_LD_VERSION_SCRIPT
81 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/xvmc.sym \
86 GALLIUM_OMX_LINKER_FLAGS = \
91 if HAVE_LD_VERSION_SCRIPT
92 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/omx.sym \
97 GALLIUM_COMMON_LIB_DEPS = \
103 GALLIUM_DRI_LIB_DEPS = \
104 $(top_builddir)/src/mesa/libmesagallium.la \
105 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
109 $(GALLIUM_COMMON_LIB_DEPS)
111 GALLIUM_VDPAU_LIB_DEPS = \
112 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
113 $(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
116 $(GALLIUM_COMMON_LIB_DEPS)
118 GALLIUM_XVMC_LIB_DEPS = \
119 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
120 $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
123 $(GALLIUM_COMMON_LIB_DEPS)
125 GALLIUM_OMX_LIB_DEPS = \
126 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
127 $(top_builddir)/src/gallium/state_trackers/omx/libomxtracker.la \
129 $(GALLIUM_COMMON_LIB_DEPS)
131 GALLIUM_WINSYS_CFLAGS = \
132 -I$(top_srcdir)/include \
133 -I$(top_srcdir)/src/gallium/include \
134 -I$(top_srcdir)/src/gallium/auxiliary \
140 GALLIUM_DRI_LINKER_FLAGS += $(LLVM_LDFLAGS)
141 GALLIUM_VDPAU_LINKER_FLAGS += $(LLVM_LDFLAGS)
142 GALLIUM_XVMC_LINKER_FLAGS += $(LLVM_LDFLAGS)
143 GALLIUM_OMX_LINKER_FLAGS += $(LLVM_LDFLAGS)
145 GALLIUM_DRI_LIB_DEPS += $(LLVM_LIBS)
146 GALLIUM_VDPAU_LIB_DEPS += $(LLVM_LIBS)
147 GALLIUM_XVMC_LIB_DEPS += $(LLVM_LIBS)
148 GALLIUM_OMX_LIB_DEPS += $(LLVM_LIBS)