gallium: Fix uninitialized variable warning in compute test.
[mesa.git] / src / gallium / Automake.inc
1 GALLIUM_CFLAGS = \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)/src \
4 -I$(top_srcdir)/src/gallium/include \
5 -I$(top_srcdir)/src/gallium/auxiliary \
6 $(DEFINES)
7
8 # src/gallium/auxiliary must appear before src/gallium/drivers
9 # because there are stupidly two rbug_context.h files in
10 # different directories, and which one is included by the
11 # preprocessor is determined by the ordering of the -I flags.
12 GALLIUM_DRIVER_CFLAGS = \
13 -I$(srcdir)/include \
14 -I$(top_srcdir)/src \
15 -I$(top_srcdir)/include \
16 -I$(top_srcdir)/src/gallium/include \
17 -I$(top_srcdir)/src/gallium/auxiliary \
18 -I$(top_srcdir)/src/gallium/drivers \
19 -I$(top_srcdir)/src/gallium/winsys \
20 $(DEFINES) \
21 $(VISIBILITY_CFLAGS)
22
23 GALLIUM_DRIVER_CXXFLAGS = \
24 -I$(srcdir)/include \
25 -I$(top_srcdir)/src \
26 -I$(top_srcdir)/include \
27 -I$(top_srcdir)/src/gallium/include \
28 -I$(top_srcdir)/src/gallium/auxiliary \
29 -I$(top_srcdir)/src/gallium/drivers \
30 -I$(top_srcdir)/src/gallium/winsys \
31 $(DEFINES) \
32 $(VISIBILITY_CXXFLAGS)
33
34 GALLIUM_TARGET_CFLAGS = \
35 -I$(top_srcdir)/src \
36 -I$(top_srcdir)/include \
37 -I$(top_srcdir)/src/loader \
38 -I$(top_srcdir)/src/gallium/include \
39 -I$(top_srcdir)/src/gallium/auxiliary \
40 -I$(top_srcdir)/src/gallium/drivers \
41 -I$(top_srcdir)/src/gallium/winsys \
42 -I$(top_builddir)/src/util/ \
43 -I$(top_builddir)/src/gallium/drivers/ \
44 $(DEFINES) \
45 $(PTHREAD_CFLAGS) \
46 $(LIBDRM_CFLAGS) \
47 $(VISIBILITY_CFLAGS)
48
49 GALLIUM_COMMON_LIB_DEPS = \
50 -lm \
51 $(LIBUNWIND_LIBS) \
52 $(LIBSENSORS_LIBS) \
53 $(CLOCK_LIB) \
54 $(PTHREAD_LIBS) \
55 $(DLOPEN_LIBS)
56
57 if HAVE_LIBDRM
58 GALLIUM_COMMON_LIB_DEPS += \
59 $(LIBDRM_LIBS)
60 endif
61
62 if HAVE_PLATFORM_ANDROID
63 GALLIUM_COMMON_LIB_DEPS += \
64 $(ANDROID_LIBS) \
65 $(BACKTRACE_LIBS)
66 endif
67
68 GALLIUM_WINSYS_CFLAGS = \
69 -I$(top_srcdir)/src \
70 -I$(top_srcdir)/include \
71 -I$(top_srcdir)/src/gallium/include \
72 -I$(top_srcdir)/src/gallium/auxiliary \
73 $(DEFINES) \
74 $(VISIBILITY_CFLAGS)
75
76
77 GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
78 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
79 $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
80
81 if HAVE_DRISW
82 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
83 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
84 endif
85
86 if HAVE_DRISW_KMS
87 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
88 $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
89 $(LIBDRM_LIBS)
90 endif