From 876fbd94720d02c4a7b30399245e5701ee8fe4e9 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/ast/CMakeLists.txt | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 lib/ast/CMakeLists.txt diff --git a/lib/ast/CMakeLists.txt b/lib/ast/CMakeLists.txt new file mode 100644 index 000000000..886a0c801 --- /dev/null +++ b/lib/ast/CMakeLists.txt @@ -0,0 +1,58 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/sfio +) + + +########### next target ############### + +SET(ast_SRCS + pathpath.c + sfstr.h + chresc.c + chrtoi.c + error.c + fmtbuf.c + fmtesc.c + pathaccess.c + pathbin.c + pathcanon.c + pathcat.c + pathexists.c + pathfind.c + pathgetlink.c + strcopy.c + stresc.c + strmatch.c + strton.c + strerror.c +) + +ADD_LIBRARY(ast STATIC ${ast_SRCS}) + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#AM_CPPFLAGS = -I$(top_srcdir)/lib/sfio +# +#noinst_HEADERS = align.h ast.h error.h hashkey.h +#noinst_LTLIBRARIES = libast_C.la +# +#libast_C_la_SOURCES = pathpath.c sfstr.h chresc.c chrtoi.c error.c \ +# fmtbuf.c fmtesc.c pathaccess.c pathbin.c pathcanon.c pathcat.c \ +# pathexists.c pathfind.c pathgetlink.c \ +# strcopy.c stresc.c strmatch.c strton.c strerror.c +# +#EXTRA_DIST = Makefile.old -- 2.40.0