gallium/auxiliary: Remove GALLIVM_CPP_SOURCES
[mesa.git] / src / gallium / auxiliary / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 if HAVE_LOADER_GALLIUM
4 SUBDIRS := pipe-loader
5 endif
6
7 include Makefile.sources
8 include $(top_srcdir)/src/gallium/Automake.inc
9
10 noinst_LTLIBRARIES = libgallium.la
11
12 AM_CFLAGS = \
13 -I$(top_srcdir)/src/gallium/auxiliary/util \
14 $(GALLIUM_CFLAGS) \
15 $(VISIBILITY_CFLAGS)
16
17 AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
18
19 libgallium_la_SOURCES = \
20 $(C_SOURCES) \
21 $(GENERATED_SOURCES)
22
23 if HAVE_MESA_LLVM
24
25 AM_CFLAGS += \
26 $(LLVM_CFLAGS)
27
28 AM_CXXFLAGS += \
29 $(GALLIUM_CFLAGS) \
30 $(LLVM_CXXFLAGS)
31
32 libgallium_la_SOURCES += \
33 $(GALLIVM_SOURCES)
34
35 endif
36
37 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
38 $(AM_V_at)$(MKDIR_P) indices
39 $(AM_V_GEN) $(PYTHON2) $< > $@
40
41 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
42 $(AM_V_at)$(MKDIR_P) indices
43 $(AM_V_GEN) $(PYTHON2) $< > $@
44
45 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
46 $(AM_V_at)$(MKDIR_P) util
47 $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
48
49 EXTRA_DIST = \
50 Android.mk SConscript \
51 indices/u_indices.c \
52 indices/u_unfilled_indices.c \
53 indices/u_indices_gen.py \
54 indices/u_unfilled_gen.py \
55 target-helpers \
56 util/u_format.csv \
57 util/u_format_pack.py \
58 util/u_format_parse.py \
59 util/u_format_table.py \
60 vl/vl_winsys_dri.c