OSDN Git Service

radeonsi: initial WIP SI code
[android-x86/external-mesa.git] / src / gallium / drivers / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 AM_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         $(ASM_FLAGS) \
9         $(PIC_FLAGS)
10
11 noinst_LIBRARIES =
12
13 SUBDIRS =
14
15 ################################################################################
16
17 if HAVE_GALAHAD_GALLIUM
18
19 noinst_LIBRARIES+= galahad/libgalahad.a
20
21 galahad_libgalahad_a_SOURCES = \
22         galahad/glhd_objects.c \
23         galahad/glhd_context.c \
24         galahad/glhd_screen.c
25
26 endif
27
28 ################################################################################
29
30 if HAVE_IDENTITY_GALLIUM
31
32 noinst_LIBRARIES+= identity/libidentity.a
33
34 identity_libidentity_a_SOURCES = \
35         identity/id_objects.c \
36         identity/id_context.c \
37         identity/id_screen.c
38
39 endif
40
41 ################################################################################
42
43 if HAVE_NOOP_GALLIUM
44
45 # Meta-driver which combines whichever software rasterizers have been
46 # built into a single convenience library.
47
48 noinst_LIBRARIES+= noop/libnoop.a
49
50 noop_libnoop_a_SOURCES = \
51         noop/noop_pipe.c \
52         noop/noop_state.c
53
54 endif
55
56 ################################################################################
57
58 if NEED_RADEON_GALLIUM
59
60 SUBDIRS+= radeon
61
62 endif
63
64 ################################################################################
65
66 SUBDIRS+= $(GALLIUM_MAKE_DIRS)
67
68 # FIXME: Remove when the rest of Gallium is converted to automake.
69 default: all
70