--- /dev/null
+# $Id$ $Revision$
+## Process this file with cmake to produce Makefile
+
+INCLUDE( UsePkgConfig )
+
+PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS )
+
+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
+ ${PANGOCAIRO_INCLUDE_DIR}
+)
+
+########### next target ###############
+
+ADD_DEFINITIONS(${PANGOCAIRO_CFLAGS})
+SET(gvplugin_pango_SRCS
+ gvplugin_pango.c
+ gvrender_pango.c
+ gvtextlayout_pango.c
+ gvloadimage_pango.c
+)
+ADD_LIBRARY(gvplugin_pango MODULE ${gvplugin_pango_SRCS})
+
+ADD_LIBRARY(gvplugin_pango_static STATIC ${gvplugin_pango_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 \
+ $(PANGOCAIRO_CFLAGS) $(LIBGVC_CFLAGS)
+
+noinst_LTLIBRARIES = libgvplugin_pango_C.la
+
+pkglib_LTLIBRARIES = libgvplugin_pango.la
+
+libgvplugin_pango_C_la_SOURCES = \
+ gvplugin_pango.c \
+ gvrender_pango.c \
+ gvtextlayout_pango.c \
+ gvloadimage_pango.c
+
+libgvplugin_pango_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgvplugin_pango_la_SOURCES = $(libgvplugin_pango_C_la_SOURCES)
+libgvplugin_pango_la_LIBADD = @PANGOCAIRO_LIBS@ @MATH_LIBS@
+
+EXTRA_DIST = Makefile.old
+
--- /dev/null
+all: libgvplugin_pango.a
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
+
+INCS = -I. \
+ -I$(ROOT) \
+ -I../common \
+ -I../gvc \
+ -I../pathplan \
+ -I../graph \
+ -I../cdt \
+ -I../gd \
+ $(EXTLIB_INC)
+
+DEFINES = -DHAVE_CONFIG_H
+
+OBJS = gvloadimage_pango.o gvplugin_pango.o gvrender_pango.o gvtextlayout_pango.o
+
+libgvplugin_pango.a : $(OBJS)
+ $(RM) libgvplugin_pango.a
+ $(AR) cr libgvplugin_pango.a $(OBJS)
+ $(RANLIB) libgvplugin_pango.a
+
+install: libgvplugin_pango.a
+ $(MKPATH) $(LIBDIR)
+ $(INSTALL) libgvplugin_pango.a $(LIBDIR)
+
+clean:
+ $(RM) core *.o
+
+distclean: clean
+ $(RM) *.a ptest