view libinterp/corefcn/module.mk @ 17289:bc924baa2c4e

doc: Add new @qcode macro for code samples which are quoted. Macro handles options ("on") or properties ("position") more elegantly than @code{"text"}. * doc/interpreter/macros.texi: Add new @qcode macro. * doc/interpreter/tips.txi: Add documentation about @qcode macro. * doc/interpreter/basics.txi, doc/interpreter/container.txi, doc/interpreter/emacs.txi, doc/interpreter/errors.txi, doc/interpreter/eval.txi, doc/interpreter/expr.txi, doc/interpreter/external.txi, doc/interpreter/func.txi, doc/interpreter/grammar.txi, doc/interpreter/image.txi, doc/interpreter/install.txi, doc/interpreter/interp.txi, doc/interpreter/io.txi, doc/interpreter/matrix.txi, doc/interpreter/numbers.txi, doc/interpreter/oop.txi, doc/interpreter/package.txi, doc/interpreter/plot.txi, doc/interpreter/quad.txi, doc/interpreter/sparse.txi, doc/interpreter/strings.txi, doc/interpreter/system.txi, doc/interpreter/vectorize.txi, libinterp/corefcn/balance.cc, libinterp/corefcn/bitfcns.cc, libinterp/corefcn/cellfun.cc, libinterp/corefcn/conv2.cc, libinterp/corefcn/data.cc, libinterp/corefcn/debug.cc, libinterp/corefcn/defaults.cc, libinterp/corefcn/dirfns.cc, libinterp/corefcn/dlmread.cc, libinterp/corefcn/error.cc, libinterp/corefcn/file-io.cc, libinterp/corefcn/find.cc, libinterp/corefcn/gammainc.cc, libinterp/corefcn/graphics.cc, libinterp/corefcn/help.cc, libinterp/corefcn/hex2num.cc, libinterp/corefcn/input.cc, libinterp/corefcn/load-path.cc, libinterp/corefcn/load-save.cc, libinterp/corefcn/ls-oct-ascii.cc, libinterp/corefcn/lu.cc, libinterp/corefcn/luinc.cc, libinterp/corefcn/matrix_type.cc, libinterp/corefcn/oct-hist.cc, libinterp/corefcn/pager.cc, libinterp/corefcn/pr-output.cc, libinterp/corefcn/pt-jit.cc, libinterp/corefcn/qz.cc, libinterp/corefcn/rand.cc, libinterp/corefcn/regexp.cc, libinterp/corefcn/schur.cc, libinterp/corefcn/sighandlers.cc, libinterp/corefcn/sparse.cc, libinterp/corefcn/spparms.cc, libinterp/corefcn/str2double.cc, libinterp/corefcn/svd.cc, libinterp/corefcn/symtab.cc, libinterp/corefcn/syscalls.cc, libinterp/corefcn/toplev.cc, libinterp/corefcn/tril.cc, libinterp/corefcn/typecast.cc, libinterp/corefcn/utils.cc, libinterp/corefcn/variables.cc, libinterp/dldfcn/__init_fltk__.cc, libinterp/dldfcn/chol.cc, libinterp/dldfcn/colamd.cc, libinterp/dldfcn/fftw.cc, libinterp/dldfcn/qr.cc, libinterp/dldfcn/symbfact.cc, libinterp/octave-value/ov-base.cc, libinterp/octave-value/ov-fcn-handle.cc, libinterp/octave-value/ov-fcn-inline.cc, libinterp/octave-value/ov-java.cc, libinterp/octave-value/ov-range.cc, libinterp/octave-value/ov-struct.cc, libinterp/octave-value/ov-usr-fcn.cc, libinterp/parse-tree/oct-parse.in.yy, libinterp/parse-tree/pt-binop.cc, libinterp/parse-tree/pt-eval.cc, libinterp/parse-tree/pt-mat.cc, scripts/@ftp/ftp.m, scripts/deprecated/java_convert_matrix.m, scripts/deprecated/java_debug.m, scripts/deprecated/java_unsigned_conversion.m, scripts/deprecated/shell_cmd.m, scripts/general/dblquad.m, scripts/general/display.m, scripts/general/genvarname.m, scripts/general/idivide.m, scripts/general/interp1.m, scripts/general/interp2.m, scripts/general/interp3.m, scripts/general/interpn.m, scripts/general/isa.m, scripts/general/profexplore.m, scripts/general/profile.m, scripts/general/quadgk.m, scripts/general/randi.m, scripts/general/structfun.m, scripts/general/subsindex.m, scripts/general/triplequad.m, scripts/geometry/griddata.m, scripts/geometry/griddata3.m, scripts/geometry/griddatan.m, scripts/geometry/voronoi.m, scripts/help/help.m, scripts/help/lookfor.m, scripts/image/cmpermute.m, scripts/image/colormap.m, scripts/image/image.m, scripts/image/imagesc.m, scripts/image/imfinfo.m, scripts/image/imformats.m, scripts/image/imread.m, scripts/image/imshow.m, scripts/image/imwrite.m, scripts/image/ind2gray.m, scripts/image/lines.m, scripts/image/rgb2ind.m, scripts/image/spinmap.m, scripts/io/dlmwrite.m, scripts/io/strread.m, scripts/io/textread.m, scripts/io/textscan.m, scripts/java/javaclasspath.m, scripts/java/usejava.m, scripts/miscellaneous/bzip2.m, scripts/miscellaneous/computer.m, scripts/miscellaneous/copyfile.m, scripts/miscellaneous/debug.m, scripts/miscellaneous/dos.m, scripts/miscellaneous/edit.m, scripts/miscellaneous/gzip.m, scripts/miscellaneous/license.m, scripts/miscellaneous/mkoctfile.m, scripts/miscellaneous/movefile.m, scripts/miscellaneous/parseparams.m, scripts/miscellaneous/unix.m, scripts/optimization/fminbnd.m, scripts/optimization/fminsearch.m, scripts/optimization/fminunc.m, scripts/optimization/fsolve.m, scripts/optimization/fzero.m, scripts/optimization/glpk.m, scripts/optimization/lsqnonneg.m, scripts/optimization/optimset.m, scripts/optimization/pqpnonneg.m, scripts/pkg/pkg.m, scripts/plot/allchild.m, scripts/plot/ancestor.m, scripts/plot/area.m, scripts/plot/axis.m, scripts/plot/bar.m, scripts/plot/barh.m, scripts/plot/box.m, scripts/plot/caxis.m, scripts/plot/cla.m, scripts/plot/clabel.m, scripts/plot/clf.m, scripts/plot/close.m, scripts/plot/colorbar.m, scripts/plot/daspect.m, scripts/plot/ezmesh.m, scripts/plot/ezmeshc.m, scripts/plot/ezsurf.m, scripts/plot/ezsurfc.m, scripts/plot/findall.m, scripts/plot/findobj.m, scripts/plot/gcbo.m, scripts/plot/gcf.m, scripts/plot/gco.m, scripts/plot/grid.m, scripts/plot/guihandles.m, scripts/plot/hdl2struct.m, scripts/plot/hidden.m, scripts/plot/hold.m, scripts/plot/isonormals.m, scripts/plot/isosurface.m, scripts/plot/legend.m, scripts/plot/mesh.m, scripts/plot/meshc.m, scripts/plot/meshz.m, scripts/plot/newplot.m, scripts/plot/orient.m, scripts/plot/pareto.m, scripts/plot/patch.m, scripts/plot/pbaspect.m, scripts/plot/pcolor.m, scripts/plot/plot.m, scripts/plot/print.m, scripts/plot/private/__add_default_menu__.m, scripts/plot/quiver.m, scripts/plot/quiver3.m, scripts/plot/refreshdata.m, scripts/plot/saveas.m, scripts/plot/scatter.m, scripts/plot/scatter3.m, scripts/plot/shading.m, scripts/plot/shrinkfaces.m, scripts/plot/slice.m, scripts/plot/stem.m, scripts/plot/stem3.m, scripts/plot/struct2hdl.m, scripts/plot/subplot.m, scripts/plot/surf.m, scripts/plot/surfc.m, scripts/plot/surfl.m, scripts/plot/tetramesh.m, scripts/plot/uigetfile.m, scripts/plot/uimenu.m, scripts/plot/uiputfile.m, scripts/plot/waterfall.m, scripts/plot/whitebg.m, scripts/plot/xlim.m, scripts/plot/ylim.m, scripts/plot/zlim.m, scripts/polynomial/conv.m, scripts/polynomial/polyout.m, scripts/polynomial/splinefit.m, scripts/set/ismember.m, scripts/set/powerset.m, scripts/set/setdiff.m, scripts/set/union.m, scripts/set/unique.m, scripts/signal/detrend.m, scripts/signal/filter2.m, scripts/signal/freqz.m, scripts/signal/periodogram.m, scripts/signal/spectral_adf.m, scripts/signal/spectral_xdf.m, scripts/sparse/eigs.m, scripts/sparse/svds.m, scripts/specfun/legendre.m, scripts/special-matrix/gallery.m, scripts/statistics/base/mean.m, scripts/statistics/base/moment.m, scripts/statistics/tests/cor_test.m, scripts/statistics/tests/kolmogorov_smirnov_test.m, scripts/statistics/tests/kolmogorov_smirnov_test_2.m, scripts/statistics/tests/kruskal_wallis_test.m, scripts/statistics/tests/prop_test_2.m, scripts/statistics/tests/sign_test.m, scripts/statistics/tests/t_test.m, scripts/statistics/tests/t_test_2.m, scripts/statistics/tests/t_test_regression.m, scripts/statistics/tests/u_test.m, scripts/statistics/tests/var_test.m, scripts/statistics/tests/welch_test.m, scripts/statistics/tests/wilcoxon_test.m, scripts/statistics/tests/z_test.m, scripts/statistics/tests/z_test_2.m, scripts/strings/base2dec.m, scripts/strings/index.m, scripts/strings/isstrprop.m, scripts/strings/mat2str.m, scripts/strings/regexptranslate.m, scripts/strings/rindex.m, scripts/strings/str2num.m, scripts/strings/strcat.m, scripts/strings/strjust.m, scripts/strings/strmatch.m, scripts/strings/validatestring.m, scripts/testfun/demo.m, scripts/testfun/example.m, scripts/testfun/test.m, scripts/time/addtodate.m, scripts/time/asctime.m, scripts/time/datestr.m, scripts/time/datetick.m, scripts/time/weekday.m, scripts/ui/errordlg.m, scripts/ui/helpdlg.m, scripts/ui/inputdlg.m, scripts/ui/listdlg.m, scripts/ui/msgbox.m, scripts/ui/questdlg.m, scripts/ui/warndlg.m: Use new @qcode macro.
author Rik <rik@octave.org>
date Mon, 19 Aug 2013 20:46:38 -0700
parents 8ce6cdd272eb
children fe6518a1d87c
line wrap: on
line source

EXTRA_DIST += \
  corefcn/module.mk \
  corefcn/defaults.in.h \
  corefcn/gl2ps.c \
  corefcn/graphics.in.h \
  corefcn/mxarray.in.h \
  corefcn/oct-errno.in.cc

## Options functions for Fortran packages like LSODE, DASPK.
## These are generated automagically by configure and Perl.
OPT_HANDLERS = \
  corefcn/DASPK-opts.cc \
  corefcn/DASRT-opts.cc \
  corefcn/DASSL-opts.cc \
  corefcn/LSODE-opts.cc \
  corefcn/Quad-opts.cc

OPT_INC = \
  $(top_builddir)/liboctave/numeric/DASPK-opts.h \
  $(top_builddir)/liboctave/numeric/DASRT-opts.h \
  $(top_builddir)/liboctave/numeric/DASSL-opts.h \
  $(top_builddir)/liboctave/numeric/LSODE-opts.h \
  $(top_builddir)/liboctave/numeric/Quad-opts.h

$(OPT_HANDLERS): corefcn/%.cc : $(top_builddir)/liboctave/numeric/%.in
	$(PERL) $(top_srcdir)/build-aux/mk-opts.pl --opt-handler-fcns $< > $@-t
	mv $@-t $@

$(OPT_INC) : %.h : %.in
	$(MAKE) -C $(top_builddir)/liboctave/numeric $(@F)

JIT_INC = \
  corefcn/jit-util.h \
  corefcn/jit-typeinfo.h \
  corefcn/jit-ir.h \
  corefcn/pt-jit.h

COREFCN_INC = \
  corefcn/Cell.h \
  corefcn/action-container.h \
  corefcn/c-file-ptr-stream.h \
  corefcn/comment-list.h \
  corefcn/cutils.h \
  corefcn/data.h \
  corefcn/debug.h \
  corefcn/defun-dld.h \
  corefcn/defun-int.h \
  corefcn/defun.h \
  corefcn/dirfns.h \
  corefcn/display.h \
  corefcn/dynamic-ld.h \
  corefcn/error.h \
  corefcn/event-queue.h \
  corefcn/file-io.h \
  corefcn/gl-render.h \
  corefcn/gl2ps-renderer.h \
  corefcn/gl2ps.h \
  corefcn/gripes.h \
  corefcn/help.h \
  corefcn/hook-fcn.h \
  corefcn/input.h \
  corefcn/load-path.h \
  corefcn/load-save.h \
  corefcn/ls-ascii-helper.h \
  corefcn/ls-hdf5.h \
  corefcn/ls-mat-ascii.h \
  corefcn/ls-mat4.h \
  corefcn/ls-mat5.h \
  corefcn/ls-oct-ascii.h \
  corefcn/ls-oct-binary.h \
  corefcn/ls-utils.h \
  corefcn/mex.h \
  corefcn/mexproto.h \
  corefcn/mxarray.in.h \
  corefcn/oct-errno.h \
  corefcn/oct-fstrm.h \
  corefcn/oct-hdf5.h \
  corefcn/oct-hist.h \
  corefcn/oct-iostrm.h \
  corefcn/oct-lvalue.h \
  corefcn/oct-map.h \
  corefcn/oct-obj.h \
  corefcn/oct-prcstrm.h \
  corefcn/oct-procbuf.h \
  corefcn/oct-stdstrm.h \
  corefcn/oct-stream.h \
  corefcn/oct-strstrm.h \
  corefcn/oct.h \
  corefcn/octave-link.h \
  corefcn/pager.h \
  corefcn/pr-output.h \
  corefcn/procstream.h \
  corefcn/profiler.h \
  corefcn/sighandlers.h \
  corefcn/siglist.h \
  corefcn/sparse-xdiv.h \
  corefcn/sparse-xpow.h \
  corefcn/symtab.h \
  corefcn/sysdep.h \
  corefcn/toplev.h \
  corefcn/txt-eng-ft.h \
  corefcn/txt-eng.h \
  corefcn/unwind-prot.h \
  corefcn/utils.h \
  corefcn/variables.h \
  corefcn/workspace-element.h \
  corefcn/xdiv.h \
  corefcn/xnorm.h \
  corefcn/xpow.h \
  corefcn/zfstream.h \
  $(JIT_INC)

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

C_COREFCN_SRC = \
  corefcn/cutils.c \
  corefcn/matherr.c \
  corefcn/siglist.c \
  corefcn/xgl2ps.c

COREFCN_SRC = \
  corefcn/Cell.cc \
  corefcn/__contourc__.cc \
  corefcn/__dispatch__.cc \
  corefcn/__lin_interpn__.cc \
  corefcn/__pchip_deriv__.cc \
  corefcn/__qp__.cc \
  corefcn/balance.cc \
  corefcn/besselj.cc \
  corefcn/betainc.cc \
  corefcn/bitfcns.cc \
  corefcn/bsxfun.cc \
  corefcn/c-file-ptr-stream.cc \
  corefcn/cellfun.cc \
  corefcn/colloc.cc \
  corefcn/comment-list.cc \
  corefcn/conv2.cc \
  corefcn/daspk.cc \
  corefcn/dasrt.cc \
  corefcn/dassl.cc \
  corefcn/data.cc \
  corefcn/debug.cc \
  corefcn/defaults.cc \
  corefcn/defun.cc \
  corefcn/det.cc \
  corefcn/dirfns.cc \
  corefcn/display.cc \
  corefcn/dlmread.cc \
  corefcn/dot.cc \
  corefcn/dynamic-ld.cc \
  corefcn/eig.cc \
  corefcn/ellipj.cc \
  corefcn/error.cc \
  corefcn/fft.cc \
  corefcn/fft2.cc \
  corefcn/fftn.cc \
  corefcn/file-io.cc \
  corefcn/filter.cc \
  corefcn/find.cc \
  corefcn/gammainc.cc \
  corefcn/gcd.cc \
  corefcn/getgrent.cc \
  corefcn/getpwent.cc \
  corefcn/getrusage.cc \
  corefcn/givens.cc \
  corefcn/gl-render.cc \
  corefcn/gl2ps-renderer.cc \
  corefcn/graphics.cc \
  corefcn/gripes.cc \
  corefcn/help.cc \
  corefcn/hess.cc \
  corefcn/hex2num.cc \
  corefcn/hook-fcn.cc \
  corefcn/input.cc \
  corefcn/inv.cc \
  corefcn/kron.cc \
  corefcn/load-path.cc \
  corefcn/load-save.cc \
  corefcn/lookup.cc \
  corefcn/ls-ascii-helper.cc \
  corefcn/ls-hdf5.cc \
  corefcn/ls-mat-ascii.cc \
  corefcn/ls-mat4.cc \
  corefcn/ls-mat5.cc \
  corefcn/ls-oct-ascii.cc \
  corefcn/ls-oct-binary.cc \
  corefcn/ls-utils.cc \
  corefcn/lsode.cc \
  corefcn/lu.cc \
  corefcn/luinc.cc \
  corefcn/mappers.cc \
  corefcn/matrix_type.cc \
  corefcn/max.cc \
  corefcn/md5sum.cc \
  corefcn/mex.cc \
  corefcn/mgorth.cc \
  corefcn/nproc.cc \
  corefcn/oct-fstrm.cc \
  corefcn/oct-hist.cc \
  corefcn/oct-iostrm.cc \
  corefcn/oct-lvalue.cc \
  corefcn/oct-map.cc \
  corefcn/oct-obj.cc \
  corefcn/oct-prcstrm.cc \
  corefcn/oct-procbuf.cc \
  corefcn/oct-stream.cc \
  corefcn/oct-strstrm.cc \
  corefcn/oct-tex-lexer.ll \
  corefcn/oct-tex-parser.yy \
  corefcn/octave-link.cc \
  corefcn/pager.cc \
  corefcn/pinv.cc \
  corefcn/pr-output.cc \
  corefcn/procstream.cc \
  corefcn/profiler.cc \
  corefcn/quad.cc \
  corefcn/quadcc.cc \
  corefcn/qz.cc \
  corefcn/rand.cc \
  corefcn/rcond.cc \
  corefcn/regexp.cc \
  corefcn/schur.cc \
  corefcn/sighandlers.cc \
  corefcn/sparse-xdiv.cc \
  corefcn/sparse-xpow.cc \
  corefcn/sparse.cc \
  corefcn/spparms.cc \
  corefcn/sqrtm.cc \
  corefcn/str2double.cc \
  corefcn/strfind.cc \
  corefcn/strfns.cc \
  corefcn/sub2ind.cc \
  corefcn/svd.cc \
  corefcn/syl.cc \
  corefcn/symtab.cc \
  corefcn/syscalls.cc \
  corefcn/sysdep.cc \
  corefcn/time.cc \
  corefcn/toplev.cc \
  corefcn/tril.cc \
  corefcn/txt-eng.cc \
  corefcn/txt-eng-ft.cc \
  corefcn/typecast.cc \
  corefcn/unwind-prot.cc \
  corefcn/utils.cc \
  corefcn/variables.cc \
  corefcn/xdiv.cc \
  corefcn/xnorm.cc \
  corefcn/xpow.cc \
  corefcn/zfstream.cc \
  $(JIT_SRC) \
  $(C_COREFCN_SRC)

## FIXME: Automake does not support per-object rules.
##        These rules could be emulated by creating a new convenience
##        library and using per-library rules.  Or we can just live
##        without the rule since there haven't been any problems. (09/18/2012)
#display.df display.lo: CPPFLAGS += $(X11_FLAGS)

## Special rules for sources which must be built before rest of compilation.

## defaults.h and graphics.h must depend on Makefile.  Calling configure
## may change default/config values.  However, calling configure will also
## regenerate the Makefiles from Makefile.am and trigger the rules below.
corefcn/defaults.h: corefcn/defaults.in.h Makefile
	@$(do_subst_default_vals)

corefcn/graphics.h: corefcn/graphics.in.h genprops.awk Makefile
	$(AWK) -f $(srcdir)/genprops.awk $< > $@-t
	mv $@-t $@

corefcn/graphics-props.cc: corefcn/graphics.in.h genprops.awk Makefile
	$(AWK) -v emit_graphics_props=1 -f $(srcdir)/genprops.awk $< > $@-t
	mv $@-t $@

corefcn/oct-errno.cc: corefcn/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 $@

corefcn/mxarray.h: corefcn/mxarray.in.h Makefile
	$(SED) < $< \
	  -e "s|%NO_EDIT_WARNING%|DO NOT EDIT!  Generated automatically from $(<F) by Make.|" \
	  -e "s|%OCTAVE_IDX_TYPE%|${OCTAVE_IDX_TYPE}|" > $@-t
	mv $@-t $@

noinst_LTLIBRARIES += corefcn/libcorefcn.la

corefcn_libcorefcn_la_SOURCES = $(COREFCN_SRC)
corefcn_libcorefcn_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) $(FFTW_XCPPFLAGS)

corefcn/oct-tex-lexer.cc: LEX_OUTPUT_ROOT := lex.octave_tex_
corefcn/oct-tex-parser.h: corefcn/oct-tex-parser.yy