1AUTOMAKE_OPTIONS = subdir-objects
2
3AM_CPPFLAGS = \
4	-I$(top_srcdir)/src/gallium/include \
5	-I$(top_srcdir)/src/gallium/auxiliary \
6	-I$(top_srcdir)/src/gallium/drivers \
7	$(DEFINES) \
8	$(PIC_FLAGS)
9
10AM_CFLAGS = $(VISIBILITY_CFLAGS)
11
12noinst_LIBRARIES =
13
14SUBDIRS =
15
16################################################################################
17
18if HAVE_GALAHAD_GALLIUM
19
20noinst_LIBRARIES+= galahad/libgalahad.a
21
22galahad_libgalahad_a_SOURCES = \
23	galahad/glhd_objects.c \
24	galahad/glhd_context.c \
25	galahad/glhd_screen.c
26
27endif
28
29################################################################################
30
31if HAVE_IDENTITY_GALLIUM
32
33noinst_LIBRARIES+= identity/libidentity.a
34
35identity_libidentity_a_SOURCES = \
36	identity/id_objects.c \
37	identity/id_context.c \
38	identity/id_screen.c
39
40endif
41
42################################################################################
43
44if HAVE_NOOP_GALLIUM
45
46# Meta-driver which combines whichever software rasterizers have been
47# built into a single convenience library.
48
49noinst_LIBRARIES+= noop/libnoop.a
50
51noop_libnoop_a_SOURCES = \
52	noop/noop_pipe.c \
53	noop/noop_state.c
54
55endif
56
57################################################################################
58
59if NEED_RADEON_GALLIUM
60
61SUBDIRS+= radeon
62
63endif
64
65################################################################################
66
67SUBDIRS+= $(GALLIUM_MAKE_DIRS)
68
69# FIXME: Remove when the rest of Gallium is converted to automake.
70default: all
71
72