From: ellson Date: Sun, 25 Jun 2006 10:36:35 +0000 (+0000) Subject: separate tree for plugins X-Git-Tag: LAST_LIBGRAPH~32^2~6289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4e0131b546343190192ea6670069f5905e99e6a;p=graphviz separate tree for plugins --- diff --git a/plugin/core/CMakeLists.txt b/plugin/core/CMakeLists.txt new file mode 100644 index 000000000..df4cdda98 --- /dev/null +++ b/plugin/core/CMakeLists.txt @@ -0,0 +1,27 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/lib/common + ${CMAKE_SOURCE_DIR}/lib/cdt + ${CMAKE_SOURCE_DIR}/lib/graph + ${CMAKE_SOURCE_DIR}/lib/pathplan + ${CMAKE_SOURCE_DIR}/lib/gvc +) + +########### next target ############### + +SET(gvplugin_core_SRCS + gvplugin_core.c + gvrender_core_svg.c + gvrender_core_ps.c + gvrender_core_map.c + gvloadimage_core.c +) +ADD_LIBRARY(gvplugin_core MODULE ${gvplugin_core_SRCS}) + +ADD_LIBRARY(gvplugin_core_static STATIC ${gvplugin_core_SRCS}) + +########### install files ############### diff --git a/plugin/core/Makefile.am b/plugin/core/Makefile.am new file mode 100644 index 000000000..cbee80317 --- /dev/null +++ b/plugin/core/Makefile.am @@ -0,0 +1,29 @@ +# $Id$ $Revision$ +## Process this file with automake to produce Makefile.in + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/lib/common \ + -I$(top_srcdir)/lib/pathplan \ + -I$(top_srcdir)/lib/gvc \ + -I$(top_srcdir)/lib/graph \ + -I$(top_srcdir)/lib/cdt \ + $(LIBGVC_CFLAGS) + +noinst_LTLIBRARIES = libgvplugin_core_C.la + +pkglib_LTLIBRARIES = libgvplugin_core.la + +libgvplugin_core_C_la_SOURCES = \ + gvplugin_core.c \ + gvrender_core_svg.c \ + gvrender_core_ps.c \ + gvrender_core_map.c \ + gvloadimage_core.c + +libgvplugin_core_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined +libgvplugin_core_la_SOURCES = $(libgvplugin_core_C_la_SOURCES) +libgvplugin_core_la_LIBADD = + +EXTRA_DIST = Makefile.old + diff --git a/plugin/core/Makefile.old b/plugin/core/Makefile.old new file mode 100644 index 000000000..032c822f6 --- /dev/null +++ b/plugin/core/Makefile.old @@ -0,0 +1,33 @@ +all: libgvplugin_core.a +ROOT=../.. +include $(ROOT)/Config.mk +include $(ROOT)/makearch/$(ARCH) + +INCS = -I. \ + -I$(ROOT) \ + -I../common \ + -I../gvc \ + -I../pathplan \ + -I../graph \ + -I../cdt \ + $(EXTLIB_INC) + +DEFINES = -DHAVE_CONFIG_H + +OBJS = gvplugin_core.o gvrender_core_ps.o gvrender_core_svg.o \ + gvrender_core_map.o gvloadimage_core.o + +libgvplugin_core.a : $(OBJS) + $(RM) libgvplugin_core.a + $(AR) cr libgvplugin_core.a $(OBJS) + $(RANLIB) libgvplugin_core.a + +install: libgvplugin_core.a + $(MKPATH) $(LIBDIR) + $(INSTALL) libgvplugin_core.a $(LIBDIR) + +clean: + $(RM) core *.o + +distclean: clean + $(RM) *.a ptest