]> 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:19 +0000 (03:11 +0000)
committerellson <devnull@localhost>
Fri, 23 Jun 2006 03:11:19 +0000 (03:11 +0000)
cmd/gvpr/CMakeLists.txt [new file with mode: 0644]

diff --git a/cmd/gvpr/CMakeLists.txt b/cmd/gvpr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f9cab3e
--- /dev/null
@@ -0,0 +1,93 @@
+# $Id$ $Revision$
+## Process this file with cmake to produce Makefile
+
+INCLUDE_DIRECTORIES(
+       ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+
+########### next target ###############
+
+SET(gvpr_SRCS
+       actions.c
+       compile.c
+       gvpr.c
+       gprstate.c
+       parse.c
+       queue.c
+)
+
+ADD_EXECUTABLE(gvpr ${gvpr_SRCS})
+
+#TARGET_LINK_LIBRARIES(gvpr  ${QT_AND_KDECORE_LIBS} )
+
+INSTALL_TARGETS(/bin gvpr )
+
+
+########### next target ###############
+
+SET(mkdefs_SRCS
+       mkdefs.c
+)
+
+ADD_EXECUTABLE(mkdefs ${mkdefs_SRCS})
+
+#TARGET_LINK_LIBRARIES(mkdefs  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+INSTALL_FILES( FILES
+       gvpr.pdf
+)
+
+
+
+#original Makefile.am contents follow:
+
+## $Id$ $Revision$
+### Process this file with automake to produce Makefile.in
+#
+#pdfdir = $(pkgdatadir)/doc/pdf
+#
+#AM_CPPFLAGS = \
+#        -I$(top_srcdir) \
+#        -I$(top_srcdir)/lib/expr \
+#      -I$(top_srcdir)/lib/vmalloc \
+#      -I$(top_srcdir)/lib/sfio \
+#      -I$(top_srcdir)/lib/ast \
+#      -I$(top_srcdir)/lib/ingraphs \
+#      -I$(top_srcdir)/lib/agraph \
+#      -I$(top_srcdir)/lib/cdt
+#
+#bin_PROGRAMS = gvpr
+#noinst_PROGRAMS = mkdefs
+#noinst_HEADERS = actions.h compile.h gprstate.h parse.h queue.h
+#man_MANS = gvpr.1
+#pdf_DATA = gvpr.pdf
+#
+#gvpr_SOURCES = actions.c compile.c gvpr.c gprstate.c parse.c queue.c
+#
+#gvpr_LDADD = \
+#      $(top_builddir)/lib/vmalloc/libvmalloc_C.la \
+#      $(top_builddir)/lib/sfio/libsfio_C.la \
+#        $(top_builddir)/lib/ingraphs/libingraphs_C.la \
+#      $(top_builddir)/lib/expr/libexpr.la \
+#      $(top_builddir)/lib/agraph/libagraph.la @MATH_LIBS@
+#
+#gvpr_DEPENDENCIES = \
+#       $(top_builddir)/lib/ast/libast_C.la
+#
+#$(gvpr_OBJECTS): gdefs.h
+#
+#mkdefs_SOURCES = mkdefs.c
+#
+#gdefs.h: $(top_srcdir)/cmd/gvpr/gprdata mkdefs
+#      ./mkdefs gdefs.h < $(top_srcdir)/cmd/gvpr/gprdata
+#
+#.1.pdf:
+#      groff -Tps -man $< | ps2pdf - - >$@
+#
+#EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old gprdata mkdefs.c gdefs.h
+#
+#DISTCLEANFILES = $(pdf_DATA) gdefs.h mkdefs