From 500bf9ddb9a4e9df8508f46a43173a506eb50c5f Mon Sep 17 00:00:00 2001 From: ellson Date: Sun, 25 Jun 2006 10:36:35 +0000 Subject: [PATCH] separate tree for plugins --- plugin/dot_layout/CMakeLists.txt | 24 ++++++++++++++++++++++++ plugin/dot_layout/Makefile.am | 30 ++++++++++++++++++++++++++++++ plugin/dot_layout/Makefile.old | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 plugin/dot_layout/CMakeLists.txt create mode 100644 plugin/dot_layout/Makefile.am create mode 100644 plugin/dot_layout/Makefile.old diff --git a/plugin/dot_layout/CMakeLists.txt b/plugin/dot_layout/CMakeLists.txt new file mode 100644 index 000000000..9012e13f7 --- /dev/null +++ b/plugin/dot_layout/CMakeLists.txt @@ -0,0 +1,24 @@ +# $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_dot_layout_SRCS + gvplugin_dot_layout.c + gvlayout_dot_layout.c +) +ADD_LIBRARY(gvplugin_dot_layout MODULE ${gvplugin_dot_layout_SRCS}) + +ADD_LIBRARY(gvplugin_dot_layout_static STATIC ${gvplugin_dot_layout_SRCS}) + +########### install files ############### diff --git a/plugin/dot_layout/Makefile.am b/plugin/dot_layout/Makefile.am new file mode 100644 index 000000000..d60f162f3 --- /dev/null +++ b/plugin/dot_layout/Makefile.am @@ -0,0 +1,30 @@ +# $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_dot_layout_C.la + +pkglib_LTLIBRARIES = libgvplugin_dot_layout.la + +libgvplugin_dot_layout_C_la_SOURCES = \ + gvplugin_dot_layout.c \ + gvlayout_dot_layout.c +libgvplugin_dot_layout_C_la_LIBADD = \ + $(top_builddir)/lib/dotgen/libdotgen_C.la + +libgvplugin_dot_layout_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined +libgvplugin_dot_layout_la_SOURCES = $(libgvplugin_dot_layout_C_la_SOURCES) +libgvplugin_dot_layout_la_LIBADD = $(libgvplugin_dot_layout_C_la_LIBADD) \ + $(top_builddir)/lib/gvc/libgvc.la \ + $(top_builddir)/lib/pathplan/libpathplan.la + +EXTRA_DIST = Makefile.old + diff --git a/plugin/dot_layout/Makefile.old b/plugin/dot_layout/Makefile.old new file mode 100644 index 000000000..03781d01e --- /dev/null +++ b/plugin/dot_layout/Makefile.old @@ -0,0 +1,32 @@ +all: libgvplugin_dot_layout.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_dot_layout.o gvlayout_dot_layout.o + +libgvplugin_dot_layout.a : $(OBJS) + $(RM) libgvplugin_dot_layout.a + $(AR) cr libgvplugin_dot_layout.a $(OBJS) + $(RANLIB) libgvplugin_dot_layout.a + +install: libgvplugin_dot_layout.a + $(MKPATH) $(LIBDIR) + $(INSTALL) libgvplugin_dot_layout.a $(LIBDIR) + +clean: + $(RM) core *.o + +distclean: clean + $(RM) *.a ptest -- 2.40.0