blob: 232fe40f12e1f44b0bf5172ce7e63a8b956f25da (
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
50
51
|
AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = $(DEFINES) \
$(VISIBILITY_CFLAGS) \
-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
if NEED_WINSYS_XLIB
AM_CPPFLAGS += -DHAVE_WINSYS_XLIB
endif
noinst_LTLIBRARIES =
if HAVE_LOADER_GALLIUM
noinst_LTLIBRARIES += libpipe_loader.la
noinst_LTLIBRARIES += libpipe_loader_client.la
COMMON_SOURCES = \
pipe_loader.h \
pipe_loader_priv.h \
pipe_loader.c \
pipe_loader_sw.c
if HAVE_DRM_LOADER_GALLIUM
AM_CFLAGS = $(LIBDRM_CFLAGS)
COMMON_SOURCES += pipe_loader_drm.c
COMMON_LIBADD = \
$(top_builddir)/src/loader/libloader.la
endif
libpipe_loader_la_CFLAGS = \
$(GALLIUM_PIPE_LOADER_DEFINES) \
$(AM_CFLAGS) $(AM_CPPFLAGS)
libpipe_loader_la_SOURCES = $(COMMON_SOURCES)
libpipe_loader_la_LIBADD = $(COMMON_LIBADD) \
$(GALLIUM_PIPE_LOADER_LIBS)
libpipe_loader_client_la_CFLAGS = \
$(GALLIUM_PIPE_LOADER_CLIENT_DEFINES) \
$(AM_CFLAGS) $(AM_CPPFLAGS)
libpipe_loader_client_la_SOURCES = $(COMMON_SOURCES)
libpipe_loader_client_la_LIBADD = $(COMMON_LIBADD) \
$(GALLIUM_PIPE_LOADER_CLIENT_LIBS)
endif
|