aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/Makefile.am
blob: a6fc145cb5c48c58730eab44b9c7af8dad16b6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc


AM_CFLAGS = \
	$(GALLIUM_DRIVER_CFLAGS) \
	$(RADEON_CFLAGS) \
	-Wstrict-overflow=0
# ^^ disable warnings about overflows (os_time_timeout)

noinst_LTLIBRARIES = libradeon.la

libradeon_la_SOURCES = \
	$(C_SOURCES)

if NEED_RADEON_LLVM

AM_CFLAGS += \
	$(LLVM_CFLAGS) \
	$(LIBELF_CFLAGS)

libradeon_la_SOURCES += \
	$(LLVM_C_FILES)

libradeon_la_LIBADD = \
	$(CLOCK_LIB) \
	$(LLVM_LIBS) \
	$(LIBELF_LIBS)

libradeon_la_LDFLAGS = \
	$(LLVM_LDFLAGS)

endif

EXTRA_DIST = \
	LLVM_REVISION.txt