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 DRI_VERSION_SCRIPT ?= $(top_srcdir)/src/gallium/state_trackers/dri/dri.link
56 GALLIUM_DRI_LINKER_FLAGS = \
60 -Wl,--version-script=$(DRI_VERSION_SCRIPT)
62 GALLIUM_VDPAU_LINKER_FLAGS = \
66 -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
67 -export-symbols-regex $(VDPAU_EXPORTS) \
70 GALLIUM_XVMC_LINKER_FLAGS = \
74 -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
75 -export-symbols-regex '^XvMC' \
78 GALLIUM_OMX_LINKER_FLAGS = \
82 -export-symbols-regex $(EXPORTS) \
85 GALLIUM_VDPAU_LIB_DEPS = \
86 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
87 $(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
95 GALLIUM_XVMC_LIB_DEPS = \
96 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
97 $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
101 GALLIUM_OMX_LIB_DEPS = \
102 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
103 $(top_builddir)/src/gallium/state_trackers/omx/libomxtracker.la \
104 $(GALLIUM_DRI_LIB_DEPS) \
107 GALLIUM_WINSYS_CFLAGS = \
108 -I$(top_srcdir)/include \
109 -I$(top_srcdir)/src/gallium/include \
110 -I$(top_srcdir)/src/gallium/auxiliary \
116 GALLIUM_DRI_LINKER_FLAGS += $(LLVM_LDFLAGS)
117 GALLIUM_VDPAU_LINKER_FLAGS += $(LLVM_LDFLAGS)
118 GALLIUM_XVMC_LINKER_FLAGS += $(LLVM_LDFLAGS)
119 GALLIUM_OMX_LINKER_FLAGS += $(LLVM_LDFLAGS)
121 GALLIUM_DRI_LIB_DEPS += $(LLVM_LIBS)
122 GALLIUM_VDPAU_LIB_DEPS += $(LLVM_LIBS)
123 GALLIUM_XVMC_LIB_DEPS += $(LLVM_LIBS)
124 GALLIUM_OMX_LIB_DEPS += $(LLVM_LIBS)