1 AUTOMAKE_OPTIONS = subdir-objects 2 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 9 10 AM_CFLAGS = $(PIC_FLAGS) 11 12 noinst_LTLIBRARIES = 13 14 if HAVE_LOADER_GALLIUM 15 noinst_LTLIBRARIES += libpipe_loader.la 16 17 libpipe_loader_la_SOURCES = \ 18 pipe_loader.h \ 19 pipe_loader_priv.h \ 20 pipe_loader.c \ 21 pipe_loader_sw.c 22 23 if HAVE_DRM_LOADER_GALLIUM 24 libpipe_loader_la_SOURCES += pipe_loader_drm.c 25 AM_CFLAGS += $(LIBDRM_CFLAGS) 26 endif 27 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 . 32 33 clean-local: 34 rm -f libpipe_loader.a 35 endif 36 37 # FIXME: Remove when the rest of Gallium is converted to automake. 38 default: all 39