ilo: add the driver to the build system
[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 = . trace rbug
15
16 ################################################################################
17
18 noinst_LTLIBRARIES += galahad/libgalahad.la
19
20 galahad_libgalahad_la_SOURCES = \
21 galahad/glhd_objects.c \
22 galahad/glhd_context.c \
23 galahad/glhd_screen.c
24
25 ################################################################################
26
27 noinst_LTLIBRARIES += identity/libidentity.la
28
29 identity_libidentity_la_SOURCES = \
30 identity/id_objects.c \
31 identity/id_context.c \
32 identity/id_screen.c
33
34 ################################################################################
35
36 # Meta-driver which combines whichever software rasterizers have been
37 # built into a single convenience library.
38
39 noinst_LTLIBRARIES += noop/libnoop.la
40
41 noop_libnoop_la_SOURCES = \
42 noop/noop_pipe.c \
43 noop/noop_state.c
44
45 ################################################################################
46
47 if HAVE_GALLIUM_R600
48
49 SUBDIRS += radeon
50
51 else
52
53 if HAVE_GALLIUM_RADEONSI
54
55 SUBDIRS += radeon
56
57 endif
58
59 endif
60
61 ################################################################################
62
63 if HAVE_GALLIUM_FREEDRENO
64
65 SUBDIRS += freedreno
66
67 endif
68
69 ################################################################################
70
71 if HAVE_GALLIUM_I915
72
73 SUBDIRS += i915
74
75 endif
76
77 ################################################################################
78
79 if HAVE_GALLIUM_ILO
80
81 SUBDIRS += ilo
82
83 endif
84
85 ################################################################################
86
87 if HAVE_GALLIUM_NOUVEAU
88
89 SUBDIRS += nouveau nv30 nv50 nvc0
90
91 endif
92
93 ################################################################################
94
95 if HAVE_GALLIUM_SVGA
96
97 SUBDIRS += svga
98
99 endif
100
101 ################################################################################
102
103 if HAVE_GALLIUM_R300
104
105 SUBDIRS += r300
106
107 endif
108
109 ################################################################################
110
111 if HAVE_GALLIUM_R600
112
113 SUBDIRS += r600
114
115 endif
116
117 ################################################################################
118
119 if HAVE_GALLIUM_RADEONSI
120
121 SUBDIRS += radeonsi
122
123 endif
124
125 ################################################################################
126
127 if NEED_GALLIUM_SOFTPIPE_DRIVER
128
129 SUBDIRS += softpipe
130
131 endif
132
133 ################################################################################
134
135 if NEED_GALLIUM_LLVMPIPE_DRIVER
136
137 SUBDIRS += llvmpipe
138
139 endif