changeset 15096:909a2797935b

maint: Move interp source code without DEFUNs to interp-core/ dir. * src/Makefile.am, interpfcn/module.mk, operators/module.mk, parse-tree/module.mk: Update build system by moving source lists and rules to the correct directory. * Cell.cc, Cell.h, c-file-ptr-stream.cc, c-file-ptr-stream.h, comment-list.cc, comment-list.h, cutils.c, cutils.h, defun-dld.h, defun-int.h, display.cc, display.h, dynamic-ld.cc, dynamic-ld.h, gl-render.cc, gl-render.h, gl2ps-renderer.cc, gl2ps-renderer.h, gl2ps.c, gl2ps.h, gripes.cc, gripes.h, jit-ir.cc, jit-ir.h, jit-typeinfo.cc, jit-typeinfo.h, jit-util.cc, jit-util.h, ls-ascii-helper.cc, ls-ascii-helper.h, ls-hdf5.cc, ls-hdf5.h, ls-mat-ascii.cc, ls-mat-ascii.h, ls-mat4.cc, ls-mat4.h, ls-mat5.cc, ls-mat5.h, ls-oct-binary.cc, ls-oct-binary.h, ls-utils.cc, ls-utils.h, matherr.c, mex.cc, mex.h, mexproto.h, module.mk, mxarray.in.h, oct-errno.h, oct-errno.in.cc, oct-fstrm.cc, oct-fstrm.h, oct-hdf5.h, oct-iostrm.cc, oct-iostrm.h, oct-lvalue.cc, oct-lvalue.h, oct-map.cc, oct-map.h, oct-obj.cc, oct-obj.h, oct-prcstrm.cc, oct-prcstrm.h, oct-procbuf.cc, oct-procbuf.h, oct-stdstrm.h, oct-stream.cc, oct-stream.h, oct-strstrm.cc, oct-strstrm.h, oct.h, procstream.cc, procstream.h, pt-jit.cc, pt-jit.h, siglist.c, siglist.h, sparse-xdiv.cc, sparse-xdiv.h, sparse-xpow.cc, sparse-xpow.h, txt-eng-ft.cc, txt-eng-ft.h, txt-eng.h, unwind-prot.cc, unwind-prot.h, xdiv.cc, xdiv.h, xgl2ps.c, xnorm.cc, xnorm.h, xpow.cc, xpow.h, zfstream.cc, zfstream.h: Move from src/ dir to src/interp-core dir. * ops.h: Move to operators/ directory. * octave.gperf, token.cc, token.h: Move to parse-tree directory.
author Rik <rik@octave.org>
date Fri, 03 Aug 2012 13:18:21 -0700
parents 9df70a18aa27
children 7c7b9ea23a86 b9b6a310ad97 d7f8b0b91cb2
files src/Cell.cc src/Cell.h src/Makefile.am src/c-file-ptr-stream.cc src/c-file-ptr-stream.h src/comment-list.cc src/comment-list.h src/cutils.c src/cutils.h src/defun-dld.h src/defun-int.h src/display.cc src/display.h src/dynamic-ld.cc src/dynamic-ld.h src/gl-render.cc src/gl-render.h src/gl2ps-renderer.cc src/gl2ps-renderer.h src/gl2ps.c src/gl2ps.h src/gripes.cc src/gripes.h src/interp-core/Cell.cc src/interp-core/Cell.h src/interp-core/c-file-ptr-stream.cc src/interp-core/c-file-ptr-stream.h src/interp-core/comment-list.cc src/interp-core/comment-list.h src/interp-core/cutils.c src/interp-core/cutils.h src/interp-core/defun-dld.h src/interp-core/defun-int.h src/interp-core/display.cc src/interp-core/display.h src/interp-core/dynamic-ld.cc src/interp-core/dynamic-ld.h src/interp-core/gl-render.cc src/interp-core/gl-render.h src/interp-core/gl2ps-renderer.cc src/interp-core/gl2ps-renderer.h src/interp-core/gl2ps.c src/interp-core/gl2ps.h src/interp-core/gripes.cc src/interp-core/gripes.h src/interp-core/jit-ir.cc src/interp-core/jit-ir.h src/interp-core/jit-typeinfo.cc src/interp-core/jit-typeinfo.h src/interp-core/jit-util.cc src/interp-core/jit-util.h src/interp-core/ls-ascii-helper.cc src/interp-core/ls-ascii-helper.h src/interp-core/ls-hdf5.cc src/interp-core/ls-hdf5.h src/interp-core/ls-mat-ascii.cc src/interp-core/ls-mat-ascii.h src/interp-core/ls-mat4.cc src/interp-core/ls-mat4.h src/interp-core/ls-mat5.cc src/interp-core/ls-mat5.h src/interp-core/ls-oct-binary.cc src/interp-core/ls-oct-binary.h src/interp-core/ls-utils.cc src/interp-core/ls-utils.h src/interp-core/matherr.c src/interp-core/mex.cc src/interp-core/mex.h src/interp-core/mexproto.h src/interp-core/module.mk src/interp-core/mxarray.in.h src/interp-core/oct-errno.h src/interp-core/oct-errno.in.cc src/interp-core/oct-fstrm.cc src/interp-core/oct-fstrm.h src/interp-core/oct-hdf5.h src/interp-core/oct-iostrm.cc src/interp-core/oct-iostrm.h src/interp-core/oct-lvalue.cc src/interp-core/oct-lvalue.h src/interp-core/oct-map.cc src/interp-core/oct-map.h src/interp-core/oct-obj.cc src/interp-core/oct-obj.h src/interp-core/oct-prcstrm.cc src/interp-core/oct-prcstrm.h src/interp-core/oct-procbuf.cc src/interp-core/oct-procbuf.h src/interp-core/oct-stdstrm.h src/interp-core/oct-stream.cc src/interp-core/oct-stream.h src/interp-core/oct-strstrm.cc src/interp-core/oct-strstrm.h src/interp-core/oct.h src/interp-core/procstream.cc src/interp-core/procstream.h src/interp-core/pt-jit.cc src/interp-core/pt-jit.h src/interp-core/siglist.c src/interp-core/siglist.h src/interp-core/sparse-xdiv.cc src/interp-core/sparse-xdiv.h src/interp-core/sparse-xpow.cc src/interp-core/sparse-xpow.h src/interp-core/txt-eng-ft.cc src/interp-core/txt-eng-ft.h src/interp-core/txt-eng.h src/interp-core/unwind-prot.cc src/interp-core/unwind-prot.h src/interp-core/xdiv.cc src/interp-core/xdiv.h src/interp-core/xgl2ps.c src/interp-core/xnorm.cc src/interp-core/xnorm.h src/interp-core/xpow.cc src/interp-core/xpow.h src/interp-core/zfstream.cc src/interp-core/zfstream.h src/interpfcn/module.mk src/jit-ir.cc src/jit-ir.h src/jit-typeinfo.cc src/jit-typeinfo.h src/jit-util.cc src/jit-util.h src/ls-ascii-helper.cc src/ls-ascii-helper.h src/ls-hdf5.cc src/ls-hdf5.h src/ls-mat-ascii.cc src/ls-mat-ascii.h src/ls-mat4.cc src/ls-mat4.h src/ls-mat5.cc src/ls-mat5.h src/ls-oct-binary.cc src/ls-oct-binary.h src/ls-utils.cc src/ls-utils.h src/matherr.c src/mex.cc src/mex.h src/mexproto.h src/mxarray.in.h src/oct-errno.h src/oct-errno.in.cc src/oct-fstrm.cc src/oct-fstrm.h src/oct-hdf5.h src/oct-iostrm.cc src/oct-iostrm.h src/oct-lvalue.cc src/oct-lvalue.h src/oct-map.cc src/oct-map.h src/oct-obj.cc src/oct-obj.h src/oct-prcstrm.cc src/oct-prcstrm.h src/oct-procbuf.cc src/oct-procbuf.h src/oct-stdstrm.h src/oct-stream.cc src/oct-stream.h src/oct-strstrm.cc src/oct-strstrm.h src/oct.h src/octave.gperf src/operators/module.mk src/operators/ops.h src/ops.h src/parse-tree/module.mk src/parse-tree/octave.gperf src/parse-tree/token.cc src/parse-tree/token.h src/procstream.cc src/procstream.h src/pt-jit.cc src/pt-jit.h src/siglist.c src/siglist.h src/sparse-xdiv.cc src/sparse-xdiv.h src/sparse-xpow.cc src/sparse-xpow.h src/token.cc src/token.h src/txt-eng-ft.cc src/txt-eng-ft.h src/txt-eng.h src/unwind-prot.cc src/unwind-prot.h src/xdiv.cc src/xdiv.h src/xgl2ps.c src/xnorm.cc src/xnorm.h src/xpow.cc src/xpow.h src/zfstream.cc src/zfstream.h
diffstat 103 files changed, 203 insertions(+), 171 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-# Makefile for octave's src directory
+# Makefile for Octave's src directory
 #
 # Copyright (C) 1993-2012 John W. Eaton
 #
@@ -24,10 +24,12 @@
 AM_CPPFLAGS = \
   -I$(top_srcdir)/libcruft/misc \
   -I../liboctave -I$(top_srcdir)/liboctave \
+  -Ioctave-value -I$(srcdir)/octave-value \
+  -Iparse-tree -I$(srcdir)/parse-tree \
+  -Ioperators -I$(srcdir)/operators \
+  -Iinterp-core -I$(srcdir)/interp-core \
   -Iinterpfcn -I$(srcdir)/interpfcn \
   -Icorefcn \
-  -Ioctave-value -I$(srcdir)/octave-value \
-  -Iparse-tree -I$(srcdir)/parse-tree \
   -I. -I$(srcdir) \
   -I../libgnu -I$(top_srcdir)/libgnu \
   @CPPFLAGS@
@@ -66,33 +68,33 @@
 ## $(DEF_FILES), and building those requires all the sources
 ## (except builtins.cc) to be available.
 BUILT_SOURCES = \
-  $(BUILT_SOURCES_EXTRA) \
+  interp-core/mxarray.h \
+  interp-core/oct-errno.cc \
   interpfcn/defaults.h \
+  interpfcn/graphics-props.cc \
   interpfcn/graphics.h \
-  interpfcn/graphics-props.cc \
+  operators/ops.cc \
   parse-tree/lex.cc \
-  mxarray.h \
+  parse-tree/oct-gperf.h \
+  parse-tree/oct-parse.cc \
   oct-conf.h \
-  oct-errno.cc \
-  oct-gperf.h \
-  parse-tree/oct-parse.cc \
-  ops.cc \
   version.h \
+  $(BUILT_SOURCES_EXTRA) \
   builtins.cc
 
 BUILT_DISTFILES = \
-  oct-gperf.h \
+  parse-tree/oct-gperf.h \
   parse-tree/oct-parse.h
 
 ## Files that are created during build process and installed,
 ## BUT not distributed in tarball.
 BUILT_NODISTFILES = \
+  interp-core/mxarray.h \
+  interp-core/oct-errno.cc \
   interpfcn/defaults.h \
   interpfcn/graphics.h \
+  operators/ops.cc \
   oct-conf.h \
-  oct-errno.cc \
-  ops.cc \
-  mxarray.h \
   version.h \
   $(OPT_HANDLERS) \
   $(OPT_INC) \
@@ -101,13 +103,10 @@
 
 EXTRA_DIST = \
   Makefile.in \
-  defaults.in.h \
   DOCSTRINGS \
   find-defun-files.sh \
   gendoc.pl \
   genprops.awk \
-  gl2ps.c \
-  graphics.in.h \
   mk-errno-list \
   mk-pkg-add \
   mkbuiltins \
@@ -115,136 +114,36 @@
   mkoctfile.in.cc \
   mkoctfile.in.sh \
   mkops \
-  mxarray.in.h \
   oct-conf.in.h \
-  oct-errno.in.cc \
   octave-config.in.cc \
   octave-config.in.sh \
-  octave.gperf \
   version.in.h \
   $(BUILT_DISTFILES)
 
-JIT_INCLUDES = \
-  jit-util.h \
-  jit-typeinfo.h \
-  jit-ir.h \
-  pt-jit.h
-
 octinclude_HEADERS = \
-  Cell.h \
-  builtins.h \
-  c-file-ptr-stream.h \
-  comment-list.h \
-  cutils.h \
-  defun-dld.h \
-  defun-int.h \
-  display.h \
-  dynamic-ld.h \
-  gl-render.h \
-  gl2ps.h \
-  gl2ps-renderer.h \
   interpfcn/graphics-props.cc \
-  gripes.h \
-  ls-ascii-helper.h \
-  ls-hdf5.h \
-  ls-mat-ascii.h \
-  ls-mat4.h \
-  ls-mat5.h \
-  ls-oct-binary.h \
-  ls-utils.h \
-  mex.h \
-  mexproto.h \
-  oct-errno.h \
-  oct-fstrm.h \
-  oct-gperf.h \
-  oct-hdf5.h \
-  oct-iostrm.h \
-  oct-lvalue.h \
-  oct-map.h \
-  oct-obj.h \
-  oct-prcstrm.h \
-  oct-procbuf.h \
-  oct-stdstrm.h \
-  oct-stream.h \
-  oct-strstrm.h \
-  oct.h \
+  parse-tree/oct-gperf.h \
+  builtins.h \
   octave.h \
-  ops.h \
-  procstream.h \
-  siglist.h \
-  sparse-xdiv.h \
-  sparse-xpow.h \
-  token.h \
-  txt-eng-ft.h \
-  txt-eng.h \