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 = \
61 $(GALLIUM_PIPE_LOADER_DEFINES) \
62 -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
64 if HAVE_GALLIUM_STATIC_TARGETS
66 -DGALLIUM_STATIC_TARGETS=1
68 endif # HAVE_GALLIUM_STATIC_TARGETS
70 noinst_LTLIBRARIES += libgalliumvl.la
72 libgalliumvl_la_CFLAGS = \
75 libgalliumvl_la_SOURCES = \
78 if NEED_GALLIUM_VL_WINSYS
80 noinst_LTLIBRARIES += libgalliumvlwinsys.la
82 libgalliumvlwinsys_la_CFLAGS = \
85 libgalliumvlwinsys_la_SOURCES = \
95 indices/u_unfilled_indices.c \
96 indices/u_indices_gen.py \
97 indices/u_unfilled_gen.py \
102 util/u_format_pack.py \
103 util/u_format_parse.py \
104 util/u_format_table.py