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/state_trackers/dri/common \
32 -I$(top_srcdir)/src/mesa/drivers/dri/common \
33 -I$(top_srcdir)/src/gallium/include \
34 -I$(top_srcdir)/src/gallium/auxiliary \
35 -I$(top_srcdir)/src/gallium/drivers \
36 -I$(top_srcdir)/src/gallium/winsys \
37 -I$(top_srcdir)/src/mesa \
38 -I$(top_srcdir)/src/mapi \
44 GALLIUM_TARGET_CFLAGS = \
45 -I$(top_srcdir)/include \
46 -I$(top_srcdir)/src/loader \
47 -I$(top_srcdir)/src/gallium/include \
48 -I$(top_srcdir)/src/gallium/auxiliary \
49 -I$(top_srcdir)/src/gallium/drivers \
50 -I$(top_srcdir)/src/gallium/winsys \
57 GALLIUM_DRI_LINKER_FLAGS = \
64 if HAVE_LD_VERSION_SCRIPT
65 GALLIUM_DRI_LINKER_FLAGS += \
66 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/dri/dri.sym
71 GALLIUM_COMMON_LIB_DEPS = \
77 GALLIUM_DRI_LIB_DEPS = \
78 $(top_builddir)/src/mesa/libmesagallium.la \
79 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
83 $(GALLIUM_COMMON_LIB_DEPS)
85 GALLIUM_WINSYS_CFLAGS = \
86 -I$(top_srcdir)/include \
87 -I$(top_srcdir)/src/gallium/include \
88 -I$(top_srcdir)/src/gallium/auxiliary \
93 GALLIUM_DRI_LINKER_FLAGS += $(LLVM_LDFLAGS)
94 GALLIUM_DRI_LIB_DEPS += $(LLVM_LIBS)
98 GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
99 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la
102 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
103 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
107 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
108 $(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
109 -lX11 -lXext -lXfixes \