1 AUTOMAKE_OPTIONS = subdir-objects
7 include Makefile.sources
8 include $(top_srcdir)/src/gallium/Automake.inc
10 noinst_LTLIBRARIES = libgallium.la
13 -I$(top_srcdir)/src/gallium/auxiliary/util \
17 AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
19 libgallium_la_SOURCES = \
32 libgallium_la_SOURCES += \
37 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
38 $(AM_V_at)$(MKDIR_P) indices
39 $(AM_V_GEN) $(PYTHON2) $< > $@
41 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
42 $(AM_V_at)$(MKDIR_P) indices
43 $(AM_V_GEN) $(PYTHON2) $< > $@
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 > $@
50 noinst_LTLIBRARIES += libgalliumvl_stub.la
51 libgalliumvl_stub_la_SOURCES = \
56 noinst_LTLIBRARIES += libgalliumvl.la
58 libgalliumvl_la_CFLAGS = \
62 $(GALLIUM_PIPE_LOADER_DEFINES) \
63 -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
65 if HAVE_GALLIUM_STATIC_TARGETS
66 libgalliumvl_la_CFLAGS += \
67 -DGALLIUM_STATIC_TARGETS=1
69 endif # HAVE_GALLIUM_STATIC_TARGETS
71 libgalliumvl_la_SOURCES = \
79 indices/u_unfilled_indices.c \
80 indices/u_indices_gen.py \
81 indices/u_unfilled_gen.py \
86 util/u_format_pack.py \
87 util/u_format_parse.py \
88 util/u_format_table.py