summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/Makefile.am
blob: bcd49b5fce545e102590c608488db465b6138ec1 (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
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 \
	$(GALLIUM_PIPE_LOADER_DEFINES) \
	$(GALLIUM_CFLAGS) \
	$(VISIBILITY_CFLAGS)

noinst_LTLIBRARIES = libpipe_loader.la

libpipe_loader_la_SOURCES = \
	$(COMMON_SOURCES)

libpipe_loader_la_LIBADD  = $(COMMON_LIBADD) \
	$(GALLIUM_PIPE_LOADER_LIBS)

if HAVE_DRM_LOADER_GALLIUM
AM_CFLAGS += \
	$(LIBDRM_CFLAGS)

libpipe_loader_la_SOURCES += \
	$(DRM_SOURCES)

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

endif