gbm: Create a gbm_device getter for stride
[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 $(LIBSENSORS_LIBS) \
50 $(CLOCK_LIB) \
51 $(PTHREAD_LIBS) \
52 $(DLOPEN_LIBS)
53
54 if HAVE_LIBDRM
55 GALLIUM_COMMON_LIB_DEPS += \
56 $(LIBDRM_LIBS)
57 endif
58
59 GALLIUM_WINSYS_CFLAGS = \
60 -I$(top_srcdir)/src \
61 -I$(top_srcdir)/include \
62 -I$(top_srcdir)/src/gallium/include \
63 -I$(top_srcdir)/src/gallium/auxiliary \
64 $(DEFINES) \
65 $(VISIBILITY_CFLAGS)
66
67
68 GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
69 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
70 $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
71
72 if HAVE_DRISW
73 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
74 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
75 endif
76
77 if HAVE_DRISW_KMS
78 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
79 $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
80 $(LIBDRM_LIBS)
81 endif