remove depencendency between some modules on polynomials
Allan CORNET [Thu, 7 May 2009 12:05:57 +0000 (14:05 +0200)]
38 files changed:
scilab/Scilab.sln
scilab/Scilab_f2c.sln
scilab/libs/ExplicitExportsLibScilab.vcdef
scilab/libs/LibScilab/DllmainLibscilab.c
scilab/modules/core/includes/stack-def.h
scilab/modules/core/src/c/force_link.c
scilab/modules/integer/src/c/LibScilab_Import.def
scilab/modules/integer/src/c/Polynomials_f_Import.def [new file with mode: 0644]
scilab/modules/integer/src/c/integer.vcproj
scilab/modules/output_stream/src/fortran/LibScilab_Import.def
scilab/modules/output_stream/src/fortran/Polynomials_f_Import.def [new file with mode: 0644]
scilab/modules/output_stream/src/fortran/output_stream_f2c.vcproj
scilab/modules/polynomials/.gitignore
scilab/modules/polynomials/Makefile.am
scilab/modules/polynomials/polynomials.iss
scilab/modules/polynomials/sci_gateway/fortran/polops.f
scilab/modules/polynomials/sci_gateway/fortran/sci_f_sfact.f
scilab/modules/polynomials/sci_gateway/fortran/sci_f_simp.f
scilab/modules/polynomials/sci_gateway/fortran/sci_f_simpmd.f
scilab/modules/polynomials/src/c/DllmainPolynomial.c [new file with mode: 0644]
scilab/modules/polynomials/src/c/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/c/polynomials.vcproj
scilab/modules/polynomials/src/c/polynomials_f_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/c/polynomials_header.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/linear_algebra_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/output_stream_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/polynomials_Import.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/polynomials_f.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/polynomials_f.vfproj
scilab/modules/polynomials/src/fortran/polynomials_f2c.vcproj
scilab/modules/polynomials/src/fortran/polynomials_f_header.def [new file with mode: 0644]
scilab/modules/polynomials/src/fortran/writebufsfact.f [new file with mode: 0644]
scilab/modules/scicos/src/fortran/LibScilab_Import.def
scilab/modules/scicos_blocks/src/c/LibScilab_Import.def
scilab/modules/scicos_blocks/src/fortran/LibScilab_Import.def
scilab/modules/sparse/src/fortran/LibScilab_Import.def
scilab/modules/string/src/fortran/LibScilab_Import.def

index a4f77a5..3f161f7 100644 (file)
@@ -222,7 +222,7 @@ Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "optimization_f", "modules\o
 EndProject
 Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "polynomials_f", "modules\polynomials\src\fortran\polynomials_f.vfproj", "{3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}"
        ProjectSection(ProjectDependencies) = postProject
-               {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
+               {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
        EndProjectSection
 EndProject
@@ -461,6 +461,7 @@ Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "string_f", "modules\string\
                {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
                {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
        EndProjectSection
 EndProject
 Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "symbolic_f", "modules\symbolic\src\fortran\symbolic_f.vfproj", "{D2B63E7D-1E66-4EFC-892E-FA6DAF4E5895}"
@@ -924,9 +925,13 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scicos_blocks", "modules\sc
                {2F7B6080-8D84-43A7-A967-13FC8AA83DEB} = {2F7B6080-8D84-43A7-A967-13FC8AA83DEB}
                {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
        EndProjectSection
 EndProject
 Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "scicos_blocks_f", "modules\scicos_blocks\src\fortran\scicos_blocks_f.vfproj", "{2F7B6080-8D84-43A7-A967-13FC8AA83DEB}"
+       ProjectSection(ProjectDependencies) = postProject
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
+       EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "noumfpack", "modules\umfpack\src\noumfpack\noumfpack.vcproj", "{6B557C09-7D85-42A4-A2B3-E952E00ACD28}"
        ProjectSection(ProjectDependencies) = postProject
@@ -988,6 +993,7 @@ Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "output_stream_f", "modules\
        ProjectSection(ProjectDependencies) = postProject
                {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
        EndProjectSection
 EndProject
 Global
index fcb1c58..e2cb2b8 100644 (file)
@@ -554,6 +554,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optimization_f2c", "modules
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polynomials_f2c", "modules\polynomials\src\fortran\polynomials_f2c.vcproj", "{3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}"
        ProjectSection(ProjectDependencies) = postProject
+               {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
        EndProjectSection
 EndProject
@@ -595,6 +596,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "string_f2c", "modules\strin
                {F0F55692-0355-4BC3-BE9D-552C8AAC5238} = {F0F55692-0355-4BC3-BE9D-552C8AAC5238}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
                {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
        EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "symbolic_f2c", "modules\symbolic\src\fortran\symbolic_f2c.vcproj", "{D2B63E7D-1E66-4EFC-892E-FA6DAF4E5895}"
@@ -915,6 +917,9 @@ EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Modelicac", "modules\scicos\src\modelica_compiler\Modelicac.vcproj", "{BB476641-07F4-488E-AA87-21795FFA8F4A}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scicos_blocks_f2c", "modules\scicos_blocks\src\fortran\scicos_blocks_f2c.vcproj", "{2F7B6080-8D84-43A7-A967-13FC8AA83DEB}"
+       ProjectSection(ProjectDependencies) = postProject
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
+       EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scicos_blocks", "modules\scicos_blocks\src\c\scicos_blocks.vcproj", "{70F677F1-B535-4D0F-A16F-5093B799A540}"
        ProjectSection(ProjectDependencies) = postProject
@@ -923,6 +928,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scicos_blocks", "modules\sc
                {2F7B6080-8D84-43A7-A967-13FC8AA83DEB} = {2F7B6080-8D84-43A7-A967-13FC8AA83DEB}
                {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390} = {3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}
        EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "noumfpack", "modules\umfpack\src\noumfpack\noumfpack.vcproj", "{6B557C09-7D85-42A4-A2B3-E952E00ACD28}"
index 541529b..7c85e27 100644 (file)
@@ -7,7 +7,8 @@
        com_
        adre_
        cha1_
-  mtlbc_
+    mtlbc_
+    csimp_
 ;  
 ;intersci  
        intersci_ 
index b0d2f99..3a62480 100644 (file)
@@ -37,7 +37,6 @@
 #pragma comment(lib,"../../libs/special_functions_f.lib")
 #pragma comment(lib,"../../libs/elementary_functions_f.lib")
 #pragma comment(lib,"../../libs/core_f.lib")
-#pragma comment(lib,"../../libs/polynomials_f.lib")
 #pragma comment(lib,"../../libs/cacsd_f.lib")
 /*-----------------------------------------------------------------------------------*/ 
 int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
index 7f555d2..1d308ae 100644 (file)
@@ -386,5 +386,16 @@ typedef struct {
 
 IMPORT BASBRK_struct C2F(basbrk);
 
+/** 
+* simpmd : rational fraction simplification mode
+* used in polynomials and inisci.f (core)
+*/
+typedef struct {
+       int simpmd;
+} CSIMP_struct;
+
+IMPORT CSIMP_struct C2F(csimp);
+
+
 #endif /** STACK_DEF  **/
 
index c15d6cc..d40551d 100644 (file)
@@ -24,6 +24,12 @@ IERODE_struct C2F(ierode);
 /* manages CTRL-C event */
 BASBRK_struct C2F(basbrk);
 
+/** 
+* simpmd : rational fraction simplification mode
+* used in polynomials and inisci.f (core)
+*/
+CSIMP_struct C2F(csimp);
+
 #else
 /***********************************************************
 * Unused function just here to force linker to load some 
diff --git a/scilab/modules/integer/src/c/Polynomials_f_Import.def b/scilab/modules/integer/src/c/Polynomials_f_Import.def
new file mode 100644 (file)
index 0000000..8caefec
--- /dev/null
@@ -0,0 +1,7 @@
+       LIBRARY    polynomials_f.dll
+
+
+EXPORTS
+
+; polynomials_f
+  blktit_
\ No newline at end of file
index d420ba9..0a36a2d 100644 (file)
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="LibScilab.lib integer_f.lib"
+                               AdditionalDependencies="LibScilab.lib integer_f.lib polynomials_f.lib"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmdd.lib"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="LibScilab.lib integer_f.lib"
+                               AdditionalDependencies="LibScilab.lib integer_f.lib polynomials_f.lib"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmdd.lib"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="LibScilab.lib integer_f.lib"
+                               AdditionalDependencies="LibScilab.lib integer_f.lib polynomials_f.lib"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmd.lib"
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Make dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)integer_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)integer_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n integer.dll %%f &gt;nul&#x0D;&#x0A;copy *.def integertmp.def &gt;nul&#x0D;&#x0A;copy ..\integer_header.def+integertmp.def  ..\integer.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="LibScilab.lib integer_f.lib"
+                               AdditionalDependencies="LibScilab.lib integer_f.lib polynomials_f.lib"
                                OutputFile="../../../../bin/$(ProjectName).dll"
                                LinkIncremental="1"
                                IgnoreDefaultLibraryNames="libmmd.lib"
                                        RelativePath=".\LibScilab_Import.def"
                                        >
                                </File>
+                               <File
+                                       RelativePath=".\Polynomials_f_Import.def"
+                                       >
+                               </File>
                        </Filter>
                </Filter>
                <File
diff --git a/scilab/modules/output_stream/src/fortran/Polynomials_f_Import.def b/scilab/modules/output_stream/src/fortran/Polynomials_f_Import.def
new file mode 100644 (file)
index 0000000..8caefec
--- /dev/null
@@ -0,0 +1,7 @@
+       LIBRARY    polynomials_f.dll
+
+
+EXPORTS
+
+; polynomials_f
+  blktit_
\ No newline at end of file
index 4eddfb5..6ff6206 100644 (file)
@@ -36,7 +36,7 @@
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Build Dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"
                                ExecutionBucket="2"
                        />
                        <Tool
@@ -85,7 +85,7 @@
                                Name="VCLinkerTool"
                                ExecutionBucket="10"
                                AdditionalOptions="/fixed:no"
-                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib"
+                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib polynomials_f.lib"
                                OutputFile="$(SolutionDir)bin\output_stream_f.dll"
                                LinkIncremental="2"
                                ModuleDefinitionFile="output_stream_f.def"
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Build Dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalOptions="/fixed:no"
-                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib"
+                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib polynomials_f.lib"
                                OutputFile="$(SolutionDir)bin\output_stream_f.dll"
                                LinkIncremental="2"
                                ModuleDefinitionFile="output_stream_f.def"
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Build Dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib"
+                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib polynomials_f.lib"
                                OutputFile="$(SolutionDir)bin\output_stream_f.dll"
                                LinkIncremental="1"
                                ModuleDefinitionFile="output_stream_f.def"
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Build Dependencies"
-                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)io_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)io_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)Polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib"
+                               AdditionalDependencies="Libscilab.lib output_stream.lib string.lib io_f.lib polynomials_f.lib"
                                OutputFile="$(SolutionDir)bin\output_stream_f.dll"
                                LinkIncremental="1"
                                ModuleDefinitionFile="output_stream_f.def"
index b9275a9..25b026a 100644 (file)
@@ -1,4 +1,8 @@
 #
 # F2C conversion
 #
-src/fortran/*/*.c
\ No newline at end of file
+src/fortran/*/*.c
+#
+# generated file .DEF
+#
+src/c/polynomials.def
\ No newline at end of file
index 52b0a37..3a7efcd 100644 (file)
@@ -61,7 +61,9 @@ src/fortran/wdmpad.f \
 src/fortran/wmpcle.f \
 src/fortran/quadit.f \
 src/fortran/quad.f \
-src/fortran/calcsc.f
+src/fortran/calcsc.f \
+src/fortran/writebufstfac.f
+
 
 EISPACK_SOURCES = src/fortran/eispack/balbak.f
 
index e7e12fc..7dfe090 100644 (file)
@@ -18,6 +18,9 @@
 ;
 #define POLYNOMIALS "polynomials"
 ;
+Source: bin\polynomials.dll; DestDir: {app}\bin; Components: {#COMPN_POLY}
+Source: bin\polynomials_f.dll; DestDir: {app}\bin; Components: {#COMPN_POLY}
+;
 Source: modules\{#POLYNOMIALS}\VERSION.xml; DestDir: {app}\modules\{#POLYNOMIALS}; Components: {#COMPN_POLY}
 Source: modules\{#POLYNOMIALS}\readme.txt; DestDir: {app}\modules\{#POLYNOMIALS}; Components: {#COMPN_POLY}
 Source: modules\{#POLYNOMIALS}\license.txt; DestDir: {app}\modules\{#POLYNOMIALS}; Components: {#COMPN_POLY}
index a41b475..f490eb7 100644 (file)
@@ -36,10 +36,6 @@ c
       sadr(l)=(l/2)+1
 c
       op=fin
-      if (ddt .eq. 4) then
-         write(buf(1:4),'(i4)') fin
-         call basout(io,wte,' polops '//buf(1:4))
-      endif
 c
       fun=0
       lw=lstk(top+1)
index 2a4234d..c9cd7e4 100644 (file)
@@ -92,8 +92,7 @@ c
          endif
          call sfact1(stk(lr),n-1,stk(lw),maxit,ierr)
          if(ierr.eq.2) then
-            write(buf,82) n-1
- 82         format('No real solution: degree ',i2,' entry is negative!')
+            call writebufstfacta(buf,n-1)
             call error(999)
             return
          else if(ierr.eq.1) then
@@ -101,7 +100,7 @@ c
             return
          else if(ierr.lt.0) then
 c     convergence incomplete
-            write(buf(1:4),'(i3)') ierr
+            call writebufstfacta(buf,ierr)
             call msgs(22,0)
          endif
          lstk(top+1)=lr+n
index 6202f0d..d55df02 100644 (file)
@@ -9,6 +9,10 @@ c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
       subroutine intsimp(id)
       INCLUDE 'stack.h'
 
+Cc (DLL Import Intel Fortran)     
+cDEC$ IF DEFINED (FORDLL)
+cDEC$ ATTRIBUTES DLLIMPORT:: /csimp/
+cDEC$ ENDIF      
       integer id(nsiz)
       integer simpmd
       common/csimp/ simpmd
index 5596b38..1ba42f2 100644 (file)
@@ -8,9 +8,15 @@ c are also available at
 c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
       subroutine intsimpmd(id)
       INCLUDE 'stack.h'
+
+Cc (DLL Import Intel Fortran)     
+cDEC$ IF DEFINED (FORDLL)
+cDEC$ ATTRIBUTES DLLIMPORT:: /csimp/
+cDEC$ ENDIF      
       integer iadr, sadr
       integer id(nsiz)
       integer simpmd
+      
       common/csimp/ simpmd
 c
       iadr(l)=l+l-1
diff --git a/scilab/modules/polynomials/src/c/DllmainPolynomial.c b/scilab/modules/polynomials/src/c/DllmainPolynomial.c
new file mode 100644 (file)
index 0000000..ba72d43
--- /dev/null
@@ -0,0 +1,45 @@
+
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2009 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+*
+*/
+
+#include <windows.h>
+#include "machine.h"
+/*--------------------------------------------------------------------------*/
+#pragma comment(lib,"../../../../bin/libintl.lib")
+/*--------------------------------------------------------------------------*/
+/* COMMON used by fortran */
+typedef struct{
+       double p[101], qp[101], k[101], qk[101], svk[101], sr, si, u, v, a, b,
+               c__, d__, a1, a2, a3, a6, a7, e, f, g, h__, szr, szi, lzr, lzi;
+       float eta, are, mre;
+       int n, nn;
+} GLOGLO_struct;
+
+__declspec (dllexport) GLOGLO_struct C2F(gloglo);
+/*--------------------------------------------------------------------------*/
+int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
+{
+       switch (reason) 
+       {
+       case DLL_PROCESS_ATTACH:
+               break;
+       case DLL_PROCESS_DETACH:
+               break;
+       case DLL_THREAD_ATTACH:
+               break;
+       case DLL_THREAD_DETACH:
+               break;
+       }
+       return 1;
+}
+/*--------------------------------------------------------------------------*/ 
+
diff --git a/scilab/modules/polynomials/src/c/LibScilab_Import.def b/scilab/modules/polynomials/src/c/LibScilab_Import.def
new file mode 100644 (file)
index 0000000..3b1e633
--- /dev/null
@@ -0,0 +1,8 @@
+       LIBRARY    Libscilab.dll
+
+
+EXPORTS
+;core
+com_
+callFunctionFromGateway
+;
index d6119a3..af41e92 100644 (file)
@@ -4,6 +4,8 @@
        Version="9,00"
        Name="polynomials"
        ProjectGUID="{620D8FA7-3704-438E-BB1E-391C84401A2E}"
+       RootNamespace="polynomials"
+       Keyword="Win32Proj"
        TargetFrameworkVersion="0"
        >
        <Platforms>
@@ -21,9 +23,7 @@
                        Name="Debug|Win32"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ConfigurationType="2"
                        CharacterSet="2"
                        >
                        <Tool
                        <Tool
                                Name="VCCLCompilerTool"
                                Optimization="0"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE"
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_EXPORTS"
+                               MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                                UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
                                WarningLevel="3"
-                               SuppressStartupBanner="true"
                                Detect64BitPortabilityProblems="false"
                                DebugInformationFormat="3"
-                               CompileAs="0"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                        />
                        <Tool
                                Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="_DEBUG"
-                               Culture="1036"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Make dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomialstmp.def &gt;nul&#x0D;&#x0A;copy ..\polynomials_header.def+polynomialstmp.def  ..\polynomials.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials.lib"
-                               SuppressStartupBanner="true"
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="LibScilab.lib polynomials_f.lib"
+                               OutputFile="../../../../bin/$(ProjectName).dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"
+                               TargetMachine="1"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
                                Name="VCALinkTool"
                        />
                        <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
                                Name="VCXDCMakeTool"
                        />
                        <Tool
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials.def &gt;nul&#x0D;&#x0A;copy polynomials.def ..\..\..\..\..\libs\polynomials.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        Name="Debug|x64"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ConfigurationType="2"
                        CharacterSet="2"
                        >
                        <Tool
                        <Tool
                                Name="VCCLCompilerTool"
                                Optimization="0"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="_LIB;_DEBUG;_CRT_SECURE_NO_DEPRECATE"
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_EXPORTS"
+                               MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                                UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
                                WarningLevel="3"
-                               SuppressStartupBanner="true"
                                Detect64BitPortabilityProblems="false"
                                DebugInformationFormat="3"
-                               CompileAs="0"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                        />
                        <Tool
                                Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="_DEBUG"
-                               Culture="1036"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Make dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomialstmp.def &gt;nul&#x0D;&#x0A;copy ..\polynomials_header.def+polynomialstmp.def  ..\polynomials.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials.lib"
-                               SuppressStartupBanner="true"
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="LibScilab.lib polynomials_f.lib"
+                               OutputFile="../../../../bin/$(ProjectName).dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"
+                               TargetMachine="17"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
                                Name="VCALinkTool"
                        />
                        <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
                                Name="VCXDCMakeTool"
                        />
                        <Tool
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials.def &gt;nul&#x0D;&#x0A;copy polynomials.def ..\..\..\..\..\libs\polynomials.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        Name="Release|Win32"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ConfigurationType="2"
                        CharacterSet="2"
+                       WholeProgramOptimization="0"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               Optimization="2"
                                InlineFunctionExpansion="1"
                                FavorSizeOrSpeed="1"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE"
+                               WholeProgramOptimization="false"
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_EXPORTS"
                                StringPooling="true"
                                RuntimeLibrary="2"
-                               EnableFunctionLevelLinking="true"
                                EnableEnhancedInstructionSet="0"
                                UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
                                WarningLevel="3"
-                               SuppressStartupBanner="true"
                                Detect64BitPortabilityProblems="false"
-                               CompileAs="0"
+                               DebugInformationFormat="3"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                        />
                        <Tool
                                Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="NDEBUG"
-                               Culture="1036"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Make dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomialstmp.def &gt;nul&#x0D;&#x0A;copy ..\polynomials_header.def+polynomialstmp.def  ..\polynomials.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="LibScilab.lib polynomials_f.lib"
+                               OutputFile="../../../../bin/$(ProjectName).dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials.def"
+                               GenerateDebugInformation="false"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               LinkTimeCodeGeneration="0"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"
+                               TargetMachine="1"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials.lib"
-                               SuppressStartupBanner="true"
+                               Name="VCALinkTool"
                        />
                        <Tool
-                               Name="VCALinkTool"
+                               Name="VCManifestTool"
                        />
                        <Tool
                                Name="VCXDCMakeTool"
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials.def &gt;nul&#x0D;&#x0A;copy polynomials.def ..\..\..\..\..\libs\polynomials.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        Name="Release|x64"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ConfigurationType="2"
                        CharacterSet="2"
+                       WholeProgramOptimization="0"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               Optimization="2"
                                InlineFunctionExpansion="1"
                                FavorSizeOrSpeed="1"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE"
+                               WholeProgramOptimization="false"
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_EXPORTS"
                                StringPooling="true"
                                RuntimeLibrary="2"
-                               EnableFunctionLevelLinking="true"
                                EnableEnhancedInstructionSet="0"
                                UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
                                WarningLevel="3"
-                               SuppressStartupBanner="true"
                                Detect64BitPortabilityProblems="false"
-                               CompileAs="0"
+                               DebugInformationFormat="3"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
                        />
                        <Tool
                                Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="NDEBUG"
-                               Culture="1036"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Make dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomialstmp.def &gt;nul&#x0D;&#x0A;copy ..\polynomials_header.def+polynomialstmp.def  ..\polynomials.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="LibScilab.lib polynomials_f.lib"
+                               OutputFile="../../../../bin/$(ProjectName).dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials.def"
+                               GenerateDebugInformation="false"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               LinkTimeCodeGeneration="0"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"
+                               TargetMachine="17"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials.lib"
-                               SuppressStartupBanner="true"
+                               Name="VCALinkTool"
                        />
                        <Tool
-                               Name="VCALinkTool"
+                               Name="VCManifestTool"
                        />
                        <Tool
                                Name="VCXDCMakeTool"
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials.def &gt;nul&#x0D;&#x0A;copy polynomials.def ..\..\..\..\..\libs\polynomials.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
                        />
                </Configuration>
        </Configurations>
                        Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
                        >
                        <File
+                               RelativePath=".\DllmainPolynomial.c"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\sci_gateway\c\gw_polynomials.c"
                                >
                        </File>
                        Name="Header Files"
                        Filter="h;hpp;hxx;hm;inl"
                        >
-                       <File
-                               RelativePath="..\..\includes\gw_polynomials.h"
-                               >
-                       </File>
                </Filter>
                <Filter
                        Name="localization"
                <Filter
                        Name="Libraries Dependencies"
                        >
+                       <File
+                               RelativePath=".\polynomials_header.def"
+                               >
+                       </File>
+                       <Filter
+                               Name="Imports"
+                               >
+                               <File
+                                       RelativePath=".\LibScilab_Import.def"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath=".\polynomials_f_Import.def"
+                                       >
+                               </File>
+                       </Filter>
                </Filter>
                <File
                        RelativePath="..\..\Makefile.am"
diff --git a/scilab/modules/polynomials/src/c/polynomials_f_Import.def b/scilab/modules/polynomials/src/c/polynomials_f_Import.def
new file mode 100644 (file)
index 0000000..9ce703f
--- /dev/null
@@ -0,0 +1,23 @@
+LIBRARY    polynomials_f.dll
+
+
+EXPORTS
+; --------------------------------------- 
+; polynomials_f
+; --------------------------------------- 
+intbez_
+intpclean_
+intcoeff_
+intdegree_
+intpdiag_
+intpdiv_
+intpoly_
+intpprod_
+introots_
+intsfact_
+intsimp_
+intsimpmd_
+intpsum_
+intptriu_
+intptriu_
+intvarn_
\ No newline at end of file
diff --git a/scilab/modules/polynomials/src/c/polynomials_header.def b/scilab/modules/polynomials/src/c/polynomials_header.def
new file mode 100644 (file)
index 0000000..ffc3e75
--- /dev/null
@@ -0,0 +1,7 @@
+LIBRARY    polynomials.dll
+
+
+EXPORTS
+; --------------------------------------- 
+; polynomials
+; --------------------------------------- 
diff --git a/scilab/modules/polynomials/src/fortran/LibScilab_Import.def b/scilab/modules/polynomials/src/fortran/LibScilab_Import.def
new file mode 100644 (file)
index 0000000..2bdb974
--- /dev/null
@@ -0,0 +1,38 @@
+       LIBRARY    Libscilab.dll
+
+
+EXPORTS
+;
+;core_f
+com_
+ref2val_
+israt_
+chkvar_
+putlhsvar_
+vstk_
+stack_
+recu_
+iop_
+funnam_
+putid_
+cha1_
+indxg_
+indxgc_
+csimp_
+
+;elementary_functions_f
+unsfdcopy_
+dset_
+iset_
+wasum_
+wmul_
+wwdiv_
+waxpy_
+wscal_
+dadd_
+ddif_
+dtild_
+ivimp_
+
+;cacsd_f
+giv_
\ No newline at end of file
diff --git a/scilab/modules/polynomials/src/fortran/linear_algebra_Import.def b/scilab/modules/polynomials/src/fortran/linear_algebra_Import.def
new file mode 100644 (file)
index 0000000..87f045c
--- /dev/null
@@ -0,0 +1,5 @@
+LIBRARY    linear_algebra.dll
+
+
+EXPORTS
+inteig_
\ No newline at end of file
diff --git a/scilab/modules/polynomials/src/fortran/output_stream_Import.def b/scilab/modules/polynomials/src/fortran/output_stream_Import.def
new file mode 100644 (file)
index 0000000..7a8a457
--- /dev/null
@@ -0,0 +1,7 @@
+LIBRARY    output_stream.dll
+
+
+EXPORTS
+basout_
+msgs_
+error_
\ No newline at end of file
diff --git a/scilab/modules/polynomials/src/fortran/polynomials_Import.def b/scilab/modules/polynomials/src/fortran/polynomials_Import.def
new file mode 100644 (file)
index 0000000..2f70911
--- /dev/null
@@ -0,0 +1,5 @@
+LIBRARY    polynomials.dll
+
+
+EXPORTS
+gloglo_
\ No newline at end of file
diff --git a/scilab/modules/polynomials/src/fortran/polynomials_f.def b/scilab/modules/polynomials/src/fortran/polynomials_f.def
new file mode 100644 (file)
index 0000000..a69e958
--- /dev/null
@@ -0,0 +1,89 @@
+LIBRARY    polynomials_f.dll
+
+
+EXPORTS
+; --------------------------------------- 
+; polynomials_f
+; --------------------------------------- 
+polops_
+intsfact_
+       bezout_
+       bezstp_
+       blktit_
+       calcsc_
+       ddmpev_
+       dimin_
+       dmp2pm_
+       dmpad_
+       dmpadj_
+       dmpcle_
+       dmpcnc_
+       dmpext_
+       dmpins_
+       dmpmu_
+       dmptld_
+       dmptra_
+       dpmul_
+       dpmul1_
+       dpodiv_
+       dprxc_
+       dpsimp_
+       dwmpmu_
+       fxshfr_
+       horner_
+       idegre_
+       impcnc_
+       impext_
+       impins_
+       imptra_
+       matra_
+       mpdegr_
+       mpdiag_
+       mpinsp_
+       mptri_
+       newest_
+       nextk_
+       polops_
+       quad_
+       quadit_
+       quadsd_
+       realit_
+       recbez_
+       residu_
+       rpoly_
+       intbez_
+       intcoeff_
+       intdegree_
+       intpdiag_
+       intpdiv_
+       intpclean_
+       intpoly_
+       intpprod_
+       intpsimp_
+       introots_
+       intrsimp_
+       intsfact_
+       intsimp_
+       intsimpmd_
+       intpsum_
+       intptriu_
+       intvarn_
+       sfact1_
+       sfact2_
+       wdmpad_
+       wdmpmu_
+       wmpad_
+       wmpadj_
+       wmpcle_
+       wmpcnc_
+       wmpins_
+       wmpmu_
+       wmptld_
+       wmptra_
+       wpmul_
+       wpmul1_
+       wpodiv_
+       wprxc_
+       writebufstfacta_
+       writebufstfactb_
+\1a
\ No newline at end of file
index ec9e200..659e762 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<VisualStudioProject ProjectType="typeStaticLibrary" ProjectCreator="Intel Fortran" Keyword="Static Library" Version="9.10" ProjectIdGuid="{3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}">
+<VisualStudioProject ProjectType="typeDynamicLibrary" ProjectCreator="Intel Fortran" Keyword="Dll" Version="9.10" ProjectIdGuid="{3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}">
        <Platforms>
                <Platform Name="Win32"/>
                <Platform Name="x64"/></Platforms>
        <Configurations>
-               <Configuration Name="Debug|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" OptimizeForProcessor="procOptimizeBlended" AdditionalIncludeDirectories="../../includes;../../../core/includes;" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/polynomials_f.lib"/>
+               <Configuration Name="Debug|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
+                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" OptimizeForProcessor="procOptimizePentiumProThruIII" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
+                               <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\polynomials_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="polynomials_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\polynomials_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib polynomials.lib output_stream.lib linear_algebra.lib"/>
                                <Tool Name="VFResourceCompilerTool"/>
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul
 copy *.def polynomials_f.def &gt;nul
-copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul
+copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul
 del *.def &gt;nul
-cd .."/></Configuration>
-               <Configuration Name="Release|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" OptimizeForProcessor="procOptimizePentiumProThruIII" AdditionalIncludeDirectories="../../includes;../../../core/includes;" PreprocessorDefinitions="WIN32" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
-                               <Tool Name="VFLinkerTool" OutputFile="$(OutDir)/$(ProjectName)" SuppressStartupBanner="true"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/polynomials_f.lib"/>
+cd ..
+copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul" Description="Build polynomials.def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>
+               <Configuration Name="Release|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
+                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" OptimizeForProcessor="procOptimizePentiumProThruIII" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
+                               <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\polynomials_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="polynomials_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\polynomials_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib polynomials.lib output_stream.lib linear_algebra.lib"/>
                                <Tool Name="VFResourceCompilerTool"/>
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul
 copy *.def polynomials_f.def &gt;nul
-copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul
+copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul
 del *.def &gt;nul
-cd .."/></Configuration>
-               <Configuration Name="Debug|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../includes;../../../core/includes;" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/polynomials_f.lib"/>
+cd ..
+copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul" Description="Build polynomials.def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>
+               <Configuration Name="Debug|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
+                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
+                               <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\polynomials_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="polynomials_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\polynomials_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib polynomials.lib output_stream.lib linear_algebra.lib"/>
                                <Tool Name="VFResourceCompilerTool"/>
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul
 copy *.def polynomials_f.def &gt;nul
-copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul
+copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul
 del *.def &gt;nul
-cd .."/></Configuration>
-               <Configuration Name="Release|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" AdditionalIncludeDirectories="../../includes;../../../core/includes;" PreprocessorDefinitions="WIN32" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
-                               <Tool Name="VFLinkerTool" OutputFile="$(OutDir)/$(ProjectName)" SuppressStartupBanner="true"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/polynomials_f.lib"/>
+cd ..
+copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul" Description="Build polynomials.def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>
+               <Configuration Name="Release|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
+                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
+                               <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\polynomials_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="polynomials_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\polynomials_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib polynomials.lib output_stream.lib linear_algebra.lib"/>
                                <Tool Name="VFResourceCompilerTool"/>
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul
 copy *.def polynomials_f.def &gt;nul
-copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul
+copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul
 del *.def &gt;nul
-cd .."/></Configuration></Configurations>
+cd ..
+copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul" Description="Build polynomials.def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
+lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
+                               <Tool Name="VFPostBuildEventTool"/></Configuration></Configurations>
        <Files>
                <Filter Name="Header Files" Filter="fi;fd"/>
                <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"/>
                <Filter Name="Source Files" Filter="f90;for;f;fpp;ftn;def;odl;idl">
-               <File RelativePath="bezout.f"/>
-               <File RelativePath="bezstp.f"/>
-               <File RelativePath="blktit.f"/>
+               <File RelativePath=".\bezout.f"/>
+               <File RelativePath=".\bezstp.f"/>
+               <File RelativePath=".\blktit.f"/>
                <File RelativePath=".\calcsc.f"/>
-               <File RelativePath="ddmpev.f"/>
-               <File RelativePath="dimin.f"/>
-               <File RelativePath="dmp2pm.f"/>
-               <File RelativePath="dmpad.f"/>
-               <File RelativePath="dmpadj.f"/>
-               <File RelativePath="dmpcle.f"/>
-               <File RelativePath="dmpcnc.f"/>
-               <File RelativePath="dmpext.f"/>
-               <File RelativePath="dmpins.f"/>
-               <File RelativePath="dmpmu.f"/>
-               <File RelativePath="dmptld.f"/>
-               <File RelativePath="dmptra.f"/>
-               <File RelativePath="dpmul.f"/>
-               <File RelativePath="dpmul1.f"/>
-               <File RelativePath="dpodiv.f"/>
-               <File RelativePath="dprxc.f"/>
-               <File RelativePath="dpsimp.f"/>
-               <File RelativePath="dwmpmu.f"/>
-               <File RelativePath="fxshfr.f"/>
-               <File RelativePath="horner.f"/>
-               <File RelativePath="idegre.f"/>
-               <File RelativePath="impcnc.f"/>
-               <File RelativePath="impext.f"/>
-               <File RelativePath="impins.f"/>
-               <File RelativePath="imptra.f"/>
-               <File RelativePath="matra.f"/>
-               <File RelativePath="mpdegr.f"/>
-               <File RelativePath="mpdiag.f"/>
-               <File RelativePath="mpinsp.f"/>
-               <File RelativePath="mptri.f"/>
-               <File RelativePath="newest.f"/>
-               <File RelativePath="nextk.f"/>
+               <File RelativePath=".\ddmpev.f"/>
+               <File RelativePath=".\dimin.f"/>
+               <File RelativePath=".\dmp2pm.f"/>
+               <File RelativePath=".\dmpad.f"/>
+               <File RelativePath=".\dmpadj.f"/>
+               <File RelativePath=".\dmpcle.f"/>
+               <File RelativePath=".\dmpcnc.f"/>
+               <File RelativePath=".\dmpext.f"/>
+               <File RelativePath=".\dmpins.f"/>
+               <File RelativePath=".\dmpmu.f"/>
+               <File RelativePath=".\dmptld.f"/>
+               <File RelativePath=".\dmptra.f"/>
+               <File RelativePath=".\dpmul.f"/>
+               <File RelativePath=".\dpmul1.f"/>
+               <File RelativePath=".\dpodiv.f"/>
+               <File RelativePath=".\dprxc.f"/>
+               <File RelativePath=".\dpsimp.f"/>
+               <File RelativePath=".\dwmpmu.f"/>
+               <File RelativePath=".\fxshfr.f"/>
+               <File RelativePath=".\horner.f"/>
+               <File RelativePath=".\idegre.f"/>
+               <File RelativePath=".\impcnc.f"/>
+               <File RelativePath=".\impext.f"/>
+               <File RelativePath=".\impins.f"/>
+               <File RelativePath=".\imptra.f"/>
+               <File RelativePath=".\matra.f"/>
+               <File RelativePath=".\mpdegr.f"/>
+               <File RelativePath=".\mpdiag.f"/>
+               <File RelativePath=".\mpinsp.f"/>
+               <File RelativePath=".\mptri.f"/>
+               <File RelativePath=".\newest.f"/>
+               <File RelativePath=".\nextk.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\polops.f"/>
-               <File RelativePath="quad.f"/>
-               <File RelativePath="quadit.f"/>
-               <File RelativePath="quadsd.f"/>
-               <File RelativePath="realit.f"/>
-               <File RelativePath="recbez.f"/>
-               <File RelativePath="residu.f"/>
-               <File RelativePath="rpoly.f"/>
+               <File RelativePath=".\quad.f"/>
+               <File RelativePath=".\quadit.f"/>
+               <File RelativePath=".\quadsd.f"/>
+               <File RelativePath=".\realit.f"/>
+               <File RelativePath=".\recbez.f"/>
+               <File RelativePath=".\residu.f"/>
+               <File RelativePath=".\rpoly.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_bezout.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_coeff.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_degree.f"/>
@@ -127,22 +141,25 @@ cd .."/></Configuration></Configurations>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_sum.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_triu_tril.f"/>
                <File RelativePath="..\..\sci_gateway\fortran\sci_f_varn.f"/>
-               <File RelativePath="sfact1.f"/>
-               <File RelativePath="sfact2.f"/>
-               <File RelativePath="wdmpad.f"/>
-               <File RelativePath="wdmpmu.f"/>
-               <File RelativePath="wmpad.f"/>
-               <File RelativePath="wmpadj.f"/>
-               <File RelativePath="wmpcle.f"/>
-               <File RelativePath="wmpcnc.f"/>
-               <File RelativePath="wmpins.f"/>
-               <File RelativePath="wmpmu.f"/>
-               <File RelativePath="wmptld.f"/>
-               <File RelativePath="wmptra.f"/>
-               <File RelativePath="wpmul.f"/>
-               <File RelativePath="wpmul1.f"/>
-               <File RelativePath="wpodiv.f"/>
-               <File RelativePath="wprxc.f"/></Filter>
+               <File RelativePath=".\sfact1.f"/>
+               <File RelativePath=".\sfact2.f"/>
+               <File RelativePath=".\wdmpad.f"/>
+               <File RelativePath=".\wdmpmu.f"/>
+               <File RelativePath=".\wmpad.f"/>
+               <File RelativePath=".\wmpadj.f"/>
+               <File RelativePath=".\wmpcle.f"/>
+               <File RelativePath=".\wmpcnc.f"/>
+               <File RelativePath=".\wmpins.f"/>
+               <File RelativePath=".\wmpmu.f"/>
+               <File RelativePath=".\wmptld.f"/>
+               <File RelativePath=".\wmptra.f"/>
+               <File RelativePath=".\wpmul.f"/>
+               <File RelativePath=".\wpmul1.f"/>
+               <File RelativePath=".\wpodiv.f"/>
+               <File RelativePath=".\wprxc.f"/>
+               <File RelativePath=".\writebufsfact.f"/></Filter>
+               <File RelativePath="..\..\..\..\bin\blasplus.lib"/>
+               <File RelativePath="..\..\..\..\bin\lapack.lib"/>
                <File RelativePath="..\..\Makefile.am"/>
                <File RelativePath="..\..\sci_gateway\polynomials_gateway.xml"/></Files>
        <Globals/></VisualStudioProject>
index 9b20f9f..fcc9e49 100644 (file)
@@ -26,8 +26,8 @@
                        Name="Debug|Win32"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
+                       ConfigurationType="2"
+                       CharacterSet="1"
                        >
                        <Tool
                                Name="f2c rule"
@@ -35,6 +35,8 @@
                        />
                        <Tool
                                Name="VCPreBuildEventTool"
+                               Description="Build Dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                                ExecutionBucket="2"
                        />
                        <Tool
@@ -56,7 +58,7 @@
                                ExecutionBucket="6"
                                Optimization="0"
                                AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_F2C_EXPORTS;FORDLL"
                                MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Build polynomials_f.def"
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul&#x0D;&#x0A;"
                                ExecutionBucket="9"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
+                               Name="VCLinkerTool"
                                ExecutionBucket="10"
-                               OutputFile="../../../../libs/polynomials_f.lib"
+                               AdditionalOptions="/fixed:no"
+                               AdditionalDependencies="Libscilab.lib polynomials.lib output_stream.lib linear_algebra.lib"
+                               OutputFile="$(SolutionDir)bin\polynomials_f.dll"
+                               LinkIncremental="2"
+                               ModuleDefinitionFile="polynomials_f.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               TargetMachine="1"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
                                Name="VCALinkTool"
                                ExecutionBucket="11"
                        />
                        <Tool
-                               Name="VCXDCMakeTool"
+                               Name="VCManifestTool"
                                ExecutionBucket="12"
                        />
                        <Tool
-                               Name="VCBscMakeTool"
+                               Name="VCXDCMakeTool"
                                ExecutionBucket="13"
                        />
                        <Tool
-                               Name="VCFxCopTool"
+                               Name="VCBscMakeTool"
                                ExecutionBucket="14"
                        />
                        <Tool
-                               Name="VCPostBuildEventTool"
-                               Description="Build polynomials_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
+                               Name="VCFxCopTool"
                                ExecutionBucket="15"
                        />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                               ExecutionBucket="17"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
                </Configuration>
                <Configuration
                        Name="Debug|x64"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
+                       ConfigurationType="2"
+                       CharacterSet="1"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
+                               Description="Build Dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                                Name="VCCLCompilerTool"
                                Optimization="0"
                                AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_F2C_EXPORTS;FORDLL"
                                MinimalRebuild="true"
                                BasicRuntimeChecks="0"
                                RuntimeLibrary="3"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Build polynomials_f.def"
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul&#x0D;&#x0A;"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials_f.lib"
+                               Name="VCLinkerTool"
+                               AdditionalOptions="/fixed:no"
+                               AdditionalDependencies="Libscilab.lib polynomials.lib output_stream.lib linear_algebra.lib"
+                               OutputFile="$(SolutionDir)bin\polynomials_f.dll"
+                               LinkIncremental="2"
+                               ModuleDefinitionFile="polynomials_f.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               TargetMachine="17"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
                                Name="VCALinkTool"
                        />
                        <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
                                Name="VCXDCMakeTool"
                        />
                        <Tool
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               Description="Build polynomials_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        Name="Release|Win32"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
+                       ConfigurationType="2"
+                       CharacterSet="1"
                        WholeProgramOptimization="1"
                        >
                        <Tool
-                               Name="f2c rule"
-                               ExecutionBucket="1"
-                       />
-                       <Tool
                                Name="VCPreBuildEventTool"
-                               ExecutionBucket="2"
+                               Description="Build Dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        />
                        <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                               ExecutionBucket="4"
+                               Name="f2c rule"
                        />
                        <Tool
                                Name="VCXMLDataGeneratorTool"
                        />
                        <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
                                Name="VCMIDLTool"
-                               ExecutionBucket="5"
                        />
                        <Tool
                                Name="VCCLCompilerTool"
-                               ExecutionBucket="6"
                                WholeProgramOptimization="false"
                                AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_F2C_EXPORTS;FORDLL"
                                RuntimeLibrary="2"
+                               EnableEnhancedInstructionSet="0"
                                UsePrecompiledHeader="0"
                                WarningLevel="3"
                                Detect64BitPortabilityProblems="false"
                        />
                        <Tool
                                Name="VCManagedResourceCompilerTool"
-                               ExecutionBucket="7"
                        />
                        <Tool
                                Name="VCResourceCompilerTool"
-                               ExecutionBucket="8"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
-                               ExecutionBucket="9"
+                               Description="Build polynomials_f.def"
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="Libscilab.lib polynomials.lib output_stream.lib linear_algebra.lib"
+                               OutputFile="$(SolutionDir)bin\polynomials_f.dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials_f.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               LinkTimeCodeGeneration="0"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               TargetMachine="1"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               ExecutionBucket="10"
-                               OutputFile="../../../../libs/polynomials_f.lib"
+                               Name="VCALinkTool"
                        />
                        <Tool
-                               Name="VCALinkTool"
-                               ExecutionBucket="11"
+                               Name="VCManifestTool"
                        />
                        <Tool
                                Name="VCXDCMakeTool"
-                               ExecutionBucket="12"
                        />
                        <Tool
                                Name="VCBscMakeTool"
-                               ExecutionBucket="13"
                        />
                        <Tool
                                Name="VCFxCopTool"
-                               ExecutionBucket="14"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
                        />
                        <Tool
                                Name="VCPostBuildEventTool"
-                               Description="Build polynomials_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
-                               ExecutionBucket="15"
                        />
                </Configuration>
                <Configuration
                        Name="Release|x64"
                        OutputDirectory="$(SolutionDir)$(ConfigurationName)"
                        IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
+                       ConfigurationType="2"
+                       CharacterSet="1"
                        WholeProgramOptimization="1"
                        >
                        <Tool
                                Name="VCPreBuildEventTool"
+                               Description="Build Dependencies"
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)polynomials_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)polynomials.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)linear_algebra_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linear_algebra.lib&quot; 1&gt;NUL 2&gt;NUL"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                                Name="VCCLCompilerTool"
                                WholeProgramOptimization="false"
                                AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;POLYNOMIALS_F2C_EXPORTS;FORDLL"
                                RuntimeLibrary="2"
+                               EnableEnhancedInstructionSet="1"
                                UsePrecompiledHeader="0"
                                WarningLevel="3"
                                Detect64BitPortabilityProblems="false"
                        />
                        <Tool
                                Name="VCPreLinkEventTool"
+                               Description="Build polynomials_f.def"
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n polynomials_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy polynomials_f_header.def+polynomials_f.vcdef polynomials_f.def &gt;nul&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="Libscilab.lib polynomials.lib output_stream.lib linear_algebra.lib"
+                               OutputFile="$(SolutionDir)bin\polynomials_f.dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="polynomials_f.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               LinkTimeCodeGeneration="0"
+                               RandomizedBaseAddress="1"
+                               DataExecutionPrevention="0"
+                               TargetMachine="17"
+                               CLRUnmanagedCodeCheck="true"
                        />
                        <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/polynomials_f.lib"
+                               Name="VCALinkTool"
                        />
                        <Tool
-                               Name="VCALinkTool"
+                               Name="VCManifestTool"
                        />
                        <Tool
                                Name="VCXDCMakeTool"
                                Name="VCFxCopTool"
                        />
                        <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
                                Name="VCPostBuildEventTool"
-                               Description="Build polynomials_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def polynomials_f.def &gt;nul&#x0D;&#x0A;copy polynomials_f.def ..\..\..\..\..\libs\polynomials_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
                        />
                </Configuration>
        </Configurations>
                                RelativePath=".\wprxc.c"
                                >
                        </File>
+                       <File
+                               RelativePath=".\writebufsfact.c"
+                               >
+                       </File>
                </Filter>
                <Filter
                        Name="Header Files"
                        >
                </Filter>
                <Filter
-                       Name="Fortran Files"
+                       Name="Fortran files"
                        >
                        <File
                                RelativePath=".\bezout.f"
                                RelativePath=".\wprxc.f"
                                >
                        </File>
+                       <File
+                               RelativePath=".\writebufsfact.f"
+                               >
+                       </File>
                </Filter>
                <File
+                       RelativePath="..\..\..\..\bin\blasplus.lib"
+                       >
+               </File>
+               <File
+                       RelativePath="..\..\..\..\bin\lapack.lib"
+                       >
+               </File>
+               <File
                        RelativePath="..\..\..\..\bin\libf2c.lib"
                        >
                </File>
diff --git a/scilab/modules/polynomials/src/fortran/polynomials_f_header.def b/scilab/modules/polynomials/src/fortran/polynomials_f_header.def
new file mode 100644 (file)
index 0000000..1124871
--- /dev/null
@@ -0,0 +1,9 @@
+LIBRARY    polynomials_f.dll
+
+
+EXPORTS
+; --------------------------------------- 
+; polynomials_f
+; --------------------------------------- 
+polops_
+intsfact_
diff --git a/scilab/modules/polynomials/src/fortran/writebufsfact.f b/scilab/modules/polynomials/src/fortran/writebufsfact.f
new file mode 100644 (file)
index 0000000..ef786d6
--- /dev/null
@@ -0,0 +1,26 @@
+c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+c Copyright (C) 2009 - DIGITEO - Allan CORNET
+c 
+c This file must be used under the terms of the CeCILL.
+c This source file is licensed as described in the file COPYING, which
+c you should have received as part of this distribution.  The terms
+c are also available at    
+c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+c     ====================================
+c     requires by f2c :(
+c     ====================================
+      subroutine writebufstfacta(buffer,line)
+      
+      character*(*) buffer
+      integer  line
+      write(buffer,82) line
+ 82         format('No real solution: degree ',i2,' entry is negative!')
+      end
+c     ====================================  
+      subroutine writebufstfactb(buffer,line)
+      
+      character*(*) buffer
+      integer  line
+      write(buffer(1:4),'(i3)') line
+      end
+c     ====================================  
index a299cd1..8ab3501 100644 (file)
@@ -34,11 +34,3 @@ rcsort_
 int2db_
 ivimp_
 ;
-;polynomials_f
-;
-blktit_
-impcnc_
-imptra_
-mpinsp_
-impins_
-impext_
\ No newline at end of file