From e505217afdaec8610bcb5ad951b11444634a6a7c Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 23 Jun 2006 03:11:22 +0000 Subject: [PATCH] Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- lib/agutil/CMakeLists.txt | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lib/agutil/CMakeLists.txt diff --git a/lib/agutil/CMakeLists.txt b/lib/agutil/CMakeLists.txt new file mode 100644 index 000000000..03fcdb293 --- /dev/null +++ b/lib/agutil/CMakeLists.txt @@ -0,0 +1,40 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/lib/agraph + ${CMAKE_SOURCE_DIR}/lib/cdt +) + + +########### next target ############### + +SET(agutil_SRCS + dynattr.c + nodeq.c +) + +ADD_LIBRARY(agutil STATIC ${agutil_SRCS}) + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#AM_CPPFLAGS = \ +# -I$(top_srcdir) \ +# -I$(top_srcdir)/lib/agraph \ +# -I$(top_srcdir)/lib/cdt +# +#noinst_HEADERS = agutil.h +#noinst_LTLIBRARIES = libagutil_C.la +# +#libagutil_C_la_SOURCES = dynattr.c nodeq.c agutil.h -- 2.40.0