radeonsi: set COMPUTE_DISPATCH_INITIATOR.ORDER_MODE = 1
[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 $(DEFINES) \
43 $(PTHREAD_CFLAGS) \
44 $(LIBDRM_CFLAGS) \
45 $(VISIBILITY_CFLAGS)
46
47 GALLIUM_COMMON_LIB_DEPS = \
48 -lm \
49 $(LIBUNWIND_LIBS) \
50 $(LIBSENSORS_LIBS) \
51 $(CLOCK_LIB) \
52 $(PTHREAD_LIBS) \
53 $(DLOPEN_LIBS)
54
55 if HAVE_LIBDRM
56 GALLIUM_COMMON_LIB_DEPS += \
57 $(LIBDRM_LIBS)
58 endif
59
60 GALLIUM_WINSYS_CFLAGS = \
61 -I$(top_srcdir)/src \
62 -I$(top_srcdir)/include \
63 -I$(top_srcdir)/src/gallium/include \
64 -I$(top_srcdir)/src/gallium/auxiliary \
65 $(DEFINES) \
66 $(VISIBILITY_CFLAGS)
67
68
69 GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
70 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
71 $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
72
73 if HAVE_DRISW
74 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
75 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
76 endif
77
78 if HAVE_DRISW_KMS
79 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
80 $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
81 $(LIBDRM_LIBS)
82 endif