summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/Makefile.am
blob: 8e4d0349f6b2b38c4eb2aa95c8b17baa87036dc8 (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
AUTOMAKE_OPTIONS = subdir-objects

AM_CPPFLAGS = $(DEFINES) \
	$(GALLIUM_PIPE_LOADER_DEFINES) \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src/loader \
	-I$(top_srcdir)/src/gallium/include \
	-I$(top_srcdir)/src/gallium/auxiliary \
	-I$(top_srcdir)/src/gallium/winsys

noinst_LTLIBRARIES =

if HAVE_LOADER_GALLIUM
noinst_LTLIBRARIES += libpipe_loader.la

libpipe_loader_la_SOURCES = \
	pipe_loader.h \
	pipe_loader_priv.h \
	pipe_loader.c \
	pipe_loader_sw.c

if HAVE_DRM_LOADER_GALLIUM
AM_CFLAGS = $(LIBDRM_CFLAGS)

libpipe_loader_la_SOURCES += pipe_loader_drm.c

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

endif
endif