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_builddir)/src/glsl/nir \
14 -I$(top_srcdir)/src/gallium/auxiliary/util \
16 $(VISIBILITY_CFLAGS) \
17 $(MSVC2008_COMPAT_CXXFLAGS)
20 $(VISIBILITY_CXXFLAGS) \
21 $(MSVC2008_COMPAT_CXXFLAGS)
23 libgallium_la_SOURCES = \
37 libgallium_la_SOURCES += \
42 indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
43 $(AM_V_at)$(MKDIR_P) indices
44 $(AM_V_GEN) $(PYTHON2) $< > $@
46 indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
47 $(AM_V_at)$(MKDIR_P) indices
48 $(AM_V_GEN) $(PYTHON2) $< > $@
50 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
51 $(AM_V_at)$(MKDIR_P) util
52 $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
55 noinst_LTLIBRARIES += libgalliumvl_stub.la
56 libgalliumvl_stub_la_SOURCES = \
66 $(GALLIUM_PIPE_LOADER_DEFINES) \
67 -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
69 if HAVE_GALLIUM_STATIC_TARGETS
71 -DGALLIUM_STATIC_TARGETS=1
73 endif # HAVE_GALLIUM_STATIC_TARGETS
75 noinst_LTLIBRARIES += libgalliumvl.la
77 libgalliumvl_la_CFLAGS = \
80 libgalliumvl_la_SOURCES = \
83 if NEED_GALLIUM_VL_WINSYS
85 noinst_LTLIBRARIES += libgalliumvlwinsys.la
87 libgalliumvlwinsys_la_CFLAGS = \
90 libgalliumvlwinsys_la_SOURCES = \
100 indices/u_unfilled_indices.c \
101 indices/u_indices_gen.py \
102 indices/u_unfilled_gen.py \
107 util/u_format_pack.py \
108 util/u_format_parse.py \
109 util/u_format_table.py