view src/interp-core/module.mk @ 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
children d7f8b0b91cb2
line wrap: on
line source

EXTRA_DIST += \
  interp-core/module.mk \
  interp-core/gl2ps.c \
  interp-core/mxarray.in.h \
  interp-core/oct-errno.in.cc

JIT_INCLUDES = \
  interp-core/jit-util.h \
  interp-core/jit-typeinfo.h \
  interp-core/jit-ir.h \
  interp-core/pt-jit.h

INTERP_CORE_INCLUDES = \
  interp-core/Cell.h \
  interp-core/c-file-ptr-stream.h \
  interp-core/comment-list.h \
  interp-core/cutils.h \
  interp-core/defun-dld.h \
  interp-core/defun-int.h \
  interp-core/display.h \
  interp-core/dynamic-ld.h \
  interp-core/gl-render.h \
  interp-core/gl2ps-renderer.h \
  interp-core/gl2ps.h \
  interp-core/gripes.h \
  interp-core/jit-ir.h \
  interp-core/jit-typeinfo.h \
  interp-core/jit-util.h \
  interp-core/ls-ascii-helper.h \
  interp-core/ls-hdf5.h \
  interp-core/ls-mat-ascii.h \
  interp-core/ls-mat4.h \
  interp-core/ls-mat5.h \
  interp-core/ls-oct-binary.h \
  interp-core/ls-utils.h \
  interp-core/mex.h \
  interp-core/mexproto.h \
  interp-core/mxarray.in.h \
  interp-core/oct-errno.h \
  interp-core/oct-fstrm.h \
  interp-core/oct-hdf5.h \
  interp-core/oct-iostrm.h \
  interp-core/oct-lvalue.h \
  interp-core/oct-map.h \
  interp-core/oct-obj.h \
  interp-core/oct-prcstrm.h \
  interp-core/oct-procbuf.h \
  interp-core/oct-stdstrm.h \
  interp-core/oct-stream.h \
  interp-core/oct-strstrm.h \
  interp-core/oct.h \
  interp-core/procstream.h \
  interp-core/pt-jit.h \
  interp-core/siglist.h \
  interp-core/sparse-xdiv.h \
  interp-core/sparse-xpow.h \
  interp-core/txt-eng-ft.h \
  interp-core/txt-eng.h \
  interp-core/unwind-prot.h \
  interp-core/xdiv.h \
  interp-core/xnorm.h \
  interp-core/xpow.h \
  interp-core/zfstream.h \
	$(JIT_INCLUDES)

JIT_SRC = \
  interp-core/jit-util.cc \
  interp-core/jit-typeinfo.cc \
  interp-core/jit-ir.cc \
  interp-core/pt-jit.cc

C_INTERP_CORE_SRC = \
  interp-core/cutils.c \
  interp-core/matherr.c \
  interp-core/siglist.c \
  interp-core/xgl2ps.c

INTERP_CORE_SRC = \
  interp-core/Cell.cc \
  interp-core/c-file-ptr-stream.cc \
  interp-core/comment-list.cc \
  interp-core/display.cc \
  interp-core/dynamic-ld.cc \
  interp-core/gl-render.cc \
  interp-core/gl2ps-renderer.cc \
  interp-core/gripes.cc \
  interp-core/jit-ir.cc \
  interp-core/jit-typeinfo.cc \
  interp-core/jit-util.cc \
  interp-core/ls-ascii-helper.cc \
  interp-core/ls-hdf5.cc \
  interp-core/ls-mat-ascii.cc \
  interp-core/ls-mat4.cc \
  interp-core/ls-mat5.cc \
  interp-core/ls-oct-binary.cc \
  interp-core/ls-utils.cc \
  interp-core/mex.cc \
  interp-core/oct-fstrm.cc \
  interp-core/oct-iostrm.cc \
  interp-core/oct-lvalue.cc \
  interp-core/oct-map.cc \
  interp-core/oct-obj.cc \
  interp-core/oct-prcstrm.cc \
  interp-core/oct-procbuf.cc \
  interp-core/oct-stream.cc \
  interp-core/oct-strstrm.cc \
  interp-core/procstream.cc \
  interp-core/pt-jit.cc \
  interp-core/sparse-xdiv.cc \
  interp-core/sparse-xpow.cc \
  interp-core/txt-eng-ft.cc \
  interp-core/unwind-prot.cc \
  interp-core/xdiv.cc \
  interp-core/xnorm.cc \
  interp-core/xpow.cc \
  interp-core/zfstream.cc \
  $(JIT_SRC) \
	$(C_INTERP_CORE_SRC)

## FIXME: I don't believe this rule actually fires
display.df display.lo: CPPFLAGS += $(X11_FLAGS)

## Special rules for sources which must be built before rest of compilation.
interp-core/oct-errno.cc: interp-core/oct-errno.in.cc Makefile
	if test -n "$(PERL)"; then \
	  $(srcdir)/mk-errno-list --perl "$(PERL)" < $< > $@-t; \
	elif test -n "$(PYTHON)"; then \
	  $(srcdir)/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \
	else \
	  $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \
	fi
	mv $@-t $@

interp-core/mxarray.h: interp-core/mxarray.in.h Makefile
	$(SED) < $< \
	  -e "s|%OCTAVE_IDX_TYPE%|${OCTAVE_IDX_TYPE}|" > $@-t
	mv $@-t $@