From: ellson Date: Fri, 23 Jun 2006 03:11:25 +0000 (+0000) Subject: Experimenting with cmake - which claims to replace autoconf,automake,libtool and... X-Git-Tag: LAST_LIBGRAPH~32^2~6308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=494804a0e92f661a24193739c47f6c68477807a0;p=graphviz Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- diff --git a/tclpkg/tclpathplan/.cvsignore b/tclpkg/tclpathplan/.cvsignore index e0ae7a54e..b580cf644 100644 --- a/tclpkg/tclpathplan/.cvsignore +++ b/tclpkg/tclpathplan/.cvsignore @@ -5,3 +5,4 @@ Makefile Makefile.in pkgIndex.tcl +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake diff --git a/tclpkg/tclpathplan/CMakeLists.txt b/tclpkg/tclpathplan/CMakeLists.txt new file mode 100644 index 000000000..14ad2e1ee --- /dev/null +++ b/tclpkg/tclpathplan/CMakeLists.txt @@ -0,0 +1,68 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +SUBDIRS( demo ) + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/tclpkg/tclhandle + ${CMAKE_SOURCE_DIR}/lib/pathplan + ${TCL_INCLUDE_PATH} +) + +SET(tclplan_SRCS + find_ints.c + intersect.c + makecw.c + tclpathplan.c + wrapper.c +) + +ADD_LIBRARY(tclplan MODULE ${tclplan_SRCS}) + + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#SUBDIRS = demo +# +#pkgtcldir = $(pkglibdir)/tcl +# +#AM_CPPFLAGS = \ +# -I$(top_srcdir) \ +# -I$(top_srcdir)/tclpkg/tclhandle \ +# -I$(top_srcdir)/lib/pathplan @TCL_INCLUDES@ +# +#AM_CFLAGS = @TCL_CFLAGS@ +# +#noinst_HEADERS = simple.h +#if WITH_TCL +#pkgtcl_LTLIBRARIES = libtclplan.la +#endif +# +#libtclplan_la_SOURCES = find_ints.c intersect.c makecw.c tclpathplan.c wrapper.c +#libtclplan_la_LDFLAGS = -no-undefined +#libtclplan_la_LIBADD = \ +# $(top_builddir)/tclpkg/tclhandle/libtclhandle_C.la \ +# $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \ +# $(top_builddir)/lib/pathplan/libpathplan.la +# +#if WITH_TCL +#all-local: pkgIndex.tcl +# +#pkgIndex.tcl: libtclplan.la +# sh $(top_srcdir)/tclpkg/mkpkgindex.sh libtclplan.la Tclpathplan $(VERSION) +#endif +# +#CLEANFILES = pkgIndex.tcl +# +#EXTRA_DIST = $(libtclplan_la_SOURCES) diff --git a/tclpkg/tclpathplan/demo/.cvsignore b/tclpkg/tclpathplan/demo/.cvsignore index 282522db0..8cacbfb3f 100644 --- a/tclpkg/tclpathplan/demo/.cvsignore +++ b/tclpkg/tclpathplan/demo/.cvsignore @@ -1,2 +1,3 @@ Makefile Makefile.in +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake diff --git a/tclpkg/tclpathplan/demo/CMakeLists.txt b/tclpkg/tclpathplan/demo/CMakeLists.txt new file mode 100644 index 000000000..84b42d71c --- /dev/null +++ b/tclpkg/tclpathplan/demo/CMakeLists.txt @@ -0,0 +1,31 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +ADD_SUBDIRECTORY( pathplan_data ) + +########### install files ############### + +INSTALL_FILES(FILES + pathplan +) +INSTALL_FILES(FILES + pathplan.README +) + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#SUBDIRS = pathplan_data +# +#demodir = $(pkgdatadir)/demo +# +#if WITH_TCL +#demo_SCRIPTS = pathplan +#demo_DATA = pathplan.README +#endif +# +#EXTRA_DIST = pathplan pathplan.README diff --git a/tclpkg/tclpathplan/demo/pathplan_data/.cvsignore b/tclpkg/tclpathplan/demo/pathplan_data/.cvsignore index 282522db0..8cacbfb3f 100644 --- a/tclpkg/tclpathplan/demo/pathplan_data/.cvsignore +++ b/tclpkg/tclpathplan/demo/pathplan_data/.cvsignore @@ -1,2 +1,3 @@ Makefile Makefile.in +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake diff --git a/tclpkg/tclpathplan/demo/pathplan_data/CMakeLists.txt b/tclpkg/tclpathplan/demo/pathplan_data/CMakeLists.txt new file mode 100644 index 000000000..79b8c3137 --- /dev/null +++ b/tclpkg/tclpathplan/demo/pathplan_data/CMakeLists.txt @@ -0,0 +1,37 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +########### install files ############### + +INSTALL_FILES(FILES + xes.dat + dpd.dat + funny.dat + maze.dat + nested.dat + northo.dat + obs.dat + other.dat + paths.dat + rotor.dat + u.dat + unknown.dat +) + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#EXAMPLES = boxes.dat dpd.dat funny.dat maze.dat nested.dat northo.dat \ +# obs.dat other.dat paths.dat rotor.dat u.dat unknown.dat +# +#pathplanexampledir = $(datadir)/@PACKAGE@/demo/pathplan_data +# +#if WITH_TCL +#pathplanexample_DATA = $(EXAMPLES) +#endif +# +#EXTRA_DIST = $(EXAMPLES) diff --git a/tclpkg/tkspline/.cvsignore b/tclpkg/tkspline/.cvsignore index 1e08a3737..28b204a39 100644 --- a/tclpkg/tkspline/.cvsignore +++ b/tclpkg/tkspline/.cvsignore @@ -6,3 +6,4 @@ Makefile Makefile.in pkgIndex.tcl *.pdf +CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake