gallium: Move sRGB <-> RGB handling to libmesautil
[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 $(DEFINES) \
20 $(VISIBILITY_CFLAGS)
21
22 GALLIUM_DRIVER_CXXFLAGS = \
23 -I$(srcdir)/include \
24 -I$(top_srcdir)/src \
25 -I$(top_srcdir)/include \
26 -I$(top_srcdir)/src/gallium/include \
27 -I$(top_srcdir)/src/gallium/auxiliary \
28 -I$(top_srcdir)/src/gallium/drivers \
29 $(DEFINES) \
30 $(VISIBILITY_CXXFLAGS)
31
32 GALLIUM_TARGET_CFLAGS = \
33 -I$(top_srcdir)/include \
34 -I$(top_srcdir)/src/loader \
35 -I$(top_srcdir)/src/gallium/include \
36 -I$(top_srcdir)/src/gallium/auxiliary \
37 -I$(top_srcdir)/src/gallium/drivers \
38 -I$(top_srcdir)/src/gallium/winsys \
39 $(DEFINES) \
40 $(PTHREAD_CFLAGS) \
41 $(LIBDRM_CFLAGS) \
42 $(VISIBILITY_CFLAGS)
43
44 GALLIUM_COMMON_LIB_DEPS = \
45 -lm \
46 $(CLOCK_LIB) \
47 $(PTHREAD_LIBS) \
48 $(DLOPEN_LIBS)
49
50 GALLIUM_WINSYS_CFLAGS = \
51 -I$(top_srcdir)/include \
52 -I$(top_srcdir)/src/gallium/include \
53 -I$(top_srcdir)/src/gallium/auxiliary \
54 $(DEFINES) \
55 $(VISIBILITY_CFLAGS)
56
57
58 GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
59 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la
60
61 if HAVE_DRISW
62 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
63 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
64 endif
65
66 if NEED_WINSYS_XLIB
67 GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
68 $(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
69 -lX11 -lXext -lXfixes \
70 $(LIBDRM_LIBS)
71 endif