build: Don't build pipebuffer
[mesa.git] / src / gallium / auxiliary / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 include Makefile.sources
4 include $(top_srcdir)/src/gallium/Automake.inc
5
6 noinst_LTLIBRARIES = libgallium.la
7
8 AM_CFLAGS = \
9 -I$(top_srcdir)/src/gallium/auxiliary/util \
10 $(GALLIUM_CFLAGS)
11
12 libgallium_la_SOURCES = \
13 $(C_SOURCES) \
14 $(GENERATED_SOURCES)
15
16 if HAVE_MESA_LLVM
17
18 AM_CFLAGS += \
19 $(LLVM_CFLAGS)
20
21 AM_CXXFLAGS = \
22 $(GALLIUM_CFLAGS) \
23 $(LLVM_CXXFLAGS)
24
25 if LLVM_NEEDS_FNORTTI
26
27 AM_CXXFLAGS += -fno-rtti
28
29 endif
30
31 libgallium_la_SOURCES += \
32 $(GALLIVM_SOURCES) \
33 $(GALLIVM_CPP_SOURCES)
34
35 endif
36
37 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
38 $(AM_V_GEN) $(PYTHON2) $< > $@
39
40 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
41 $(AM_V_GEN) $(PYTHON2) $< > $@
42
43 util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py
44 $(AM_V_GEN) $(PYTHON2) $< > $@
45
46 util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv
47 $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
48
49 #XXX: Delete this when all targets are converted to automake.
50 all-local: libgallium.la
51 ln -f $(builddir)/.libs/libgallium.a $(builddir)/libgallium.a