--- /dev/null
+# $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 ###############
--- /dev/null
+# $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
+
--- /dev/null
+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