gallium/build: Fix visibility CFLAGS in automake
[mesa.git] / src / gallium / drivers / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 AM_CPPFLAGS = \
4 -I$(top_srcdir)/include \
5 -I$(top_srcdir)/src/gallium/include \
6 -I$(top_srcdir)/src/gallium/auxiliary \
7 -I$(top_srcdir)/src/gallium/drivers \
8 $(DEFINES)
9
10 AM_CFLAGS = $(VISIBILITY_CFLAGS)
11
12 noinst_LTLIBRARIES =
13
14 SUBDIRS = .
15
16 ################################################################################
17
18 if HAVE_GALAHAD_GALLIUM
19
20 noinst_LTLIBRARIES += galahad/libgalahad.la
21
22 galahad_libgalahad_la_SOURCES = \
23 galahad/glhd_objects.c \
24 galahad/glhd_context.c \
25 galahad/glhd_screen.c
26
27 endif
28
29 ################################################################################
30
31 if HAVE_IDENTITY_GALLIUM
32
33 noinst_LTLIBRARIES += identity/libidentity.la
34
35 identity_libidentity_la_SOURCES = \
36 identity/id_objects.c \
37 identity/id_context.c \
38 identity/id_screen.c
39
40 endif
41
42 ################################################################################
43
44 if HAVE_NOOP_GALLIUM
45
46 # Meta-driver which combines whichever software rasterizers have been
47 # built into a single convenience library.
48
49 noinst_LTLIBRARIES += noop/libnoop.la
50
51 noop_libnoop_la_SOURCES = \
52 noop/noop_pipe.c \
53 noop/noop_state.c
54
55 endif
56
57 ################################################################################
58
59 if NEED_RADEON_GALLIUM
60
61 SUBDIRS += radeon
62
63 endif
64
65 ################################################################################
66
67 SUBDIRS += $(GALLIUM_MAKE_DIRS)