Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5563 serge 1
include Makefile.sources
2
include $(top_srcdir)/src/gallium/Automake.inc
3
 
4
noinst_LTLIBRARIES = libr600.la
5
 
6
AM_CFLAGS = \
7
	-I$(top_srcdir)/src/gallium/drivers \
8
	-I$(top_srcdir)/include \
9
	$(GALLIUM_CFLAGS) \
10
	$(RADEON_CFLAGS) \
11
	$(VISIBILITY_CFLAGS)
12
 
13
AM_CXXFLAGS = \
14
	-I$(top_srcdir)/src/gallium/drivers \
15
	-I$(top_srcdir)/include \
16
	-I$(top_srcdir)/src/gallium/include \
17
	-I$(top_srcdir)/src/gallium/auxiliary \
18
	$(RADEON_CFLAGS) \
19
	$(DEFINES)
20
 
21
libr600_la_SOURCES = \
22
	$(C_SOURCES) \
23
	$(CXX_SOURCES)
24
 
25
libr600_la_LIBADD = ../radeon/libradeon.la
26
 
27
if R600_NEED_RADEON_GALLIUM
28
 
29
libr600_la_SOURCES += \
30
	$(LLVM_C_SOURCES)
31
 
32
libr600_la_LIBADD += ../radeon/libllvmradeon.la
33
 
34
AM_CFLAGS += \
35
	$(LLVM_CFLAGS) \
36
	-I$(top_srcdir)/src/gallium/drivers/radeon/
37
 
38
endif
39
 
40
if USE_R600_LLVM_COMPILER
41
AM_CFLAGS += \
42
	-DR600_USE_LLVM
43
endif
44
 
45
if HAVE_GALLIUM_COMPUTE
46
AM_CFLAGS += \
47
	-DHAVE_OPENCL
48
endif