summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipe-loader/Makefile.am
blob: 4ebfc97e6d9871291985ff95bf911b1bb5c6d650 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc

# XXX: check if we need the gallium/winsys include
AM_CFLAGS = \
	-I$(top_srcdir)/src/loader \
	-I$(top_srcdir)/src/gallium/winsys \
	-I$(top_builddir)/src/util \
	$(GALLIUM_PIPE_LOADER_DEFINES) \
	$(GALLIUM_CFLAGS) \
	$(VISIBILITY_CFLAGS)

noinst_LTLIBRARIES = \
	libpipe_loader_static.la \
	libpipe_loader_dynamic.la

libpipe_loader_static_la_CFLAGS = \
	$(AM_CFLAGS) \
	-DGALLIUM_STATIC_TARGETS=1

libpipe_loader_dynamic_la_CFLAGS = \
	$(AM_CFLAGS) \
	-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"

libpipe_loader_static_la_SOURCES = \
	$(COMMON_SOURCES)

libpipe_loader_dynamic_la_SOURCES = \
	$(COMMON_SOURCES)

if HAVE_LIBDRM
AM_CFLAGS += \
	$(LIBDRM_CFLAGS)

libpipe_loader_static_la_SOURCES += \
	$(DRM_SOURCES)

libpipe_loader_dynamic_la_SOURCES += \
	$(DRM_SOURCES)

endif

libpipe_loader_static_la_LIBADD = \
	$(top_builddir)/src/loader/libloader.la

libpipe_loader_dynamic_la_LIBADD = \
	$(top_builddir)/src/loader/libloader.la

EXTRA_DIST = SConscript