Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  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.         $(VISIBILITY_CFLAGS)
  12.  
  13. AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
  14.  
  15. libgallium_la_SOURCES = \
  16.         $(C_SOURCES) \
  17.         $(GENERATED_SOURCES)
  18.  
  19. if HAVE_MESA_LLVM
  20.  
  21. AM_CFLAGS += \
  22.         $(LLVM_CFLAGS)
  23.  
  24. AM_CXXFLAGS += \
  25.         $(GALLIUM_CFLAGS) \
  26.         $(LLVM_CXXFLAGS)
  27.  
  28. if LLVM_NEEDS_FNORTTI
  29.  
  30. AM_CXXFLAGS += -fno-rtti
  31.  
  32. endif
  33.  
  34. libgallium_la_SOURCES += \
  35.         $(GALLIVM_SOURCES) \
  36.         $(GALLIVM_CPP_SOURCES)
  37.  
  38. endif
  39.  
  40. indices/u_indices_gen.c: $(srcdir)/indices/u_indices_gen.py
  41.         $(MKDIR_P) indices
  42.         $(AM_V_GEN) $(PYTHON2) $< > $@
  43.  
  44. indices/u_unfilled_gen.c: $(srcdir)/indices/u_unfilled_gen.py
  45.         $(MKDIR_P) indices
  46.         $(AM_V_GEN) $(PYTHON2) $< > $@
  47.  
  48. util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py
  49.         $(MKDIR_P) util
  50.         $(AM_V_GEN) $(PYTHON2) $< > $@
  51.  
  52. 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
  53.         $(MKDIR_P) util
  54.         $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
  55.