From: Alan W. I. <ai...@us...> - 2006-09-13 19:11:48
|
Update of /cvsroot/plplot/plplot/bindings/octave In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14434 Modified Files: CMakeLists.txt Log Message: Configure and install files in bindings/octave/PLplot and bindings/octave/PLplot/support. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/bindings/octave/CMakeLists.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CMakeLists.txt 6 Jul 2006 18:34:52 -0000 1.1 +++ CMakeLists.txt 13 Sep 2006 19:11:45 -0000 1.2 @@ -1,172 +1,28 @@ -CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/plplot_octave.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/plplot_octave.h ) - -ADD_SUBDIRECTORY( PLplot ) -ADD_SUBDIRECTORY( demos ) -ADD_SUBDIRECTORY( misc ) - - -########### next target ############### - -SET(massage_SRCS -massage.c -) - -KDE3_AUTOMOC(${massage_SRCS}) - -KDE3_ADD_EXECUTABLE(massage ${massage_SRCS}) - -TARGET_LINK_LIBRARIES(massage ${QT_AND_KDECORE_LIBS} ) - - -########### install files ############### - -INSTALL_FILES( FILES plplot_stub.m ) -INSTALL_FILES( FILES plplot_octave.oct ) - - - -#original Makefile.am contents follow: - -## bindings/octave/Makefile.am for PLplot -#### -#### Process this file with automake to produce Makefile.in -#### -## Copyright (C) 2002, 2003, 2004 Alan W. Irwin -## Copyright (C) 2002, 2003, 2004 Joao Cardoso -## Copyright (C) 2003, 2004 Rafael Laboissiere -## -## This file is part of PLplot. -## -## PLplot is free software; you can redistribute it and/or modify -## it under the terms of the GNU Library General Public License as published -## by the Free Software Foundation; version 2 of the License. -## -## PLplot is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Library General Public License for more details. -## -## You should have received a copy of the GNU Library General Public License -## along with the file PLplot; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -# -#SUBDIRS = PLplot demos misc -# -#docdir = $(DOC_DIR) -# -#docfiles = \ -# BUGS \ -# FGA \ -# INSTALL \ -# README \ -# ToDo \ -# USAGE -# -#EXTRA_DIST = \ -# $(docfiles) \ -# globals-in-scripts \ -# massage.c \ -# plplot_octave_rej.h \ -# plplot_octave_def \ -# etc \ -# matwrap \ -# doc-stamp \ -# plplot_octave_txt \ -# .octaverc -# -#doc-stamp plplot_octave_txt: etc/plplot.doc \ -# $(top_srcdir)/doc/docbook/bin/api2text.pl \ -# $(top_srcdir)/doc/docbook/src/plplotdoc.xml.in \ -# $(top_srcdir)/doc/docbook/src/api.xml -# mkdir -p plplot_octave_txt -# cp $(srcdir)/etc/plplot.doc plplot_octave_txt/plplot.doc -#if has_xml_pm -# ( cd plplot_octave_txt ; \ -# $(PERL) ../$(top_srcdir)/doc/docbook/bin/api2text.pl \ -# ../$(top_srcdir)/doc/docbook/src/plplotdoc.xml.in \ -# ../$(top_srcdir)/doc/docbook/src/api.xml ) \ -# && touch doc-stamp -#else -# @echo "Perl modules not available: cannot generate full online help for plplot_octave" \ -# && touch doc-stamp -#endif -# -# -#if enable_octave -# -#octave_libs = -L$(top_builddir)/src/.libs -lplplot$(LIB_TAG) -# -#deplibs = `$(top_srcdir)/scripts/get-dependency-libs.sh \ -# $(top_builddir)/src/.libs/libplplot$(LIB_TAG).la` -# -## Extra sed step is a correction to allow gcc 3.2 to compile. This correction -## also still works on gcc 2.95 -#plplot_octave.cc tmp_stub: plplot_octave.h -# $(PERL) $(MATWRAP) -language octave -o plplot_octave.cc -stub tmp_stub \ -# -cpp_ignore $(srcdir) -cpp_ignore plplot_octave_rej.h -cpp $(CC) \ -# -D__builtin_va_list=void -E -I$(srcdir) -C plplot_octave.h -# mv -f plplot_octave.cc tmp_plplot_octave.cc -# sed 's/ string / std::string /' tmp_plplot_octave.cc > plplot_octave.cc -# -#if with_csa -#LDRPATH_CSA = :$(top_builddir)/lib/csa/.libs -#endif -#if with_qhull -#LDRPATH_NN = :$(top_builddir)/lib/nn/.libs -#endif -#SET_LDRPATH = LD_RUN_PATH=$(top_builddir)/src/.libs$(LDRPATH_CSA)$(LDRPATH_NN) -# -#plplot_octave.oct plplot_octave.o: plplot_octave.cc -# $(SET_LDRPATH) $(MKOCTFILE_VARS) \ -# $(MKOCTFILE) -v -I. -I$(srcdir) plplot_octave.cc $(octave_libs) $(deplibs) -# -#if with_rpath -#SET_LDRPATH_LIBDIR = LD_RUN_PATH=$(libdir) -#endif -# -#plplot_octave-libdir.oct: plplot_octave.o -# $(SET_LDRPATH_LIBDIR) $(MKOCTFILE_VARS) \ -# $(MKOCTFILE) -v -I. plplot_octave.o \ -# -o plplot_octave-libdir.oct $(octave_libs) $(deplibs) -# -#install-data-hook: plplot_octave-libdir.oct -# $(mkinstalldirs) $(DESTDIR)$(octavesharedir) -# $(INSTALL) plplot_octave-libdir.oct \ -# $(DESTDIR)$(octavesharedir)/plplot_octave.oct -# $(mkinstalldirs) $(DESTDIR)$(docdir) -# for i in $(docfiles) ; do \ -# $(INSTALL) $(srcdir)/$$i $(DESTDIR)$(docdir)/$$i.octave ; \ -# done -# -#octavesharedir = $(OCTAVE_OCT_DIR) -#octaveshare_SCRIPTS = plplot_octave.oct -# -#noinst_PROGRAMS = massage -#massage_SOURCES = massage.c -# -#plplot_stub.m: doc-stamp tmp_stub massage$(EXEEXT) -# @head -5 tmp_stub > plplot_stub.m -# @echo "# It was also massaged to add online documentation" >> plplot_stub.m -# @echo "# extracted from some PLplot distribution files" >> plplot_stub.m -# @echo >> plplot_stub.m -# @echo "1;" >> plplot_stub.m -# @echo >> plplot_stub.m -# @cat $(srcdir)/plplot_octave_def >> plplot_stub.m -# @echo >> plplot_stub.m -# ./massage$(EXEEXT) >> plplot_stub.m 2> missing_help -# -#plplot_octavedir = $(PLPLOT_OCTAVE_DIR) -#plplot_octave_DATA = plplot_stub.m -# -#else +# bindings/octave/CMakeLists.txt for PLplot +### +### Process this file with cmake to produce Makefile +### +# Copyright (C) 2006 Alan W. Irwin # -#install-data-hook: +# This file is part of PLplot. # -##enable_octave -#endif +# PLplot is free software; you can redistribute it and/or modify +# it under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; version 2 of the License. # -#CLEANFILES = tmp_plplot_octave.cc \ -# plplot_octave.cc plplot_octave.o tmp_stub plplot_octave*.oct \ -# plplot_stub.m missing_help +# PLplot is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. # -#MAINTAINERCLEANFILES = doc-stamp plplot_octave_txt/* +# You should have received a copy of the GNU Library General Public License +# along with PLplot; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +if(ENABLE_octave) +add_subdirectory(PLplot) +if(done) +add_subdirectory(demos) +add_subdirectory(misc) +endif(done) +endif(ENABLE_octave) |