]> granicus.if.org Git - graphviz/commitdiff
Experimenting with cmake - which claims to replace autoconf,automake,libtool and...
authorellson <devnull@localhost>
Fri, 23 Jun 2006 03:11:22 +0000 (03:11 +0000)
committerellson <devnull@localhost>
Fri, 23 Jun 2006 03:11:22 +0000 (03:11 +0000)
lib/cdt/CMakeLists.txt [new file with mode: 0644]

diff --git a/lib/cdt/CMakeLists.txt b/lib/cdt/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0f7140b
--- /dev/null
@@ -0,0 +1,80 @@
+# $Id$ $Revision$
+## Process this file with cmake to produce Makefile
+
+INCLUDE_DIRECTORIES(
+       ${CMAKE_CURRENT_SOURCE_DIR}
+       ${CMAKE_SOURCE_DIR}
+)
+
+########### next target ###############
+
+SET(cdt_SRCS
+       dtclose.c
+       dtdisc.c
+       dtextract.c
+       dtflatten.c
+       dthash.c
+       dtlist.c
+       dtmethod.c
+       dtopen.c
+       dtrenew.c
+       dtrestore.c
+       dtsize.c
+       dtstat.c
+       dtstrhash.c
+       dttree.c
+       dtview.c
+       dtwalk.c
+)
+
+ADD_LIBRARY(cdt STATIC ${cdt_SRCS})
+
+
+########### install files ###############
+
+INSTALL_FILES(FILES
+       libcdt.pc
+)
+INSTALL_FILES(FILES
+       cdt.pdf
+)
+INSTALL_FILES(FILES
+       cdt.1
+)
+
+
+#original Makefile.am contents follow:
+
+## $Id$ $Revision$
+### Process this file with automake to produce Makefile.in
+#
+#pdfdir = $(pkgdatadir)/doc/pdf
+#pkgextraincludedir = $(pkgincludedir)
+#pkgconfigdir = $(libdir)/pkgconfig
+#
+#man = cdt.3
+#pdf = cdt.pdf
+#
+#AM_CPPFLAGS = -I$(top_srcdir)
+#
+#pkginclude_HEADERS = cdt.h dthdr.h
+#noinst_LTLIBRARIES = libcdt_C.la
+#pkglib_LTLIBRARIES = libcdt.la
+#man_MANS = $(man)
+#pdf_DATA = $(pdf)
+#pkgextrainclude_DATA = $(top_builddir)/ast_common.h
+#pkgconfig_DATA = libcdt.pc
+#
+#libcdt_C_la_SOURCES = dtclose.c dtdisc.c dtextract.c dtflatten.c \
+#      dthash.c dtlist.c dtmethod.c dtopen.c dtrenew.c dtrestore.c dtsize.c \
+#      dtstat.c dtstrhash.c dttree.c dtview.c dtwalk.c
+#
+#libcdt_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+#libcdt_la_SOURCES = $(libcdt_C_la_SOURCES)
+#
+#.3.pdf:
+#      groff -Tps -man $< | ps2pdf - - >$@
+#
+#EXTRA_DIST = $(man) $(pdf) Makefile.old features
+#
+#DISTCLEANFILES = $(pdf)