From 0e59153229f6e04296ee938d084e9d6f522fd146 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 21 Sep 2014 15:20:11 +0100 Subject: gallium/nouveau: add automake target 'template' Rather than duplicating the libdeps, extra define... all over the targets, define them only once and use when applicable. Signed-off-by: Emil Velikov Acked-by: Matt Turner --- src/gallium/drivers/nouveau/Automake.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/gallium/drivers/nouveau/Automake.inc (limited to 'src/gallium/drivers/nouveau/Automake.inc') diff --git a/src/gallium/drivers/nouveau/Automake.inc b/src/gallium/drivers/nouveau/Automake.inc new file mode 100644 index 00000000000..1d383fcb7b1 --- /dev/null +++ b/src/gallium/drivers/nouveau/Automake.inc @@ -0,0 +1,11 @@ +if HAVE_GALLIUM_NOUVEAU + +TARGET_DRIVERS += nouveau +TARGET_CPPFLAGS += -DGALLIUM_NOUVEAU +TARGET_LIB_DEPS += \ + $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ + $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \ + $(NOUVEAU_LIBS) \ + $(LIBDRM_LIBS) + +endif -- cgit v1.2.3