summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/Makefile.am
blob: a70b8f7fe622969bc83d4fac3e4175d7e30acc7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
AUTOMAKE_OPTIONS = subdir-objects

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/gallium/include \
	-I$(top_srcdir)/src/gallium/auxiliary \
	-I$(top_srcdir)/src/gallium/drivers \
	$(DEFINES)

AM_CFLAGS = $(VISIBILITY_CFLAGS)

noinst_LTLIBRARIES =

SUBDIRS = .

################################################################################

if HAVE_GALAHAD_GALLIUM

noinst_LTLIBRARIES += galahad/libgalahad.la

galahad_libgalahad_la_SOURCES = \
	galahad/glhd_objects.c \
	galahad/glhd_context.c \
	galahad/glhd_screen.c

endif

################################################################################

if HAVE_IDENTITY_GALLIUM

noinst_LTLIBRARIES += identity/libidentity.la

identity_libidentity_la_SOURCES = \
	identity/id_objects.c \
	identity/id_context.c \
	identity/id_screen.c

endif

################################################################################

if HAVE_NOOP_GALLIUM

# Meta-driver which combines whichever software rasterizers have been
# built into a single convenience library.

noinst_LTLIBRARIES += noop/libnoop.la

noop_libnoop_la_SOURCES = \
	noop/noop_pipe.c \
	noop/noop_state.c

endif

################################################################################

if NEED_RADEON_GALLIUM

SUBDIRS += radeon

endif

################################################################################

SUBDIRS += $(GALLIUM_MAKE_DIRS)

# FIXME: Remove when the rest of Gallium is converted to automake.
default: all

all-local: $(noinst_LTLIBRARIES)
if HAVE_GALAHAD_GALLIUM
	ln -f $(builddir)/galahad/.libs/libgalahad.a $(builddir)/galahad/libgalahad.a
endif
if HAVE_IDENTITY_GALLIUM
	ln -f $(builddir)/identity/.libs/libidentity.a $(builddir)/identity/libidentity.a
endif
if HAVE_NOOP_GALLIUM
	ln -f $(builddir)/noop/.libs/libnoop.a $(builddir)/noop/libnoop.a
endif