r600g: Reinstate include path to common radeon source directory
[mesa.git] / src / gallium / drivers / r600 / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 include Makefile.sources
4 include $(top_srcdir)/src/gallium/Automake.inc
5
6 AM_CFLAGS = \
7 $(GALLIUM_DRIVER_CFLAGS) \
8 $(RADEON_CFLAGS)
9
10 AM_CXXFLAGS = \
11 $(GALLIUM_DRIVER_CXXFLAGS) \
12 $(RADEON_CFLAGS)
13
14 noinst_LTLIBRARIES = libr600.la
15
16 libr600_la_SOURCES = \
17 $(C_SOURCES) \
18 $(CXX_SOURCES)
19
20 if NEED_RADEON_LLVM
21
22 AM_CFLAGS += \
23 $(LLVM_CFLAGS) \
24 -I$(top_srcdir)/src/gallium/drivers/radeon/
25
26 libr600_la_SOURCES += \
27 $(LLVM_C_SOURCES)
28
29 endif
30
31 if USE_R600_LLVM_COMPILER
32 AM_CFLAGS += \
33 -DR600_USE_LLVM
34 endif
35
36 if HAVE_GALLIUM_COMPUTE
37 AM_CFLAGS += \
38 -DHAVE_OPENCL
39 endif