summaryrefslogtreecommitdiff
path: root/macros/findDeps/getAllSources.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/findDeps/getAllSources.sci')
-rw-r--r--macros/findDeps/getAllSources.sci187
1 files changed, 170 insertions, 17 deletions
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci
index 0891aef..cbb0a1e 100644
--- a/macros/findDeps/getAllSources.sci
+++ b/macros/findDeps/getAllSources.sci
@@ -10,7 +10,7 @@
//
//
-function allSources = getAllSources(SharedInfo)
+function allSources = getAllSources(SharedInfo,BuildTool)
Target = SharedInfo.Target;
//Files common to types of output format
@@ -155,18 +155,10 @@ function allSources = getAllSources(SharedInfo)
"src/c/matrixOperations/powm/spowma.c"
"src/c/matrixOperations/powm/zpowma.c"
"src/c/matrixOperations/powm/cpowma.c"
- "src/c/linearAlgebra/spec/cspeca.c"
- "src/c/linearAlgebra/spec/dspeca.c"
- "src/c/linearAlgebra/spec/sspeca.c"
- "src/c/linearAlgebra/spec/zspeca.c"
"src/c/matrixOperations/transpose/ztransposea.c"
"src/c/matrixOperations/transpose/stransposea.c"
"src/c/matrixOperations/transpose/ctransposea.c"
"src/c/matrixOperations/transpose/dtransposea.c"
- "src/c/linearAlgebra/spec2/zspec2a.c"
- "src/c/linearAlgebra/spec2/sspec2a.c"
- "src/c/linearAlgebra/spec2/dspec2a.c"
- "src/c/linearAlgebra/spec2/cspec2a.c"
"src/c/matrixOperations/trace/stracea.c"
"src/c/matrixOperations/trace/dtracea.c"
"src/c/matrixOperations/trace/ctracea.c"
@@ -312,6 +304,16 @@ function allSources = getAllSources(SharedInfo)
"src/c/matrixOperations/cumprod/i16cumproda.c"
"src/c/matrixOperations/cumprod/i16rowcumproda.c"
"src/c/matrixOperations/cumprod/i16columncumproda.c"
+ "src/c/matrixOperations/matrix/dmatrixa.c"
+ "src/c/matrixOperations/matrix/smatrixa.c"
+ "src/c/matrixOperations/matrix/u16matrixa.c"
+ "src/c/matrixOperations/matrix/zmatrixa.c"
+ "src/c/matrixOperations/nnz/dnnza.c"
+ "src/c/matrixOperations/nnz/dnnzs.c"
+ "src/c/matrixOperations/nnz/snnza.c"
+ "src/c/matrixOperations/nnz/snnzs.c"
+ "src/c/matrixOperations/nnz/znnza.c"
+ "src/c/matrixOperations/nnz/znnzs.c"
"src/c/matrixOperations/triu/dtriua.c"
"src/c/matrixOperations/triu/striua.c"
"src/c/matrixOperations/triu/u8triua.c"
@@ -334,6 +336,23 @@ function allSources = getAllSources(SharedInfo)
"src/c/matrixOperations/kron/skrona.c"
"src/c/matrixOperations/norm/dnormv.c"
"src/c/matrixOperations/norm/dnorma.c"
+ "src/c/matrixOperations/toeplitz/dtoeplitza.c"
+ "src/c/matrixOperations/toeplitz/u8toeplitza.c"
+ "src/c/matrixOperations/toeplitz/u16toeplitza.c"
+ "src/c/matrixOperations/toeplitz/gtoeplitza.c"
+ "src/c/matrixOperations/toeplitz/ztoeplitza.c"
+ "src/c/matrixOperations/toeplitz/stoeplitza.c"
+ "src/c/matrixOperations/toeplitz/ctoeplitza.c"
+ "src/c/matrixOperations/toeplitz/i8toeplitza.c"
+ "src/c/matrixOperations/toeplitz/i16toeplitza.c"
+ "src/c/matrixOperations/cross/dcrossa.c"
+ "src/c/matrixOperations/cross/zcrossa.c"
+ "src/c/matrixOperations/cross/ccrossa.c"
+ "src/c/matrixOperations/cross/scrossa.c"
+ "src/c/matrixOperations/cross/u8crossa.c"
+ "src/c/matrixOperations/cross/i8crossa.c"
+ "src/c/matrixOperations/cross/u16crossa.c"
+ "src/c/matrixOperations/cross/i16crossa.c"
"src/c/elementaryFunctions/nextpow2/dnextpow2a.c"
"src/c/elementaryFunctions/isreal/sisreals.c"
"src/c/elementaryFunctions/isreal/disreals.c"
@@ -623,10 +642,9 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/round/i16rounds.c"
"src/c/elementaryFunctions/lnp1m1/slnp1m1s.c"
"src/c/elementaryFunctions/lnp1m1/dlnp1m1s.c"
-
- "src/c/elementaryFunctions/float/dfloats.c"
+ "src/c/elementaryFunctions/float/dfloats.c"
"src/c/elementaryFunctions/float/dfloata.c"
- "src/c/elementaryFunctions/float/sfloats.c"
+ "src/c/elementaryFunctions/float/sfloats.c"
"src/c/elementaryFunctions/float/sfloata.c"
"src/c/elementaryFunctions/float/u8floats.c"
"src/c/elementaryFunctions/float/u8floata.c"
@@ -636,7 +654,6 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/float/u16floata.c"
"src/c/elementaryFunctions/float/i16floats.c"
"src/c/elementaryFunctions/float/i16floata.c"
-
"src/c/elementaryFunctions/uint8/duint8s.c"
"src/c/elementaryFunctions/uint8/duint8a.c"
"src/c/elementaryFunctions/uint8/suint8s.c"
@@ -705,7 +722,6 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/int32/i16int32a.c"
"src/c/elementaryFunctions/int32/u32int32s.c"
"src/c/elementaryFunctions/int32/u32int32a.c"
-
"src/c/elementaryFunctions/bitand/u8bitands.c"
"src/c/elementaryFunctions/bitand/u8bitanda.c"
"src/c/elementaryFunctions/bitand/u16bitands.c"
@@ -764,6 +780,78 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/acsc/cacsca.c"
"src/c/elementaryFunctions/acsc/zacscs.c"
"src/c/elementaryFunctions/acsc/zacsca.c"
+ "src/c/elementaryFunctions/isrow/disrowa.c"
+ "src/c/elementaryFunctions/isrow/disrows.c"
+ "src/c/elementaryFunctions/isrow/gisrows.c"
+ "src/c/elementaryFunctions/isrow/gisrowa.c"
+ "src/c/elementaryFunctions/isrow/sisrows.c"
+ "src/c/elementaryFunctions/isrow/sisrowa.c"
+ "src/c/elementaryFunctions/isrow/zisrowa.c"
+ "src/c/elementaryFunctions/isrow/zisrows.c"
+ "src/c/elementaryFunctions/isrow/u16isrowa.c"
+ "src/c/elementaryFunctions/isrow/u16isrows.c"
+ "src/c/elementaryFunctions/issquare/dissquarea.c"
+ "src/c/elementaryFunctions/issquare/dissquares.c"
+ "src/c/elementaryFunctions/issquare/gissquares.c"
+ "src/c/elementaryFunctions/issquare/gissquarea.c"
+ "src/c/elementaryFunctions/issquare/sissquares.c"
+ "src/c/elementaryFunctions/issquare/sissquarea.c"
+ "src/c/elementaryFunctions/issquare/zissquarea.c"
+ "src/c/elementaryFunctions/issquare/zissquares.c"
+ "src/c/elementaryFunctions/nthroot/dnthroota.c"
+ "src/c/elementaryFunctions/nthroot/dnthroot1a.c"
+ "src/c/elementaryFunctions/nthroot/dnthroots.c"
+ "src/c/elementaryFunctions/nthroot/snthroota.c"
+ "src/c/elementaryFunctions/nthroot/snthroot1a.c"
+ "src/c/elementaryFunctions/nthroot/snthroots.c"
+ "src/c/elementaryFunctions/pmodulo/dpmodulos.c"
+ "src/c/elementaryFunctions/pmodulo/dpmoduloa.c"
+ "src/c/elementaryFunctions/pmodulo/spmodulos.c"
+ "src/c/elementaryFunctions/pmodulo/spmoduloa.c"
+ "src/c/elementaryFunctions/pmodulo/i16pmodulos.c"
+ "src/c/elementaryFunctions/pmodulo/i16pmoduloa.c"
+ "src/c/elementaryFunctions/nanmax/dnanmaxa.c"
+ "src/c/elementaryFunctions/nanmax/dnanmaxcola.c"
+ "src/c/elementaryFunctions/nanmax/dnanmaxrowa.c"
+ "src/c/elementaryFunctions/nanmax/snanmaxa.c"
+ "src/c/elementaryFunctions/nanmax/snanmaxcola.c"
+ "src/c/elementaryFunctions/nanmax/snanmaxrowa.c"
+ "src/c/elementaryFunctions/isscalar/disscalara.c"
+ "src/c/elementaryFunctions/isscalar/disscalars.c"
+ "src/c/elementaryFunctions/isscalar/gisscalars.c"
+ "src/c/elementaryFunctions/isscalar/gisscalara.c"
+ "src/c/elementaryFunctions/isscalar/sisscalars.c"
+ "src/c/elementaryFunctions/isscalar/sisscalara.c"
+ "src/c/elementaryFunctions/isscalar/zisscalara.c"
+ "src/c/elementaryFunctions/isscalar/zisscalars.c"
+ "src/c/elementaryFunctions/iscolumn/discolumna.c"
+ "src/c/elementaryFunctions/iscolumn/discolumns.c"
+ "src/c/elementaryFunctions/iscolumn/giscolumns.c"
+ "src/c/elementaryFunctions/iscolumn/giscolumna.c"
+ "src/c/elementaryFunctions/iscolumn/siscolumns.c"
+ "src/c/elementaryFunctions/iscolumn/siscolumna.c"
+ "src/c/elementaryFunctions/iscolumn/ziscolumna.c"
+ "src/c/elementaryFunctions/iscolumn/ziscolumns.c"
+ "src/c/elementaryFunctions/iscolumn/u16iscolumna.c"
+ "src/c/elementaryFunctions/iscolumn/u16iscolumns.c"
+ "src/c/elementaryFunctions/isvector/disvectora.c"
+ "src/c/elementaryFunctions/isvector/disvectors.c"
+ "src/c/elementaryFunctions/isvector/gisvectors.c"
+ "src/c/elementaryFunctions/isvector/gisvectora.c"
+ "src/c/elementaryFunctions/isvector/sisvectors.c"
+ "src/c/elementaryFunctions/isvector/sisvectora.c"
+ "src/c/elementaryFunctions/isvector/zisvectora.c"
+ "src/c/elementaryFunctions/isvector/zisvectors.c"
+ "src/c/elementaryFunctions/ismatrix/dismatrixa.c"
+ "src/c/elementaryFunctions/ismatrix/dismatrixs.c"
+ "src/c/elementaryFunctions/ismatrix/gismatrixs.c"
+ "src/c/elementaryFunctions/ismatrix/gismatrixa.c"
+ "src/c/elementaryFunctions/ismatrix/sismatrixs.c"
+ "src/c/elementaryFunctions/ismatrix/sismatrixa.c"
+ "src/c/elementaryFunctions/ismatrix/zismatrixa.c"
+ "src/c/elementaryFunctions/ismatrix/zismatrixs.c"
+ "src/c/elementaryFunctions/ismatrix/u16ismatrixa.c"
+ "src/c/elementaryFunctions/ismatrix/u16ismatrixs.c"
"src/c/elementaryFunctions/acscd/dacscda.c"
"src/c/elementaryFunctions/acscd/dacscds.c"
"src/c/elementaryFunctions/acscd/sacscda.c"
@@ -794,6 +882,14 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/atand/satands.c"
"src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcda.c"
"src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c"
+ "src/c/elementaryFunctions/isequal/disequals.c"
+ "src/c/elementaryFunctions/isequal/disequala.c"
+ "src/c/elementaryFunctions/isequal/sisequals.c"
+ "src/c/elementaryFunctions/isequal/sisequala.c"
+ "src/c/elementaryFunctions/isequal/zisequals.c"
+ "src/c/elementaryFunctions/isequal/zisequala.c"
+ "src/c/elementaryFunctions/isequal/u16isequals.c"
+ "src/c/elementaryFunctions/isequal/u16isequala.c"
"src/c/statisticsFunctions/max/dmaxa.c"
"src/c/statisticsFunctions/max/smaxa.c"
"src/c/statisticsFunctions/max/srowmaxa.c"
@@ -846,6 +942,27 @@ function allSources = getAllSources(SharedInfo)
"src/c/statisticsFunctions/meanf/zmeanfdz.c"
"src/c/statisticsFunctions/meanf/cmeanfsc.c"
"src/c/statisticsFunctions/meanf/zcolumnmeanfa.c"
+ "src/c/statisticsFunctions/median/dmediana.c"
+ "src/c/statisticsFunctions/median/dmedianrowa.c"
+ "src/c/statisticsFunctions/median/dmediancola.c"
+ "src/c/statisticsFunctions/median/smediana.c"
+ "src/c/statisticsFunctions/median/smedianrowa.c"
+ "src/c/statisticsFunctions/median/smediancola.c"
+ "src/c/statisticsFunctions/median/u16mediana.c"
+ "src/c/statisticsFunctions/median/u16medianrowa.c"
+ "src/c/statisticsFunctions/median/u16mediancola.c"
+ "src/c/statisticsFunctions/median/zmediana.c"
+ "src/c/statisticsFunctions/median/zmediancola.c"
+ "src/c/statisticsFunctions/median/zmedianrowa.c"
+ "src/c/statisticsFunctions/mad/dmada.c"
+ "src/c/statisticsFunctions/mad/dmadrowa.c"
+ "src/c/statisticsFunctions/mad/dmadcola.c"
+ "src/c/statisticsFunctions/mad/smada.c"
+ "src/c/statisticsFunctions/mad/smadrowa.c"
+ "src/c/statisticsFunctions/mad/smadcola.c"
+ "src/c/statisticsFunctions/mad/zmada.c"
+ "src/c/statisticsFunctions/mad/zmadrowa.c"
+ "src/c/statisticsFunctions/mad/zmadcola.c"
"src/c/statisticsFunctions/prod/srowproda.c"
"src/c/statisticsFunctions/prod/drowproda.c"
"src/c/statisticsFunctions/prod/dproda.c"
@@ -1259,20 +1376,48 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/discrete_mathematics/primes/sprimess.c"
"src/c/elementaryFunctions/discrete_mathematics/factor/dfactors.c"
"src/c/elementaryFunctions/discrete_mathematics/factor/sfactors.c"
+ "src/c/specialFunctions/erf/derfs.c"
+ "src/c/specialFunctions/erf/derfa.c"
+ "src/c/specialFunctions/erf/serfs.c"
+ "src/c/specialFunctions/erf/serfa.c"
+ "src/c/specialFunctions/erfc/derfcs.c"
+ "src/c/specialFunctions/erfc/derfca.c"
+ "src/c/specialFunctions/erfc/serfcs.c"
+ "src/c/specialFunctions/erfc/serfca.c"
+ "src/c/specialFunctions/erfcx/derfcxs.c"
+ "src/c/specialFunctions/erfcx/derfcxa.c"
+ "src/c/specialFunctions/erfcx/serfcxs.c"
+ "src/c/specialFunctions/erfcx/serfcxa.c"
+ "src/c/specialFunctions/erfinv/derfinvs.c"
+ "src/c/specialFunctions/erfinv/derfinva.c"
+ "src/c/specialFunctions/erfinv/serfinvs.c"
+ "src/c/specialFunctions/erfinv/serfinva.c"
"src/c/CACSD/syslin/dsyslina.c"
"src/c/CACSD/lqr/dlqra.c"
"src/c/CACSD/lqe/dlqea.c"
"src/c/CACSD/obscont/dobsconta.c"
- "src/c/linearAlgebra/sva/dsvaa.c"
- "src/c/linearAlgebra/svd/dsvda.c"
+ "src/c/linearAlgebra/spec2/zspec2a.c"
+ "src/c/linearAlgebra/spec2/sspec2a.c"
+ "src/c/linearAlgebra/spec2/dspec2a.c"
+ "src/c/linearAlgebra/spec2/cspec2a.c"
+ "src/c/linearAlgebra/spec/cspeca.c"
+ "src/c/linearAlgebra/spec/dspeca.c"
+ "src/c/linearAlgebra/spec/sspeca.c"
+ "src/c/linearAlgebra/spec/zspeca.c"
"src/c/linearAlgebra/schur/dschura.c"
"src/c/linearAlgebra/schur/dgschura.c"
"src/c/linearAlgebra/balanc/dbalanca.c"
"src/c/linearAlgebra/svd/dsvda.c"
"src/c/linearAlgebra/svd/zsvda.c"
+ "src/c/linearAlgebra/sqroot/dsqroota.c"
"src/c/linearAlgebra/hess/dhessa.c"
+ "src/c/linearAlgebra/givens/dgivensa.c"
+ "src/c/linearAlgebra/householder/dhouseholdera.c"
"src/c/linearAlgebra/sva/dsvaa.c"
"src/c/linearAlgebra/spec/dspec1a.c"
+ "src/c/linearAlgebra/fullrf/dfullrfa.c"
+ "src/c/linearAlgebra/rowcomp/drowcompa.c"
+ "src/c/linearAlgebra/qr/dqra.c"
"src/c/linearAlgebra/rcond/drconda.c"];
//Files to be inserted only if output format selected is 'Arduino'.
@@ -1435,10 +1580,18 @@ function allSources = getAllSources(SharedInfo)
"src/c/imageProcessing/cvimgproc/imcvCanny.cpp"
"src/c/imageProcessing/cvimgproc/imcvCornerHarris.cpp"];
+ if Target == "Arduino" & BuildTool == "nmake"
+ Required_addrs = get_rquird_fnctns(Standalone_files,Arduino_files,SharedInfo);
+ end
+
if Target == "StandAlone"
allSources = Standalone_files;
elseif Target == "Arduino"
- allSources = cat(1,Standalone_files, Arduino_files);
+ if BuildTool == "nmake"
+ allSources = Required_addrs;
+ else
+ allSources = cat(1,Standalone_files, Arduino_files);
+ end
elseif Target == "AVR"
allSources = cat(1,Standalone_files, AVR_files);
elseif Target == "RPi"