1 AUTOMAKE_OPTIONS = subdir-objects
3 AM_CPPFLAGS = $(DEFINES) \
4 $(GALLIUM_PIPE_LOADER_DEFINES) \
5 -I$(top_srcdir)/include \
6 -I$(top_srcdir)/src/gallium/include \
7 -I$(top_srcdir)/src/gallium/auxiliary \
8 -I$(top_srcdir)/src/gallium/winsys
10 AM_CFLAGS = $(PIC_FLAGS)
14 if HAVE_LOADER_GALLIUM
15 noinst_LTLIBRARIES += libpipe_loader.la
17 libpipe_loader_la_SOURCES = \
23 if HAVE_DRM_LOADER_GALLIUM
24 libpipe_loader_la_SOURCES += pipe_loader_drm.c
25 AM_CFLAGS += $(LIBDRM_CFLAGS)
28 # Provide compatibility with scripts for the old Mesa build system for
29 # a while by putting a link to the library in the current directory.
30 all-local: libpipe_loader.la
31 ln -f .libs/libpipe_loader.a .
34 rm -f libpipe_loader.a
37 # FIXME: Remove when the rest of Gallium is converted to automake.