1include Makefile.sources 2include $(top_srcdir)/src/gallium/Automake.inc 3 4# XXX: check if we need the gallium/winsys include 5AM_CFLAGS = \ 6 -I$(top_srcdir)/src/loader \ 7 -I$(top_srcdir)/src/gallium/winsys \ 8 -I$(top_builddir)/src/util \ 9 $(GALLIUM_PIPE_LOADER_DEFINES) \ 10 $(GALLIUM_CFLAGS) \ 11 $(VISIBILITY_CFLAGS) 12 13noinst_LTLIBRARIES = \ 14 libpipe_loader_static.la \ 15 libpipe_loader_dynamic.la 16 17libpipe_loader_static_la_CFLAGS = \ 18 $(AM_CFLAGS) \ 19 -DGALLIUM_STATIC_TARGETS=1 20 21libpipe_loader_dynamic_la_CFLAGS = \ 22 $(AM_CFLAGS) \ 23 -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" 24 25libpipe_loader_static_la_SOURCES = \ 26 $(COMMON_SOURCES) 27 28libpipe_loader_dynamic_la_SOURCES = \ 29 $(COMMON_SOURCES) 30 31if HAVE_LIBDRM 32AM_CFLAGS += \ 33 $(LIBDRM_CFLAGS) 34 35libpipe_loader_static_la_SOURCES += \ 36 $(DRM_SOURCES) 37 38libpipe_loader_dynamic_la_SOURCES += \ 39 $(DRM_SOURCES) 40 41endif 42 43libpipe_loader_static_la_LIBADD = \ 44 $(top_builddir)/src/loader/libloader.la \ 45 $(top_builddir)/src/util/libxmlconfig.la 46 47libpipe_loader_dynamic_la_LIBADD = \ 48 $(top_builddir)/src/loader/libloader.la \ 49 $(top_builddir)/src/util/libxmlconfig.la 50 51EXTRA_DIST = SConscript meson.build 52