From 8e3e7eda110ed1ea9caf123d53f446954cbb1cd7 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 27 May 2006 20:33:47 +0000 Subject: [PATCH] install a libgvc_builtins.so (and .a if --enable-static) for use by downstream apps that want to use builtins. --- lib/gvc/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/gvc/Makefile.am b/lib/gvc/Makefile.am index 2de4c52d6..e7931a7d3 100644 --- a/lib/gvc/Makefile.am +++ b/lib/gvc/Makefile.am @@ -21,7 +21,7 @@ pkginclude_HEADERS = gvc.h gvcext.h gvplugin.h gvcjob.h gvcint.h \ gvplugin_device.h noinst_HEADERS = gvcproc.h noinst_LTLIBRARIES = libgvc_C.la -pkglib_LTLIBRARIES = libgvc.la +pkglib_LTLIBRARIES = libgvc.la libgvc_builtins.la pkgconfig_DATA = libgvc.pc libgvc_C_la_SOURCES = gvrender.c gvlayout.c gvdevice.c \ @@ -30,6 +30,8 @@ libgvc_C_la_SOURCES = gvrender.c gvlayout.c gvdevice.c \ libgvc_C_la_LIBADD = \ $(top_builddir)/lib/common/libcommon_C.la +#libgvc is intended for use with plugins +# so it is linked with an empty table of builtins. libgvc_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined libgvc_la_SOURCES = $(libgvc_C_la_SOURCES) no_builtins.c libgvc_la_LIBADD = $(libgvc_C_la_LIBADD) \ @@ -38,4 +40,11 @@ libgvc_la_LIBADD = $(libgvc_C_la_LIBADD) \ $(top_builddir)/lib/pathplan/libpathplan.la \ @GD_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @LIBGEN_LIBS@ +#libgvc_builtins is intended for use with builtins (still allowing plugins). +# The application needs to provide a table of builtins, dot_builtins.c +# provides and example. +libgvc_builtins_la_LDFLAGS = -version-info @VERSION_INFO@ +libgvc_builtins_la_SOURCES = $(libgvc_C_la_SOURCES) +libgvc_builtins_la_LIBADD = $(libgvc_la_LIBADD) + EXTRA_DIST = Makefile.old dot_builtins.c -- 2.49.0