annotate libinterp/corefcn/module.mk @ 24927:c280560d9c96 stable

Overhaul special functions modified by GSOC2018 project. * NEWS: Add note about new functions added. Add note explaining the changes done to existing functions. * __betainc__.cc: Renamed from __betainc_lentz__.cc. Use standard GPL v3 copyright block. Add missing #include "dNDArray.h". Add one-line texinfo documentation for internal function. Remove fourth input argument to function. Use is_single_type() to decide whether to operate with FloatNDArray or NDArray. Delete temporary variables x_arg_s, a_arg_s, b_arg_s used in input validation. Rename len_x, len_a, len_b to numel_[xab] for clarity. Remove input validation that numel match (internal function, no need). Rename function output to retval according to Octave coding conventions. Use more spacing and newlines for readability of code. * __expint__.cc: Renamed from __expint_lentz__.cc. Use standard GPL v3 copyright block. Cull list of #includes to just the necessary ones. Use Complex and FloatComplex typedefs defined by Octave. Add one-line texinfo documentation for internal function. Remove second input argument to function. Use is_single_type() to decide whether to operate with FloatComplexNDArray or ComplexNDArray. Delete temporary variables x_arg_s used in input validation. Rename len_x to numel_x for clarity. Use constructor with dim_vector and scalar value rather than fill() after creating array. Rename function output to retval according to Octave coding conventions. Use more spacing and newlines for readability of code. * __gammainc__.cc: Renamed from __gammainc_lentz__.cc. Use standard GPL v3 copyright block. Add one-line texinfo documentation for internal function. Remove third input argument to function. Remove input validation that numel match (internal function, no need). Use is_single_type() to decide whether to operate with FloatNDArray or NDArray. Delete temporary variables x_arg, a_arg used in input validation. Use constructor with dim_vector and scalar value rather than fill() after creating array. Rename function output to retval according to Octave coding conventions. Use more spacing and newlines for readability of code. * __betainc_lentz__.cc, __expint_lentz__.cc, __gammainc_lentz__.cc: Removed. * libinterp/corefcn/module.mk: Add renamed functions to build system. * betainc.m: Use Octave standard GPL block. Rewrite parts of docstring. Don't use array brackets around single output of function. Remove isscalar checks on inputs because common_size() function will already handle it. Use capital variable names in error messages to match documentation as displayed in terminal. Reshape all inputs in to column vectors quickly so that input validation tests that depend on all/any will pass with N-D arrays. Add comments to code. Check for specific error messages in input validation BIST tests. * betaincinv.m: Use Octave standard GPL block. Rewrite parts of docstring. Don't use array brackets around single output of function. Remove isscalar checks on inputs because common_size() function will already handle it. Use capital variable names in error messages to match documentation as displayed in terminal. Reshape all inputs in to column vectors quickly so that input validation tests that depend on all/any will pass with N-D arrays. Put most common case of tail ("lower") first in if/elseif trees. Call functions directly with function handle rather than using unnecessary feval() call. Use numel in preference to length. Rename variable i_miss to todo for clarity. Add comments to code. Check for specific error messages in input validation BIST tests. * cosint.m: Use Octave standard GPL block. Rewrite parts of docstring. Don't use array brackets around single output of function. Remove isscalar checks on inputs because common_size() function will already handle it. Add input validation check for isnumeric value. Convert integer classes to double before proceeding. Rename i_miss to todo for clarity. Use isinf to detect both -Inf and +Inf rather than separate tests. Use ++it in while loop conditional to shorten loop blocks. Add Input validation BIST tests. * expint.m: Remove Sylvain who was not actually an author on this file. Rewrite parts of docstring. Rename variable sparse_x to orig_sparse. Eliminate temporary variables res_tmp, x_s_tmp, ssum_tmp. Rename i_miss to todo. Use Octave coding conventions throughout. Add comments to code. * gammainc.m: Use Octave standard GPL block. Rewrite parts of docstring. Remove isscalar checks on inputs because common_size() function will already handle it. Use capital variable names in error messages to match documentation as displayed in terminal. Reshape all inputs in to column vectors quickly so that input validation tests that depend on all/any will pass with N-D arrays. Put most common case of tail ("lower") first in if/elseif trees. Add input validation of tail. Rename variable ii to idx for clarity. Rename variable i_done to todo and switch polarity so that the '!' operator is not required every time the variable is updated. Use indexing and direct assignment to update todo rather than logical operator '&' which is slower. Use tolower on tail variable and then switch strcmpi calls to strcmp. Reformat %!test blocks in to %!assert blocks to be more compact. Check for specific error messages in input validation BIST tests. * gammaincinv.m: Use Octave standard GPL block. Rewrite parts of docstring. Don't use array brackets around single output of function. Remove isscalar checks on inputs because common_size() function will already handle it. Add input validation check for iscomplex value. Use capital variable names in error messages to match documentation as displayed in terminal. Reshape all inputs in to column vectors quickly so that input validation tests that depend on all/any will pass with N-D arrays. Rename i_miss to todo. Use numel in preference to length. Call functions directly with function handle rather than using unnecessary feval() call.Rename variable i_miss to todo for clarity. Use it++ in while loop conditional to shorten loop blocks. Add comments to code. Check for specific error messages in input validation BIST tests. Add input validation BIST tests for all error messages. * sinint.m: Use Octave standard GPL block. Rewrite parts of docstring. Add input validation for isnumeric. Convert integers to double for calculation. Reshape input to column vector. Rename variable sz to orig_sz for clarity. rename i_miss to todo. Reformat BIST tests to mak them more compact. Add input validation BIST tests.
author Rik <rik@octave.org>
date Mon, 19 Mar 2018 10:01:48 -0700
parents 6c082a43abd8
children 5960fd1b56f1 09e0ddee659c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
1 ## Options functions for Fortran packages like LSODE, DASPK.
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
2 ## These are generated automagically by configure and Perl.
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
3 OPT_HANDLERS = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
4 %reldir%/DASPK-opts.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
5 %reldir%/DASRT-opts.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
6 %reldir%/DASSL-opts.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
7 %reldir%/LSODE-opts.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
8 %reldir%/Quad-opts.cc
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
9
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
10 $(OPT_HANDLERS): %reldir%/%.cc : liboctave/numeric/%.in | %reldir%/$(octave_dirstamp)
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
11 $(AM_V_GEN)rm -f $@-t $@ && \
21290
1309edb344e1 use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
12 $(PERL) $(srcdir)/build-aux/mk-opts.pl --opt-handler-fcns $< > $@-t && \
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
13 mv $@-t $@
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
14
21290
1309edb344e1 use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents: 21281
diff changeset
15 $(OPT_HANDLERS): $(srcdir)/build-aux/mk-opts.pl
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
16
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
17 DIRSTAMP_FILES += %reldir%/$(octave_dirstamp)
22074
5a0eea960bdb build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents: 21977
diff changeset
18
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
19 COREFCN_INC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
20 %reldir%/base-text-renderer.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
21 %reldir%/Cell.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
22 %reldir%/c-file-ptr-stream.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
23 %reldir%/call-stack.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
24 %reldir%/cdisplay.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
25 %reldir%/data.h \
23714
70f1cabab2ba fix file lists for renaming of defaults.in.h and defaults.cc
John W. Eaton <jwe@octave.org>
parents: 23712
diff changeset
26 %reldir%/defaults.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
27 %reldir%/defun-dld.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
28 %reldir%/defun-int.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
29 %reldir%/defun.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
30 %reldir%/dirfns.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
31 %reldir%/display.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
32 %reldir%/dynamic-ld.h \
23719
69a111259a2c eliminate some global variables
John W. Eaton <jwe@octave.org>
parents: 23714
diff changeset
33 %reldir%/environment.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
34 %reldir%/error.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
35 %reldir%/errwarn.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
36 %reldir%/event-queue.h \
24263
3b302b2890d7 disentangle symbol_record, scope, and fcn_info from symbol_table class
John W. Eaton <jwe@octave.org>
parents: 23774
diff changeset
37 %reldir%/fcn-info.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
38 %reldir%/file-io.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
39 %reldir%/ft-text-renderer.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
40 %reldir%/gl-render.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
41 %reldir%/gl2ps-print.h \
23774
41795b504a8b don't use singleton for gtk_manager
John W. Eaton <jwe@octave.org>
parents: 23751
diff changeset
42 %reldir%/graphics-handle.h \
41795b504a8b don't use singleton for gtk_manager
John W. Eaton <jwe@octave.org>
parents: 23751
diff changeset
43 %reldir%/graphics-toolkit.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
44 %reldir%/gripes.h \
23774
41795b504a8b don't use singleton for gtk_manager
John W. Eaton <jwe@octave.org>
parents: 23751
diff changeset
45 %reldir%/gtk-manager.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
46 %reldir%/help.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
47 %reldir%/hook-fcn.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
48 %reldir%/input.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
49 %reldir%/interpreter.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
50 %reldir%/load-path.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
51 %reldir%/load-save.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
52 %reldir%/ls-ascii-helper.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
53 %reldir%/ls-hdf5.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
54 %reldir%/ls-mat-ascii.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
55 %reldir%/ls-mat4.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
56 %reldir%/ls-mat5.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
57 %reldir%/ls-oct-text.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
58 %reldir%/ls-oct-binary.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
59 %reldir%/ls-utils.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
60 %reldir%/mex.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
61 %reldir%/mexproto.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
62 %reldir%/oct-errno.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
63 %reldir%/oct-fstrm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
64 %reldir%/oct-handle.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
65 %reldir%/oct-hdf5-types.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
66 %reldir%/oct-hist.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
67 %reldir%/oct-iostrm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
68 %reldir%/oct-map.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
69 %reldir%/oct-obj.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
70 %reldir%/oct-prcstrm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
71 %reldir%/oct-procbuf.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
72 %reldir%/oct-stdstrm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
73 %reldir%/oct-stream.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
74 %reldir%/oct-strstrm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
75 %reldir%/oct.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
76 %reldir%/octave-default-image.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
77 %reldir%/octave-link.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
78 %reldir%/pager.h \
24667
56f889d66b7c move float_format container to setparate file
John W. Eaton <jwe@octave.org>
parents: 24645
diff changeset
79 %reldir%/pr-flt-fmt.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
80 %reldir%/pr-output.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
81 %reldir%/procstream.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
82 %reldir%/sighandlers.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
83 %reldir%/sparse-xdiv.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
84 %reldir%/sparse-xpow.h \
24263
3b302b2890d7 disentangle symbol_record, scope, and fcn_info from symbol_table class
John W. Eaton <jwe@octave.org>
parents: 23774
diff changeset
85 %reldir%/symrec.h \
24269
f494b87d2a93 rename scope to symbol_scope
John W. Eaton <jwe@octave.org>
parents: 24263
diff changeset
86 %reldir%/symscope.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
87 %reldir%/symtab.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
88 %reldir%/sysdep.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
89 %reldir%/text-renderer.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
90 %reldir%/toplev.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
91 %reldir%/txt-eng.h \
23742
1f0daaf81955 don't use singleton for ch_manager, rename to url_handle_manager
John W. Eaton <jwe@octave.org>
parents: 23724
diff changeset
92 %reldir%/url-handle-manager.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
93 %reldir%/utils.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
94 %reldir%/variables.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
95 %reldir%/xdiv.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
96 %reldir%/xnorm.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
97 %reldir%/xpow.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
98 %reldir%/zfstream.h
17378
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
99
21196
bd96c2efd4fe move include statements for OpenGL headers to a single file
John W. Eaton <jwe@octave.org>
parents: 21141
diff changeset
100 NOINSTALL_COREFCN_INC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
101 %reldir%/interpreter-private.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
102 %reldir%/oct-hdf5.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
103 %reldir%/oct-opengl.h
21196
bd96c2efd4fe move include statements for OpenGL headers to a single file
John W. Eaton <jwe@octave.org>
parents: 21141
diff changeset
104
21242
ae03a16f3343 don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents: 21217
diff changeset
105 ## oct-tex-parser.h is in the SRC list so that it will be distributed
ae03a16f3343 don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents: 21217
diff changeset
106 ## but not installed.
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
107
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15039
diff changeset
108 COREFCN_SRC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
109 %reldir%/Cell.cc \
24927
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24908
diff changeset
110 %reldir%/__betainc__.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
111 %reldir%/__contourc__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
112 %reldir%/__dsearchn__.cc \
24927
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24908
diff changeset
113 %reldir%/__expint__.cc \
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24908
diff changeset
114 %reldir%/__gammainc__.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
115 %reldir%/__ichol__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
116 %reldir%/__ilu__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
117 %reldir%/__lin_interpn__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
118 %reldir%/__luinc__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
119 %reldir%/__magick_read__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
120 %reldir%/__pchip_deriv__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
121 %reldir%/__qp__.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
122 %reldir%/balance.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
123 %reldir%/besselj.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
124 %reldir%/bitfcns.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
125 %reldir%/bsxfun.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
126 %reldir%/c-file-ptr-stream.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
127 %reldir%/call-stack.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
128 %reldir%/cdisplay.c \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
129 %reldir%/cellfun.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
130 %reldir%/colloc.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
131 %reldir%/coct-hdf5-types.c \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
132 %reldir%/conv2.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
133 %reldir%/daspk.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
134 %reldir%/dasrt.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
135 %reldir%/dassl.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
136 %reldir%/data.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
137 %reldir%/debug.cc \
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23719
diff changeset
138 %reldir%/defaults.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
139 %reldir%/defun.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
140 %reldir%/det.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
141 %reldir%/dirfns.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
142 %reldir%/display.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
143 %reldir%/dlmread.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
144 %reldir%/dot.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
145 %reldir%/dynamic-ld.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
146 %reldir%/eig.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
147 %reldir%/ellipj.cc \
23719
69a111259a2c eliminate some global variables
John W. Eaton <jwe@octave.org>
parents: 23714
diff changeset
148 %reldir%/environment.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
149 %reldir%/error.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
150 %reldir%/errwarn.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
151 %reldir%/event-queue.cc \
24263
3b302b2890d7 disentangle symbol_record, scope, and fcn_info from symbol_table class
John W. Eaton <jwe@octave.org>
parents: 23774
diff changeset
152 %reldir%/fcn-info.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
153 %reldir%/fft.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
154 %reldir%/fft2.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
155 %reldir%/fftn.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
156 %reldir%/file-io.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
157 %reldir%/filter.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
158 %reldir%/find.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
159 %reldir%/ft-text-renderer.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
160 %reldir%/gcd.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
161 %reldir%/getgrent.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
162 %reldir%/getpwent.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
163 %reldir%/getrusage.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
164 %reldir%/givens.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
165 %reldir%/gl-render.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
166 %reldir%/gl2ps-print.cc \
23774
41795b504a8b don't use singleton for gtk_manager
John W. Eaton <jwe@octave.org>
parents: 23751
diff changeset
167 %reldir%/graphics-toolkit.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
168 %reldir%/graphics.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
169 %reldir%/gripes.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
170 %reldir%/gsvd.cc \
23774
41795b504a8b don't use singleton for gtk_manager
John W. Eaton <jwe@octave.org>
parents: 23751
diff changeset
171 %reldir%/gtk-manager.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
172 %reldir%/hash.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
173 %reldir%/help.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
174 %reldir%/hess.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
175 %reldir%/hex2num.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
176 %reldir%/hook-fcn.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
177 %reldir%/input.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
178 %reldir%/inv.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
179 %reldir%/interpreter-private.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
180 %reldir%/interpreter.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
181 %reldir%/kron.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
182 %reldir%/load-path.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
183 %reldir%/load-save.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
184 %reldir%/lookup.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
185 %reldir%/ls-ascii-helper.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
186 %reldir%/ls-hdf5.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
187 %reldir%/ls-mat-ascii.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
188 %reldir%/ls-mat4.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
189 %reldir%/ls-mat5.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
190 %reldir%/ls-oct-text.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
191 %reldir%/ls-oct-binary.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
192 %reldir%/ls-utils.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
193 %reldir%/lsode.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
194 %reldir%/lu.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
195 %reldir%/mappers.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
196 %reldir%/matrix_type.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
197 %reldir%/max.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
198 %reldir%/mex.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
199 %reldir%/mgorth.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
200 %reldir%/nproc.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
201 %reldir%/oct-fstrm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
202 %reldir%/oct-hdf5-types.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
203 %reldir%/oct-hist.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
204 %reldir%/oct-iostrm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
205 %reldir%/oct-map.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
206 %reldir%/oct-prcstrm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
207 %reldir%/oct-procbuf.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
208 %reldir%/oct-stream.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
209 %reldir%/oct-strstrm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
210 %reldir%/oct-tex-lexer.ll \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
211 %reldir%/oct-tex-parser.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
212 %reldir%/oct-tex-parser.yy \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
213 %reldir%/octave-link.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
214 %reldir%/ordschur.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
215 %reldir%/pager.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
216 %reldir%/pinv.cc \
24667
56f889d66b7c move float_format container to setparate file
John W. Eaton <jwe@octave.org>
parents: 24645
diff changeset
217 %reldir%/pr-flt-fmt.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
218 %reldir%/pr-output.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
219 %reldir%/procstream.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
220 %reldir%/psi.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
221 %reldir%/quad.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
222 %reldir%/quadcc.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
223 %reldir%/qz.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
224 %reldir%/rand.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
225 %reldir%/rcond.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
226 %reldir%/regexp.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
227 %reldir%/schur.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
228 %reldir%/sighandlers.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
229 %reldir%/sparse-xdiv.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
230 %reldir%/sparse-xpow.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
231 %reldir%/sparse.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
232 %reldir%/spparms.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
233 %reldir%/sqrtm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
234 %reldir%/str2double.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
235 %reldir%/strfind.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
236 %reldir%/strfns.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
237 %reldir%/sub2ind.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
238 %reldir%/svd.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
239 %reldir%/sylvester.cc \
24263
3b302b2890d7 disentangle symbol_record, scope, and fcn_info from symbol_table class
John W. Eaton <jwe@octave.org>
parents: 23774
diff changeset
240 %reldir%/symrec.cc \
24269
f494b87d2a93 rename scope to symbol_scope
John W. Eaton <jwe@octave.org>
parents: 24263
diff changeset
241 %reldir%/symscope.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
242 %reldir%/symtab.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
243 %reldir%/syscalls.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
244 %reldir%/sysdep.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
245 %reldir%/time.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
246 %reldir%/text-renderer.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
247 %reldir%/toplev.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
248 %reldir%/tril.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
249 %reldir%/tsearch.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
250 %reldir%/txt-eng.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
251 %reldir%/typecast.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
252 %reldir%/urlwrite.cc \
23742
1f0daaf81955 don't use singleton for ch_manager, rename to url_handle_manager
John W. Eaton <jwe@octave.org>
parents: 23724
diff changeset
253 %reldir%/url-handle-manager.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
254 %reldir%/utils.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
255 %reldir%/variables.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
256 %reldir%/xdiv.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
257 %reldir%/xnorm.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
258 %reldir%/xpow.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
259 %reldir%/zfstream.cc \
21196
bd96c2efd4fe move include statements for OpenGL headers to a single file
John W. Eaton <jwe@octave.org>
parents: 21141
diff changeset
260 $(NOINSTALL_COREFCN_INC)
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
261
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
262 ## Special rules for sources which must be built before rest of compilation.
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
263
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23719
diff changeset
264 %reldir%/default-defs.h: %reldir%/default-defs.in.h build-aux/subst-default-vals.sh | %reldir%/$(octave_dirstamp)
21398
7e8a410e6124 break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents: 21355
diff changeset
265 $(AM_V_GEN)$(call simple-filter-rule,build-aux/subst-default-vals.sh)
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
266
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
267 %reldir%/graphics.h: %reldir%/graphics.in.h %reldir%/genprops.awk | %reldir%/$(octave_dirstamp)
20354
456c7e4cb34d use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents: 20331
diff changeset
268 $(AM_V_GEN)rm -f $@-t && \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
269 $(AWK) -f $(srcdir)/%reldir%/genprops.awk $< > $@-t && \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
270 mv $@-t $@
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
271
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
272 %reldir%/graphics-props.cc: %reldir%/graphics.in.h %reldir%/genprops.awk | %reldir%/$(octave_dirstamp)
20354
456c7e4cb34d use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents: 20331
diff changeset
273 $(AM_V_GEN)rm -f $@-t && \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
274 $(AWK) -v emit_graphics_props=1 -f $(srcdir)/%reldir%/genprops.awk $< > $@-t && \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
275 mv $@-t $@
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
276
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
277 %reldir%/oct-errno.cc: %reldir%/oct-errno.in.cc %reldir%/mk-errno-list.sh | %reldir%/$(octave_dirstamp)
20354
456c7e4cb34d use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents: 20331
diff changeset
278 $(AM_V_GEN)rm -f $@-t && \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
279 if test -n "$(PERL)"; then \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
280 $(SHELL) $(srcdir)/%reldir%/mk-errno-list.sh --perl "$(PERL)" < $< > $@-t; \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
281 elif test -n "$(PYTHON)"; then \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
282 $(SHELL) $(srcdir)/%reldir%/mk-errno-list.sh --python "$(PYTHON)" < $< > $@-t; \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
283 else \
23722
ab9e51f41a29 substitute no-edit warning in oct-errno.in.cc
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
284 $(SHELL) $(srcdir)/%reldir%/mk-errno-list.sh --sed "$(SED)" < $< > $@-t; \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
285 fi && \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
286 mv $@-t $@
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
287
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
288 %reldir%/mxarray.h: %reldir%/mxarray.in.h %reldir%/mk-mxarray-h.sh | %reldir%/$(octave_dirstamp)
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
289 $(AM_V_GEN)$(call simple-filter-rule,%reldir%/mk-mxarray-h.sh)
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
290
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
291 %reldir%/oct-tex-lexer.ll: %reldir%/oct-tex-lexer.in.ll %reldir%/oct-tex-symbols.in | %reldir%/$(octave_dirstamp)
20354
456c7e4cb34d use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents: 20331
diff changeset
292 $(AM_V_GEN)rm -f $@-t && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
293 $(AWK) 'BEGIN { print "/* DO NOT EDIT. AUTOMATICALLY GENERATED FROM oct-tex-lexer.in.ll and oct-tex-symbols.in. */"; } /^@SYMBOL_RULES@$$/ { count = 0; while (getline < "$(srcdir)/%reldir%/oct-tex-symbols.in") { if ($$0 !~ /^#.*/ && NF == 3) { printf("\"\\\\%s\" { yylval->sym = %d; return SYM; }\n", $$1, count); count++; } } getline } ! /^@SYMBOL_RULES@$$/ { print }' $< > $@-t && \
16892
68fc671a9339 maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents: 16584
diff changeset
294 mv $@-t $@
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
295
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
296 %reldir%/oct-tex-symbols.cc: %reldir%/oct-tex-symbols.in | %reldir%/$(octave_dirstamp)
20354
456c7e4cb34d use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents: 20331
diff changeset
297 $(AM_V_GEN)rm -f $@-t && \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
298 $(AWK) 'BEGIN { print "// DO NOT EDIT. AUTOMATICALLY GENERATED FROM oct-tex-symbols.in."; print "static uint32_t symbol_codes[][2] = {"; count = 0; } END { print "};"; printf("static int num_symbol_codes = %d;\n", count); } !/^#/ && (NF == 3) { printf(" { %s, %s },\n", $$2, $$3); count++; }' $< > $@-t && \
17327
fe6518a1d87c Move TeX symbol decoding into the lexer (bug #39831).
Michael Goffioul <michael.goffioul@gmail.com>
parents: 17272
diff changeset
299 mv $@-t $@
fe6518a1d87c Move TeX symbol decoding into the lexer (bug #39831).
Michael Goffioul <michael.goffioul@gmail.com>
parents: 17272
diff changeset
300
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
301 %reldir%/oct-tex-lexer.cc: LEX_OUTPUT_ROOT := lex.octave_tex_
17378
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
302
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
303 %reldir%/oct-tex-parser.yy: %reldir%/oct-tex-parser.in.yy
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
304 $(AM_V_GEN)$(call subst-bison-api-decls,octave_tex_)
17378
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
305
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
306 noinst_LTLIBRARIES += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
307 %reldir%/libcorefcn.la
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
308
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
309 %canon_reldir%_libcorefcn_la_SOURCES = $(COREFCN_SRC)
17378
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
310
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
311 %canon_reldir%_libcorefcn_la_CPPFLAGS = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
312 $(libinterp_liboctinterp_la_CPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
313 $(FFTW_XCPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
314 $(FONTCONFIG_CPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
315 $(FT2_CPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
316 $(HDF5_CPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
317 $(LLVM_CPPFLAGS) \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
318 $(Z_CPPFLAGS)
17378
813523c2b581 build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents: 17353
diff changeset
319
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
320 %canon_reldir%_libcorefcn_la_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS)
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20264
diff changeset
321
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
322 %canon_reldir%_libcorefcn_la_CXXFLAGS = $(AM_CXXFLAGS) $(WARN_CXXFLAGS) $(LLVM_CXXFLAGS)
19281
4b8b942ef8db limit specific CPPFLAGS variables to specific convenience libs (bug #38928)
John W. Eaton <jwe@octave.org>
parents: 19065
diff changeset
323
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20354
diff changeset
324 libinterp_EXTRA_DIST += \
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23719
diff changeset
325 %reldir%/default-defs.in.h \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
326 %reldir%/genprops.awk \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
327 %reldir%/graphics.in.h \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
328 %reldir%/mk-errno-list.sh \
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
329 %reldir%/mk-mxarray-h.in.sh \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
330 %reldir%/mxarray.in.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
331 %reldir%/oct-errno.in.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
332 %reldir%/oct-tex-lexer.in.ll \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
333 %reldir%/oct-tex-parser.in.yy \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23438
diff changeset
334 %reldir%/oct-tex-symbols.in
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
335
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
336 GEN_CONFIG_SHELL += \
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23674
diff changeset
337 %reldir%/mk-mxarray-h.sh