From bff2f21a5f9cb899baad94b4f14fed663c5ea2a3 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 23 Jun 2006 03:11:24 +0000 Subject: [PATCH] Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- lib/pathplan/CMakeLists.txt | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 lib/pathplan/CMakeLists.txt diff --git a/lib/pathplan/CMakeLists.txt b/lib/pathplan/CMakeLists.txt new file mode 100644 index 000000000..11f1a1634 --- /dev/null +++ b/lib/pathplan/CMakeLists.txt @@ -0,0 +1,72 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR} +) + + +########### next target ############### + +SET(pathplan_SRCS + cvt.c + inpoly.c + route.c + shortest.c + shortestpth.c + solvers.c + triang.c + util.c + visibility.c +) + +ADD_LIBRARY(pathplan STATIC ${pathplan_SRCS}) + + +########### install files ############### + +INSTALL_FILES(FILES + pathplan.pdf +) +INSTALL_FILES(FILES + pathplan.3 +) +INSTALL_FILES(FILES + libpathplan.pc +) + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#pdfdir = $(pkgdatadir)/doc/pdf +#pkgconfigdir = $(libdir)/pkgconfig +# +#man = pathplan.3 +#pdf = pathplan.pdf +# +#pkginclude_HEADERS = pathgeom.h pathplan.h pathutil.h solvers.h \ +# tri.h vis.h vispath.h +#noinst_LTLIBRARIES = libpathplan_C.la +#pkglib_LTLIBRARIES = libpathplan.la +#pkgconfig_DATA = libpathplan.pc +#man_MANS = $(man) +#pdf_DATA = $(pdf) +# +#libpathplan_C_la_SOURCES = cvt.c inpoly.c route.c shortest.c \ +# shortestpth.c solvers.c triang.c util.c visibility.c +# +#libpathplan_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined +#libpathplan_la_SOURCES = $(libpathplan_C_la_SOURCES) +#libpathplan_la_LIBADD = @MATH_LIBS@ +# +#.3.pdf: +# groff -Tps -man $< | ps2pdf - - >$@ +# +#EXTRA_DIST = $(man) $(pdf) Makefile.old path.lefty +# +#DISTCLEANFILES = $(pdf) -- 2.40.0