1include Makefile.sources 2include $(top_srcdir)/src/gallium/Automake.inc 3 4egd_tables.h: $(srcdir)/egd_tables.py $(srcdir)/evergreend.h 5 $(AM_V_at)$(MKDIR_P) $(@D) 6 $(AM_V_GEN) $(PYTHON2) $(srcdir)/egd_tables.py $(srcdir)/evergreend.h > $@ 7 8BUILT_SOURCES = $(R600_GENERATED_FILES) 9AM_CFLAGS = \ 10 $(GALLIUM_DRIVER_CFLAGS) \ 11 $(RADEON_CFLAGS) \ 12 $(LIBELF_CFLAGS) \ 13 -I$(top_srcdir)/src/amd/common 14 15AM_CXXFLAGS = \ 16 $(GALLIUM_DRIVER_CXXFLAGS) \ 17 $(RADEON_CFLAGS) \ 18 $(LIBELF_CFLAGS) \ 19 -I$(top_srcdir)/src/amd/common 20 21noinst_LTLIBRARIES = libr600.la 22 23libr600_la_SOURCES = \ 24 $(C_SOURCES) \ 25 $(CXX_SOURCES) 26 27if HAVE_GALLIUM_LLVM 28 29AM_CFLAGS += \ 30 $(LLVM_CFLAGS) 31 32endif 33 34if HAVE_GALLIUM_COMPUTE 35AM_CFLAGS += \ 36 -DHAVE_OPENCL 37endif 38 39CLEANFILES = \ 40 egd_tables.h 41 42EXTRA_DIST = \ 43 egd_tables.py \ 44 sb/notes.markdown \ 45 sb/sb_bc_fmt_def.inc \ 46 meson.build 47