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