summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-07-09 14:26:08 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2010-08-19 14:07:53 +0200
commitde1280cce1f6f9e7022d48a6df30cde1c0cd0ae7 (patch)
tree05f7a356b93e2dc31c3a1b9b212815e11bec7a49
parent600adf9968f5ed009690fcfd77b4800917444410 (diff)
downloadscilab-de1280cce1f6f9e7022d48a6df30cde1c0cd0ae7.zip
scilab-de1280cce1f6f9e7022d48a6df30cde1c0cd0ae7.tar.gz
commons modules (work in progress)
Change-Id: I4509f1b7f86ab417500cbc671d4a67e661a46707
-rw-r--r--scilab/Scilab.sln43
-rw-r--r--scilab/Scilab_f2c.sln45
-rw-r--r--scilab/build.incl.xml1
-rwxr-xr-xscilab/configure3
-rw-r--r--scilab/configure.ac1
-rw-r--r--scilab/etc/classpath.xml.in1
-rw-r--r--scilab/etc/classpath.xml.vc1
-rw-r--r--scilab/etc/librarypath.xml1
-rw-r--r--scilab/etc/modules.xml.in1
-rw-r--r--scilab/etc/modules.xml.vc1
-rw-r--r--scilab/modules/Makefile.am4
-rw-r--r--scilab/modules/Makefile.in11
-rw-r--r--scilab/modules/commons/.gitignore5
-rw-r--r--scilab/modules/commons/Makefile.am93
-rw-r--r--scilab/modules/commons/Makefile.in1090
-rw-r--r--scilab/modules/commons/build.xml23
-rw-r--r--scilab/modules/commons/changelog.txt4
-rw-r--r--scilab/modules/commons/commons.iss37
-rw-r--r--scilab/modules/commons/etc/commons.quit0
-rw-r--r--scilab/modules/commons/etc/commons.start0
-rw-r--r--scilab/modules/commons/includes/dynlib_commons.h28
-rw-r--r--scilab/modules/commons/license.txt9
-rw-r--r--scilab/modules/commons/macros/buildmacros.bat11
-rw-r--r--scilab/modules/commons/macros/buildmacros.sce16
-rw-r--r--scilab/modules/commons/macros/cleanmacros.bat13
-rw-r--r--scilab/modules/commons/readme.txt1
-rw-r--r--scilab/modules/commons/src/c/DllmainCommons.c34
-rw-r--r--scilab/modules/commons/src/c/LibScilab_Import.def7
-rw-r--r--scilab/modules/commons/src/c/commons.rc95
-rw-r--r--scilab/modules/commons/src/c/commons.vcproj447
-rw-r--r--scilab/modules/commons/src/c/commons_f_Import.def7
-rw-r--r--scilab/modules/commons/src/fortran/LibScilab_Import.def7
-rw-r--r--scilab/modules/commons/src/fortran/commons_Import.def4
-rw-r--r--scilab/modules/commons/src/fortran/commons_f.def9
-rw-r--r--scilab/modules/commons/src/fortran/commons_f.rc95
-rw-r--r--scilab/modules/commons/src/fortran/commons_f.vfproj88
-rw-r--r--scilab/modules/commons/src/fortran/commons_f2c.vcproj464
-rw-r--r--scilab/modules/commons/src/fortran/commons_f_header.def7
-rw-r--r--scilab/modules/commons/src/fortran/empty.f12
-rw-r--r--scilab/modules/commons/src/java/commons-JAVA.vcproj119
-rw-r--r--scilab/modules/commons/src/java/org/scilab/commons/utils/getOS.java43
-rw-r--r--scilab/modules/commons/version.xml11
-rw-r--r--scilab/scilab-lib.properties.in3
-rw-r--r--scilab/scilab-lib.properties.vc3
44 files changed, 2890 insertions, 8 deletions
diff --git a/scilab/Scilab.sln b/scilab/Scilab.sln
index e0be03f..5c887ea 100644
--- a/scilab/Scilab.sln
+++ b/scilab/Scilab.sln
@@ -62,9 +62,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibScilab", "libs\LibScilab
62 {FBF44619-6C9B-4400-940C-9147D81EB340} = {FBF44619-6C9B-4400-940C-9147D81EB340} 62 {FBF44619-6C9B-4400-940C-9147D81EB340} = {FBF44619-6C9B-4400-940C-9147D81EB340}
63 {77154919-8A20-4F35-B7C7-6B3B957BDCA1} = {77154919-8A20-4F35-B7C7-6B3B957BDCA1} 63 {77154919-8A20-4F35-B7C7-6B3B957BDCA1} = {77154919-8A20-4F35-B7C7-6B3B957BDCA1}
64 {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} = {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} 64 {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} = {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606}
65 {ECA09A1E-6D12-4A47-92E1-A671C181DF77} = {ECA09A1E-6D12-4A47-92E1-A671C181DF77}
65 {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} = {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} 66 {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} = {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC}
66 {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A} 67 {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A}
67 {7757B22F-9512-4380-9E40-EFD50575028D} = {7757B22F-9512-4380-9E40-EFD50575028D} 68 {7757B22F-9512-4380-9E40-EFD50575028D} = {7757B22F-9512-4380-9E40-EFD50575028D}
69 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970} = {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}
68 {45ECEB36-A12B-42F5-9D7A-216A0E70601D} = {45ECEB36-A12B-42F5-9D7A-216A0E70601D} 70 {45ECEB36-A12B-42F5-9D7A-216A0E70601D} = {45ECEB36-A12B-42F5-9D7A-216A0E70601D}
69 {805AA73F-EF7B-4177-BF46-200B72D8F83A} = {805AA73F-EF7B-4177-BF46-200B72D8F83A} 71 {805AA73F-EF7B-4177-BF46-200B72D8F83A} = {805AA73F-EF7B-4177-BF46-200B72D8F83A}
70 {80C0F142-184B-4E08-A8EE-5E71437CF904} = {80C0F142-184B-4E08-A8EE-5E71437CF904} 72 {80C0F142-184B-4E08-A8EE-5E71437CF904} = {80C0F142-184B-4E08-A8EE-5E71437CF904}
@@ -1275,6 +1277,20 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nohistory_browser", "module
1275 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} 1277 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4}
1276 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} 1278 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
1277 EndProjectSection 1279 EndProjectSection
1280Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "commons", "modules\commons\src\c\commons.vcproj", "{ECA09A1E-6D12-4A47-92E1-A671C181DF77}"
1281 ProjectSection(ProjectDependencies) = postProject
1282 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4}
1283 {ECFFEB0C-1EDA-45EE-9A10-B18143852E17} = {ECFFEB0C-1EDA-45EE-9A10-B18143852E17}
1284 {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
1285 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
1286 EndProjectSection
1287EndProject
1288Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "commons_f", "modules\commons\src\fortran\commons_f.vfproj", "{F4C4DE36-43F4-4E44-AE82-BA757CFF4970}"
1289 ProjectSection(ProjectDependencies) = postProject
1290 {ECA09A1E-6D12-4A47-92E1-A671C181DF77} = {ECA09A1E-6D12-4A47-92E1-A671C181DF77}
1291 EndProjectSection
1292EndProject
1293Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "commons-Ant", "modules\commons\src\java\commons-JAVA.vcproj", "{9188FA91-E039-485D-AF1D-781CEA92F541}"
1278EndProject 1294EndProject
1279Global 1295Global
1280 GlobalSection(SolutionConfigurationPlatforms) = preSolution 1296 GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -2440,6 +2456,7 @@ Global
2440 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|Win32.Build.0 = Release|Win32 2456 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|Win32.Build.0 = Release|Win32
2441 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.ActiveCfg = Release|x64 2457 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.ActiveCfg = Release|x64
2442 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.Build.0 = Release|x64 2458 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.Build.0 = Release|x64
2459<<<<<<< HEAD
2443 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.ActiveCfg = Debug|Win32 2460 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.ActiveCfg = Debug|Win32
2444 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.Build.0 = Debug|Win32 2461 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.Build.0 = Debug|Win32
2445 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|x64.ActiveCfg = Debug|x64 2462 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|x64.ActiveCfg = Debug|x64
@@ -2464,6 +2481,32 @@ Global
2464 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|Win32.Build.0 = Release|Win32 2481 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|Win32.Build.0 = Release|Win32
2465 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.ActiveCfg = Release|x64 2482 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.ActiveCfg = Release|x64
2466 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.Build.0 = Release|x64 2483 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.Build.0 = Release|x64
2484=======
2485 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|Win32.ActiveCfg = Debug|Win32
2486 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|Win32.Build.0 = Debug|Win32
2487 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|x64.ActiveCfg = Debug|x64
2488 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|x64.Build.0 = Debug|x64
2489 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|Win32.ActiveCfg = Release|Win32
2490 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|Win32.Build.0 = Release|Win32
2491 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|x64.ActiveCfg = Release|x64
2492 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|x64.Build.0 = Release|x64
2493 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|Win32.ActiveCfg = Debug|Win32
2494 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|Win32.Build.0 = Debug|Win32
2495 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|x64.ActiveCfg = Debug|x64
2496 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|x64.Build.0 = Debug|x64
2497 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|Win32.ActiveCfg = Release|Win32
2498 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|Win32.Build.0 = Release|Win32
2499 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|x64.ActiveCfg = Release|x64
2500 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|x64.Build.0 = Release|x64
2501 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|Win32.ActiveCfg = Debug|Win32
2502 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|Win32.Build.0 = Debug|Win32
2503 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|x64.ActiveCfg = Debug|x64
2504 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|x64.Build.0 = Debug|x64
2505 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|Win32.ActiveCfg = Release|Win32
2506 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|Win32.Build.0 = Release|Win32
2507 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|x64.ActiveCfg = Release|x64
2508 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|x64.Build.0 = Release|x64
2509>>>>>>> 51a5c10... commons modules (work in progress)
2467 EndGlobalSection 2510 EndGlobalSection
2468 GlobalSection(SolutionProperties) = preSolution 2511 GlobalSection(SolutionProperties) = preSolution
2469 HideSolutionNode = FALSE 2512 HideSolutionNode = FALSE
diff --git a/scilab/Scilab_f2c.sln b/scilab/Scilab_f2c.sln
index b4b70de..b091fd0 100644
--- a/scilab/Scilab_f2c.sln
+++ b/scilab/Scilab_f2c.sln
@@ -62,9 +62,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibScilab", "libs\LibScilab
62 {FBF44619-6C9B-4400-940C-9147D81EB340} = {FBF44619-6C9B-4400-940C-9147D81EB340} 62 {FBF44619-6C9B-4400-940C-9147D81EB340} = {FBF44619-6C9B-4400-940C-9147D81EB340}
63 {77154919-8A20-4F35-B7C7-6B3B957BDCA1} = {77154919-8A20-4F35-B7C7-6B3B957BDCA1} 63 {77154919-8A20-4F35-B7C7-6B3B957BDCA1} = {77154919-8A20-4F35-B7C7-6B3B957BDCA1}
64 {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} = {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} 64 {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606} = {A3AD381E-C0DD-45BB-ACB2-C0A0DB33A606}
65 {ECA09A1E-6D12-4A47-92E1-A671C181DF77} = {ECA09A1E-6D12-4A47-92E1-A671C181DF77}
65 {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} = {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} 66 {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC} = {FE9EB721-B3C1-41D8-B585-3FB3A0083CEC}
66 {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A} 67 {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A}
67 {7757B22F-9512-4380-9E40-EFD50575028D} = {7757B22F-9512-4380-9E40-EFD50575028D} 68 {7757B22F-9512-4380-9E40-EFD50575028D} = {7757B22F-9512-4380-9E40-EFD50575028D}
69 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970} = {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}
68 {45ECEB36-A12B-42F5-9D7A-216A0E70601D} = {45ECEB36-A12B-42F5-9D7A-216A0E70601D} 70 {45ECEB36-A12B-42F5-9D7A-216A0E70601D} = {45ECEB36-A12B-42F5-9D7A-216A0E70601D}
69 {805AA73F-EF7B-4177-BF46-200B72D8F83A} = {805AA73F-EF7B-4177-BF46-200B72D8F83A} 71 {805AA73F-EF7B-4177-BF46-200B72D8F83A} = {805AA73F-EF7B-4177-BF46-200B72D8F83A}
70 {80C0F142-184B-4E08-A8EE-5E71437CF904} = {80C0F142-184B-4E08-A8EE-5E71437CF904} 72 {80C0F142-184B-4E08-A8EE-5E71437CF904} = {80C0F142-184B-4E08-A8EE-5E71437CF904}
@@ -557,7 +559,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cacsd", "modules\cacsd\src\
557 {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A} 559 {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
558 EndProjectSection 560 EndProjectSection
559EndProject 561EndProject
560Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dcd", "modules\statistics\src\dcdflib\dcd_f\dcd_f2c.vcproj", "{18F043DA-1DB5-464F-B67D-CF1C23BE7EA0}" 562Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dcd", "modules\statistics\src\dcdflib\dcd_f\dcd.vfproj", "{18F043DA-1DB5-464F-B67D-CF1C23BE7EA0}"
561 ProjectSection(ProjectDependencies) = postProject 563 ProjectSection(ProjectDependencies) = postProject
562 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} 564 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
563 EndProjectSection 565 EndProjectSection
@@ -1275,6 +1277,20 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nohistory_browser", "module
1275 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} 1277 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4}
1276 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} 1278 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
1277 EndProjectSection 1279 EndProjectSection
1280Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "commons", "modules\commons\src\c\commons.vcproj", "{ECA09A1E-6D12-4A47-92E1-A671C181DF77}"
1281 ProjectSection(ProjectDependencies) = postProject
1282 {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4} = {DD8A0506-8D31-4CF8-856A-C10ECE9C13A4}
1283 {ECFFEB0C-1EDA-45EE-9A10-B18143852E17} = {ECFFEB0C-1EDA-45EE-9A10-B18143852E17}
1284 {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
1285 {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
1286 EndProjectSection
1287EndProject
1288Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "commons_f", "modules\commons\src\fortran\commons_f2c.vcproj", "{F4C4DE36-43F4-4E44-AE82-BA757CFF4970}"
1289 ProjectSection(ProjectDependencies) = postProject
1290 {ECA09A1E-6D12-4A47-92E1-A671C181DF77} = {ECA09A1E-6D12-4A47-92E1-A671C181DF77}
1291 EndProjectSection
1292EndProject
1293Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "commons-Ant", "modules\commons\src\java\commons-JAVA.vcproj", "{9188FA91-E039-485D-AF1D-781CEA92F541}"
1278EndProject 1294EndProject
1279Global 1295Global
1280 GlobalSection(SolutionConfigurationPlatforms) = preSolution 1296 GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -2440,6 +2456,7 @@ Global
2440 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|Win32.Build.0 = Release|Win32 2456 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|Win32.Build.0 = Release|Win32
2441 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.ActiveCfg = Release|x64 2457 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.ActiveCfg = Release|x64
2442 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.Build.0 = Release|x64 2458 {AB1EEB8F-86F7-45B7-8CEC-B18C8E97EEFF}.Release|x64.Build.0 = Release|x64
2459<<<<<<< HEAD
2443 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.ActiveCfg = Debug|Win32 2460 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.ActiveCfg = Debug|Win32
2444 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.Build.0 = Debug|Win32 2461 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|Win32.Build.0 = Debug|Win32
2445 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|x64.ActiveCfg = Debug|x64 2462 {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Debug|x64.ActiveCfg = Debug|x64
@@ -2464,6 +2481,32 @@ Global
2464 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|Win32.Build.0 = Release|Win32 2481 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|Win32.Build.0 = Release|Win32
2465 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.ActiveCfg = Release|x64 2482 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.ActiveCfg = Release|x64
2466 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.Build.0 = Release|x64 2483 {6EA99B1F-99B4-4528-8195-7508EF70CFED}.Release|x64.Build.0 = Release|x64
2484=======
2485 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|Win32.ActiveCfg = Debug|Win32
2486 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|Win32.Build.0 = Debug|Win32
2487 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|x64.ActiveCfg = Debug|x64
2488 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Debug|x64.Build.0 = Debug|x64
2489 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|Win32.ActiveCfg = Release|Win32
2490 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|Win32.Build.0 = Release|Win32
2491 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|x64.ActiveCfg = Release|x64
2492 {ECA09A1E-6D12-4A47-92E1-A671C181DF77}.Release|x64.Build.0 = Release|x64
2493 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|Win32.ActiveCfg = Debug|Win32
2494 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|Win32.Build.0 = Debug|Win32
2495 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|x64.ActiveCfg = Debug|x64
2496 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Debug|x64.Build.0 = Debug|x64
2497 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|Win32.ActiveCfg = Release|Win32
2498 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|Win32.Build.0 = Release|Win32
2499 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|x64.ActiveCfg = Release|x64
2500 {F4C4DE36-43F4-4E44-AE82-BA757CFF4970}.Release|x64.Build.0 = Release|x64
2501 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|Win32.ActiveCfg = Debug|Win32
2502 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|Win32.Build.0 = Debug|Win32
2503 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|x64.ActiveCfg = Debug|x64
2504 {9188FA91-E039-485D-AF1D-781CEA92F541}.Debug|x64.Build.0 = Debug|x64
2505 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|Win32.ActiveCfg = Release|Win32
2506 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|Win32.Build.0 = Release|Win32
2507 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|x64.ActiveCfg = Release|x64
2508 {9188FA91-E039-485D-AF1D-781CEA92F541}.Release|x64.Build.0 = Release|x64
2509>>>>>>> 51a5c10... commons modules (work in progress)
2467 EndGlobalSection 2510 EndGlobalSection
2468 GlobalSection(SolutionProperties) = preSolution 2511 GlobalSection(SolutionProperties) = preSolution
2469 HideSolutionNode = FALSE 2512 HideSolutionNode = FALSE
diff --git a/scilab/build.incl.xml b/scilab/build.incl.xml
index 5ad61eb..8be49bd 100644
--- a/scilab/build.incl.xml
+++ b/scilab/build.incl.xml
@@ -76,6 +76,7 @@
76 <pathelement location="${library.action_binding.dir}/${library.action_binding.name}"/> 76 <pathelement location="${library.action_binding.dir}/${library.action_binding.name}"/>
77 77
78 <pathelement location="${library.gui.dir}/${library.gui.name}"/> 78 <pathelement location="${library.gui.dir}/${library.gui.name}"/>
79 <pathelement location="${library.commons.dir}/${library.commons.name}"/>
79 <pathelement location="${library.jvm.dir}/${library.jvm.name}"/> 80 <pathelement location="${library.jvm.dir}/${library.jvm.name}"/>
80 <pathelement location="${library.renderer.dir}/${library.renderer.name}"/> 81 <pathelement location="${library.renderer.dir}/${library.renderer.name}"/>
81 <pathelement location="${library.graphic_export.dir}/${library.graphic_export.name}"/> 82 <pathelement location="${library.graphic_export.dir}/${library.graphic_export.name}"/>
diff --git a/scilab/configure b/scilab/configure
index bfed0cf..e927a04 100755
--- a/scilab/configure
+++ b/scilab/configure
@@ -36749,7 +36749,7 @@ if test "$enable_stop_on_warning" = yes; then
36749 CPPFLAGS="$CPPFLAGS -Werror -O0" 36749 CPPFLAGS="$CPPFLAGS -Werror -O0"
36750fi 36750fi
36751 36751
36752ac_config_files="$ac_config_files libs/MALLOC/Makefile libs/dynamiclibrary/Makefile libs/doublylinkedlist/Makefile libs/hashtable/Makefile libs/libst/Makefile contrib/Makefile modules/helptools/Makefile modules/helptools/macros/xmlfiletohtml.sci modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/shell/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/pvm/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/maple2scilab/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/texmacs/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/Makefile libs/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/jvm_options.xml scilab-lib.properties scilab-lib-doc.properties" 36752ac_config_files="$ac_config_files libs/MALLOC/Makefile libs/dynamiclibrary/Makefile libs/doublylinkedlist/Makefile libs/hashtable/Makefile libs/libst/Makefile contrib/Makefile modules/helptools/Makefile modules/helptools/macros/xmlfiletohtml.sci modules/data_structures/Makefile modules/differential_equations/Makefile modules/optimization/Makefile modules/elementary_functions/Makefile modules/special_functions/Makefile modules/io/Makefile modules/shell/Makefile modules/completion/Makefile modules/history_manager/Makefile modules/jvm/Makefile modules/commons/Makefile modules/sound/Makefile modules/statistics/Makefile modules/mexlib/Makefile modules/sparse/Makefile modules/linear_algebra/Makefile modules/polynomials/Makefile modules/symbolic/Makefile modules/signal_processing/Makefile modules/arnoldi/Makefile modules/interpolation/Makefile modules/intersci/Makefile modules/localization/Makefile modules/cacsd/Makefile modules/boolean/Makefile modules/integer/Makefile modules/double/Makefile modules/fileio/Makefile modules/spreadsheet/Makefile modules/string/Makefile modules/time/Makefile modules/graphics/Makefile modules/graphic_export/Makefile modules/renderer/Makefile modules/action_binding/Makefile modules/gui/Makefile modules/pvm/Makefile modules/randlib/Makefile modules/tclsci/Makefile modules/windows_tools/Makefile modules/core/Makefile modules/api_scilab/Makefile modules/call_scilab/Makefile modules/types/Makefile modules/hdf5/Makefile modules/fftw/Makefile modules/umfpack/Makefile modules/scicos/Makefile modules/scicos_blocks/Makefile modules/functions/Makefile modules/dynamic_link/Makefile modules/overloading/Makefile modules/javasci/Makefile modules/maple2scilab/Makefile modules/m2sci/Makefile modules/compatibility_functions/Makefile modules/texmacs/Makefile modules/development_tools/Makefile modules/output_stream/Makefile modules/console/Makefile modules/demo_tools/Makefile modules/genetic_algorithms/Makefile modules/simulated_annealing/Makefile modules/parameters/Makefile modules/matio/Makefile modules/atoms/Makefile modules/xcos/Makefile modules/scinotes/Makefile modules/ui_data/Makefile modules/graph/Makefile modules/parallel/Makefile modules/modules_manager/Makefile modules/history_browser/Makefile modules/Makefile libs/Makefile Makefile scilab.pc etc/modules.xml etc/classpath.xml etc/jvm_options.xml scilab-lib.properties scilab-lib-doc.properties"
36753 36753
36754 36754
36755# Detection of the module for the future version of Scilab 6 36755# Detection of the module for the future version of Scilab 6
@@ -38092,6 +38092,7 @@ do
38092 "modules/completion/Makefile") CONFIG_FILES="$CONFIG_FILES modules/completion/Makefile" ;; 38092 "modules/completion/Makefile") CONFIG_FILES="$CONFIG_FILES modules/completion/Makefile" ;;
38093 "modules/history_manager/Makefile") CONFIG_FILES="$CONFIG_FILES modules/history_manager/Makefile" ;; 38093 "modules/history_manager/Makefile") CONFIG_FILES="$CONFIG_FILES modules/history_manager/Makefile" ;;
38094 "modules/jvm/Makefile") CONFIG_FILES="$CONFIG_FILES modules/jvm/Makefile" ;; 38094 "modules/jvm/Makefile") CONFIG_FILES="$CONFIG_FILES modules/jvm/Makefile" ;;
38095 "modules/commons/Makefile") CONFIG_FILES="$CONFIG_FILES modules/commons/Makefile" ;;
38095 "modules/sound/Makefile") CONFIG_FILES="$CONFIG_FILES modules/sound/Makefile" ;; 38096 "modules/sound/Makefile") CONFIG_FILES="$CONFIG_FILES modules/sound/Makefile" ;;
38096 "modules/statistics/Makefile") CONFIG_FILES="$CONFIG_FILES modules/statistics/Makefile" ;; 38097 "modules/statistics/Makefile") CONFIG_FILES="$CONFIG_FILES modules/statistics/Makefile" ;;
38097 "modules/mexlib/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mexlib/Makefile" ;; 38098 "modules/mexlib/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mexlib/Makefile" ;;
diff --git a/scilab/configure.ac b/scilab/configure.ac
index dd9502d..cf691fa 100644
--- a/scilab/configure.ac
+++ b/scilab/configure.ac
@@ -1646,6 +1646,7 @@ modules/shell/Makefile
1646modules/completion/Makefile 1646modules/completion/Makefile
1647modules/history_manager/Makefile 1647modules/history_manager/Makefile
1648modules/jvm/Makefile 1648modules/jvm/Makefile
1649modules/commons/Makefile
1649modules/sound/Makefile 1650modules/sound/Makefile
1650modules/statistics/Makefile 1651modules/statistics/Makefile
1651modules/mexlib/Makefile 1652modules/mexlib/Makefile
diff --git a/scilab/etc/classpath.xml.in b/scilab/etc/classpath.xml.in
index 694dd70..c2e1086 100644
--- a/scilab/etc/classpath.xml.in
+++ b/scilab/etc/classpath.xml.in
@@ -137,6 +137,7 @@ The option is "disableUnderMode" and can be:
137 137
138<!-- Mandatory on startup --> 138<!-- Mandatory on startup -->
139<path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/> 139<path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/>
140<path value="$SCILAB/modules/commons/jar/org.scilab.modules.commons.jar"/>
140 141
141<!-- Console GUI dep --> 142<!-- Console GUI dep -->
142<path value="$SCILAB/modules/shell/jar/org.scilab.modules.shell.jar" disableUnderMode="NW"/> 143<path value="$SCILAB/modules/shell/jar/org.scilab.modules.shell.jar" disableUnderMode="NW"/>
diff --git a/scilab/etc/classpath.xml.vc b/scilab/etc/classpath.xml.vc
index 64c3f9a..5023cca 100644
--- a/scilab/etc/classpath.xml.vc
+++ b/scilab/etc/classpath.xml.vc
@@ -141,6 +141,7 @@ The option is "disableUnderMode" and can be:
141 141
142<!-- Mandatory on startup --> 142<!-- Mandatory on startup -->
143<path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/> 143<path value="$SCILAB/modules/jvm/jar/org.scilab.modules.jvm.jar"/>
144<path value="$SCILAB/modules/commons/jar/org.scilab.modules.commons.jar"/>
144 145
145<!-- Console GUI dep --> 146<!-- Console GUI dep -->
146<path value="$SCILAB/modules/shell/jar/org.scilab.modules.shell.jar" disableUnderMode="NW"/> 147<path value="$SCILAB/modules/shell/jar/org.scilab.modules.shell.jar" disableUnderMode="NW"/>
diff --git a/scilab/etc/librarypath.xml b/scilab/etc/librarypath.xml
index ee9c8a6..5b4be70 100644
--- a/scilab/etc/librarypath.xml
+++ b/scilab/etc/librarypath.xml
@@ -27,6 +27,7 @@
27<path value="$SCILAB/modules/renderer/.libs"/> 27<path value="$SCILAB/modules/renderer/.libs"/>
28<path value="$SCILAB/modules/graphic_export/.libs"/> 28<path value="$SCILAB/modules/graphic_export/.libs"/>
29<path value="$SCILAB/modules/scinotes/.libs"/> 29<path value="$SCILAB/modules/scinotes/.libs"/>
30<path value="$SCILAB/modules/commons/.libs"/>
30<path value="$SCILAB/.libs"/> 31<path value="$SCILAB/.libs"/>
31 32
32<!-- Default path to the JNI classes under some Linux (JoGL under Debian for example) --> 33<!-- Default path to the JNI classes under some Linux (JoGL under Debian for example) -->
diff --git a/scilab/etc/modules.xml.in b/scilab/etc/modules.xml.in
index 35148dc..f099801 100644
--- a/scilab/etc/modules.xml.in
+++ b/scilab/etc/modules.xml.in
@@ -37,6 +37,7 @@
37<module name="output_stream" activate="yes"/> 37<module name="output_stream" activate="yes"/>
38<module name="intersci" activate="yes"/> 38<module name="intersci" activate="yes"/>
39<module name="jvm" activate="@JAVA_ENABLE@"/> 39<module name="jvm" activate="@JAVA_ENABLE@"/>
40<module name="commons" activate="yes"/>
40<module name="linear_algebra" activate="yes"/> 41<module name="linear_algebra" activate="yes"/>
41<module name="localization" activate="yes"/> 42<module name="localization" activate="yes"/>
42<module name="optimization" activate="yes"/> 43<module name="optimization" activate="yes"/>
diff --git a/scilab/etc/modules.xml.vc b/scilab/etc/modules.xml.vc
index c19500c..dab9337 100644
--- a/scilab/etc/modules.xml.vc
+++ b/scilab/etc/modules.xml.vc
@@ -37,6 +37,7 @@
37<module name="output_stream" activate="yes"/> 37<module name="output_stream" activate="yes"/>
38<module name="intersci" activate="yes"/> 38<module name="intersci" activate="yes"/>
39<module name="jvm" activate="yes"/> 39<module name="jvm" activate="yes"/>
40<module name="commons" activate="yes"/>
40<module name="linear_algebra" activate="yes"/> 41<module name="linear_algebra" activate="yes"/>
41<module name="localization" activate="yes"/> 42<module name="localization" activate="yes"/>
42<module name="optimization" activate="yes"/> 43<module name="optimization" activate="yes"/>
diff --git a/scilab/modules/Makefile.am b/scilab/modules/Makefile.am
index bd82c92..c5f017d 100644
--- a/scilab/modules/Makefile.am
+++ b/scilab/modules/Makefile.am
@@ -36,6 +36,7 @@ console \
36graphic_export \ 36graphic_export \
37gui \ 37gui \
38jvm \ 38jvm \
39commons \
39graphics \ 40graphics \
40optimization \ 41optimization \
41symbolic \ 42symbolic \
@@ -195,7 +196,8 @@ ENGINE_LIBS = $(top_builddir)/modules/fileio/libscifileio.la \
195 $(top_builddir)/modules/fftw/libscifftw.la \ 196 $(top_builddir)/modules/fftw/libscifftw.la \
196 $(top_builddir)/modules/hdf5/libscihdf5.la \ 197 $(top_builddir)/modules/hdf5/libscihdf5.la \
197 $(top_builddir)/modules/functions/libscifunctions.la \ 198 $(top_builddir)/modules/functions/libscifunctions.la \
198 $(top_builddir)/modules/parallel/libsciparallel.la 199 $(top_builddir)/modules/parallel/libsciparallel.la \
200 $(top_builddir)/modules/commons/libscicommons.la
199 201
200 202
201# These libraries are loaded dynamically from Scilab. 203# These libraries are loaded dynamically from Scilab.
diff --git a/scilab/modules/Makefile.in b/scilab/modules/Makefile.in
index 492b260..3738876 100644
--- a/scilab/modules/Makefile.in
+++ b/scilab/modules/Makefile.in
@@ -154,8 +154,8 @@ CTAGS = ctags
154DIST_SUBDIRS = core output_stream arnoldi elementary_functions string \ 154DIST_SUBDIRS = core output_stream arnoldi elementary_functions string \
155 api_scilab dynamic_link fileio history_manager spreadsheet \ 155 api_scilab dynamic_link fileio history_manager spreadsheet \
156 tclsci localization action_binding renderer shell completion \ 156 tclsci localization action_binding renderer shell completion \
157 console graphic_export gui jvm graphics optimization symbolic \ 157 console graphic_export gui jvm commons graphics optimization \
158 randlib statistics special_functions interpolation \ 158 symbolic randlib statistics special_functions interpolation \
159 linear_algebra integer data_structures mexlib \ 159 linear_algebra integer data_structures mexlib \
160 differential_equations cacsd polynomials boolean double pvm io \ 160 differential_equations cacsd polynomials boolean double pvm io \
161 intersci signal_processing call_scilab sound time sparse \ 161 intersci signal_processing call_scilab sound time sparse \
@@ -441,8 +441,8 @@ top_srcdir = @top_srcdir@
441SUBDIRS = core output_stream arnoldi elementary_functions string \ 441SUBDIRS = core output_stream arnoldi elementary_functions string \
442 api_scilab dynamic_link fileio history_manager spreadsheet \ 442 api_scilab dynamic_link fileio history_manager spreadsheet \
443 tclsci localization action_binding renderer shell completion \ 443 tclsci localization action_binding renderer shell completion \
444 console graphic_export gui jvm graphics optimization symbolic \ 444 console graphic_export gui jvm commons graphics optimization \
445 randlib statistics special_functions interpolation \ 445 symbolic randlib statistics special_functions interpolation \
446 linear_algebra integer data_structures mexlib \ 446 linear_algebra integer data_structures mexlib \
447 differential_equations cacsd polynomials boolean double pvm io \ 447 differential_equations cacsd polynomials boolean double pvm io \
448 intersci signal_processing core call_scilab interpolation \ 448 intersci signal_processing core call_scilab interpolation \
@@ -527,7 +527,8 @@ ENGINE_LIBS = $(top_builddir)/modules/fileio/libscifileio.la \
527 $(top_builddir)/modules/fftw/libscifftw.la \ 527 $(top_builddir)/modules/fftw/libscifftw.la \
528 $(top_builddir)/modules/hdf5/libscihdf5.la \ 528 $(top_builddir)/modules/hdf5/libscihdf5.la \
529 $(top_builddir)/modules/functions/libscifunctions.la \ 529 $(top_builddir)/modules/functions/libscifunctions.la \
530 $(top_builddir)/modules/parallel/libsciparallel.la 530 $(top_builddir)/modules/parallel/libsciparallel.la \
531 $(top_builddir)/modules/commons/libscicommons.la
531 532
532 533
533# These libraries are loaded dynamically from Scilab. 534# These libraries are loaded dynamically from Scilab.
diff --git a/scilab/modules/commons/.gitignore b/scilab/modules/commons/.gitignore
new file mode 100644
index 0000000..7184e58
--- /dev/null
+++ b/scilab/modules/commons/.gitignore
@@ -0,0 +1,5 @@
1#
2#generated .def files (windows)
3#
4commons.def
5
diff --git a/scilab/modules/commons/Makefile.am b/scilab/modules/commons/Makefile.am
new file mode 100644
index 0000000..fbb213a
--- /dev/null
+++ b/scilab/modules/commons/Makefile.am
@@ -0,0 +1,93 @@
1#
2# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3# Copyright (C) DIGITEO - 2010 - Allan CORNET
4#
5# This file must be used under the terms of the CeCILL.
6# This source file is licensed as described in the file COPYING, which
7# you should have received as part of this distribution. The terms
8# are also available at
9# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10#
11
12#### Target ######
13modulename=commons
14
15
16#### commons : Conf files ####
17libscicommons_la_rootdir = $(mydatadir)
18libscicommons_la_root_DATA = changelog.txt license.txt readme.txt version.xml
19
20
21#### commons : init scripts ####
22libscicommons_la_etcdir = $(mydatadir)/etc
23libscicommons_la_etc_DATA = etc/commons.quit \
24 etc/commons.start
25
26include $(top_srcdir)/Makefile.incl.am
27
28
29COMMONS_JNI_SOURCES =
30
31COMMONS_C_SOURCES =
32
33COMMONS_CPP_SOURCES =
34
35COMMONS_FORTRAN_SOURCES = src/fortran/empty.f
36
37GIWS_WRAPPERS =
38
39if GIWS
40BUILT_SOURCES=giws
41endif
42
43
44GATEWAY_C_SOURCES =
45
46GATEWAY_CPP_SOURCES =
47
48libscicommons_la_CFLAGS=
49
50
51libscicommons_la_CPPFLAGS =
52
53# Without the commons module
54libscicommons_disable_la_CFLAGS =
55
56COMMONS_DISABLE_C_SOURCES =
57libscicommons_disable_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
58libscicommons_disable_la_SOURCES = $(COMMONS_DISABLE_C_SOURCES)
59
60pkglib_LTLIBRARIES = libscicommons-disable.la
61
62if GUI
63pkglib_LTLIBRARIES += libscicommons.la
64endif
65
66libscicommons_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS) $(X_LIBS) $(X_EXTRA_LIBS)
67
68libscicommons_la_SOURCES = $(COMMONS_C_SOURCES) $(COMMONS_FORTRAN_SOURCES) $(COMMONS_JNI_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(COMMONS_CPP_SOURCES)
69
70# For the code check (splint)
71CHECK_SRC= $(COMMONS_C_SOURCES) $(GATEWAY_C_SOURCES)
72INCLUDE_FLAGS = $(libscicommons_la_CFLAGS)
73
74
75#### SWIG Declaration ####
76SWIG_WRAPPERS =
77
78if SWIG
79BUILT_SOURCES=swig
80endif
81
82libscicommons_la_LIBADD = $(top_builddir)/modules/core/libscicore.la \
83$(top_builddir)/libs/MALLOC/libscimalloc.la \
84$(top_builddir)/modules/output_stream/libscioutput_stream.la
85
86
87#### commons : gateway declaration ####
88libscicommons_la_sci_gatewaydir = $(mydatadir)/sci_gateway
89libscicommons_la_sci_gateway_DATA =
90
91if GUI
92USEANT=1
93endif
diff --git a/scilab/modules/commons/Makefile.in b/scilab/modules/commons/Makefile.in
new file mode 100644
index 0000000..4433962
--- /dev/null
+++ b/scilab/modules/commons/Makefile.in
@@ -0,0 +1,1090 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18#
19# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
20# Copyright (C) DIGITEO - 2010 - Allan CORNET
21#
22# This file must be used under the terms of the CeCILL.
23# This source file is licensed as described in the file COPYING, which
24# you should have received as part of this distribution. The terms
25# are also available at
26# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
27#
28
29# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
30# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
31# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
32#
33# This file must be used under the terms of the CeCILL.
34# This source file is licensed as described in the file COPYING, which
35# you should have received as part of this distribution. The terms
36# are also available at
37# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
38#
39
40##########
41### Makefile included stuff
42### Target, variable, suffixes which are supposed to be usefull in every makefile.am
43##########
44
45
46VPATH = @srcdir@
47pkgdatadir = $(datadir)/@PACKAGE@
48pkgincludedir = $(includedir)/@PACKAGE@
49pkglibdir = $(libdir)/@PACKAGE@
50pkglibexecdir = $(libexecdir)/@PACKAGE@
51am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
52install_sh_DATA = $(install_sh) -c -m 644
53install_sh_PROGRAM = $(install_sh) -c
54install_sh_SCRIPT = $(install_sh) -c
55INSTALL_HEADER = $(INSTALL_DATA)
56transform = $(program_transform_name)
57NORMAL_INSTALL = :
58PRE_INSTALL = :
59POST_INSTALL = :
60NORMAL_UNINSTALL = :
61PRE_UNINSTALL = :
62POST_UNINSTALL = :
63build_triplet = @build@
64host_triplet = @host@
65DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
66 $(top_srcdir)/Makefile.incl.am
67@NEED_JAVA_TRUE@am__append_1 = java
68
69# With --enable-compilation-tests, launch java unitary tests
70@COMPILATION_TESTS_TRUE@am__append_2 = test
71@GUI_TRUE@am__append_3 = libscicommons.la
72subdir = modules/commons
73ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
74am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
75 $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
76 $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
77 $(top_srcdir)/m4/intel_compiler.m4 \
78 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
79 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/libsmath.m4 \
80 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/libxml2.m4 \
81 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
82 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
83 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
84 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/pvm.m4 \
85 $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
86 $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
87 $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
88am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89 $(ACLOCAL_M4)
90mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
91CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
92CONFIG_CLEAN_FILES =
93CONFIG_CLEAN_VPATH_FILES =
94am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
95am__vpath_adj = case $$p in \
96 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
97 *) f=$$p;; \
98 esac;
99am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
100am__install_max = 40
101am__nobase_strip_setup = \
102 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
103am__nobase_strip = \
104 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
105am__nobase_list = $(am__nobase_strip_setup); \
106 for p in $$list; do echo "$$p $$p"; done | \
107 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
108 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
109 if (++n[$$2] == $(am__install_max)) \
110 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
111 END { for (dir in files) print dir, files[dir] }'
112am__base_list = \
113 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
114 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
115am__installdirs = "$(DESTDIR)$(pkglibdir)" \
116 "$(DESTDIR)$(libscicommons_la_etcdir)" \
117 "$(DESTDIR)$(libscicommons_la_rootdir)" \
118 "$(DESTDIR)$(libscicommons_la_sci_gatewaydir)"
119LTLIBRARIES = $(pkglib_LTLIBRARIES)
120libscicommons_disable_la_LIBADD =
121am__objects_1 =
122am_libscicommons_disable_la_OBJECTS = $(am__objects_1)
123libscicommons_disable_la_OBJECTS = \
124 $(am_libscicommons_disable_la_OBJECTS)
125libscicommons_disable_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
126 $(LIBTOOLFLAGS) --mode=link $(CCLD) \
127 $(libscicommons_disable_la_CFLAGS) $(CFLAGS) \
128 $(libscicommons_disable_la_LDFLAGS) $(LDFLAGS) -o $@
129libscicommons_la_DEPENDENCIES = \
130 $(top_builddir)/modules/core/libscicore.la \
131 $(top_builddir)/libs/MALLOC/libscimalloc.la \
132 $(top_builddir)/modules/output_stream/libscioutput_stream.la
133am__objects_2 = empty.lo
134am_libscicommons_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
135 $(am__objects_1) $(am__objects_1) $(am__objects_1) \
136 $(am__objects_1)
137libscicommons_la_OBJECTS = $(am_libscicommons_la_OBJECTS)
138libscicommons_la_LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) \
139 $(LIBTOOLFLAGS) --mode=link $(F77LD) $(AM_FFLAGS) $(FFLAGS) \
140 $(libscicommons_la_LDFLAGS) $(LDFLAGS) -o $@
141@GUI_TRUE@am_libscicommons_la_rpath = -rpath $(pkglibdir)
142DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
143F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
144LTF77COMPILE = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
145 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS)
146F77LD = $(F77)
147F77LINK = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
148 --mode=link $(F77LD) $(AM_FFLAGS) $(FFLAGS) $(AM_LDFLAGS) \
149 $(LDFLAGS) -o $@
150COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
151 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
152LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
153 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
154 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
155CCLD = $(CC)
156LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
157 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
158 $(LDFLAGS) -o $@
159SOURCES = $(libscicommons_disable_la_SOURCES) \
160 $(libscicommons_la_SOURCES)
161DIST_SOURCES = $(libscicommons_disable_la_SOURCES) \
162 $(libscicommons_la_SOURCES)
163DATA = $(libscicommons_la_etc_DATA) $(libscicommons_la_root_DATA) \
164 $(libscicommons_la_sci_gateway_DATA)
165ETAGS = etags
166CTAGS = ctags
167DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168ACLOCAL = @ACLOCAL@
169ALL_LINGUAS = @ALL_LINGUAS@
170AMTAR = @AMTAR@
171ANT = @ANT@
172ANTLR = @ANTLR@
173AR = @AR@
174AUTOCONF = @AUTOCONF@
175AUTOHEADER = @AUTOHEADER@
176AUTOMAKE = @AUTOMAKE@
177AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
178AWK = @AWK@
179BATIK = @BATIK@
180BLAS_LIBS = @BLAS_LIBS@
181BSH = @BSH@
182CC = @CC@
183CCDEPMODE = @CCDEPMODE@
184CFLAGS = @CFLAGS@
185CHECKSTYLE = @CHECKSTYLE@
186COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
187COMMONS_IO = @COMMONS_IO@
188COMMONS_LOGGING = @COMMONS_LOGGING@
189CPP = @CPP@
190CPPFLAGS = @CPPFLAGS@
191CXX = @CXX@
192CXXCPP = @CXXCPP@
193CXXDEPMODE = @CXXDEPMODE@
194CXXFLAGS = @CXXFLAGS@
195CYGPATH_W = @CYGPATH_W@
196DEFS = @DEFS@
197DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
198DEPDIR = @DEPDIR@
199DOCBOOK_ROOT = @DOCBOOK_ROOT@
200DSYMUTIL = @DSYMUTIL@
201DUMPBIN = @DUMPBIN@
202ECHO_C = @ECHO_C@
203ECHO_N = @ECHO_N@
204ECHO_T = @ECHO_T@
205EGREP = @EGREP@
206EXEEXT = @EXEEXT@
207F77 = @F77@
208FFLAGS = @FFLAGS@
209FFTW3_LIB = @FFTW3_LIB@
210FFTW_ENABLE = @FFTW_ENABLE@
211FGREP = @FGREP@
212FLEXDOCK = @FLEXDOCK@
213FLIBS = @FLIBS@
214FOP = @FOP@
215GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
216GIWS_BIN = @GIWS_BIN@
217GLUEGEN_RT = @GLUEGEN_RT@
218GMSGFMT = @GMSGFMT@
219GMSGFMT_015 = @GMSGFMT_015@
220GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
221GREP = @GREP@
222GUI_ENABLE = @GUI_ENABLE@
223HDF5_CFLAGS = @HDF5_CFLAGS@
224HDF5_ENABLE = @HDF5_ENABLE@
225HDF5_LIBS = @HDF5_LIBS@
226HELP_ENABLE = @HELP_ENABLE@
227INSTALL = @INSTALL@
228INSTALL_DATA = @INSTALL_DATA@
229INSTALL_PROGRAM = @INSTALL_PROGRAM@
230INSTALL_SCRIPT = @INSTALL_SCRIPT@
231INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
232INTLLIBS = @INTLLIBS@
233INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
234JAR = @JAR@
235JAVA = @JAVA@
236JAVAC = @JAVAC@
237JAVAH = @JAVAH@
238JAVASCI_ENABLE = @JAVASCI_ENABLE@
239JAVA_DEBUG_OPTIONS = @JAVA_DEBUG_OPTIONS@
240JAVA_ENABLE = @JAVA_ENABLE@
241JAVA_G = @JAVA_G@
242JAVA_HOME = @JAVA_HOME@
243JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
244JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
245JDB = @JDB@
246JEUCLID_CORE = @JEUCLID_CORE@
247JGRAPHX = @JGRAPHX@
248JHALL = @JHALL@
249JHDF5 = @JHDF5@
250JLATEXMATH = @JLATEXMATH@
251JLATEXMATH_FOP = @JLATEXMATH_FOP@
252JOGL = @JOGL@
253JROSETTA_API = @JROSETTA_API@
254JROSETTA_ENGINE = @JROSETTA_ENGINE@
255JUNIT = @JUNIT@
256LAPACK_LIBS = @LAPACK_LIBS@
257LD = @LD@
258LDFLAGS = @LDFLAGS@
259LIBICONV = @LIBICONV@
260LIBINTL = @LIBINTL@
261LIBM = @LIBM@
262LIBOBJS = @LIBOBJS@
263LIBS = @LIBS@
264LIBTOOL = @LIBTOOL@
265LIPO = @LIPO@
266LN_S = @LN_S@
267LOOKS = @LOOKS@
268LTLIBICONV = @LTLIBICONV@
269LTLIBINTL = @LTLIBINTL@
270LTLIBOBJS = @LTLIBOBJS@
271MAINT = @MAINT@
272MAKEINFO = @MAKEINFO@
273MATIO_CFLAGS = @MATIO_CFLAGS@
274MATIO_ENABLE = @MATIO_ENABLE@
275MATIO_LIBS = @MATIO_LIBS@
276MKDIR_P = @MKDIR_P@
277MSGCAT = @MSGCAT@
278MSGFMT = @MSGFMT@
279MSGFMT_015 = @MSGFMT_015@
280MSGMERGE = @MSGMERGE@
281NM = @NM@
282NMEDIT = @NMEDIT@
283OBJDUMP = @OBJDUMP@
284OBJEXT = @OBJEXT@
285OCAMLC = @OCAMLC@
286OCAMLDEP = @OCAMLDEP@
287OCAMLLEX = @OCAMLLEX@
288OCAMLOPT = @OCAMLOPT@
289OCAMLYACC = @OCAMLYACC@
290OPENMP_CFLAGS = @OPENMP_CFLAGS@
291OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
292OPENMP_ENABLE = @OPENMP_ENABLE@
293OPENMP_LIBS = @OPENMP_LIBS@
294OTOOL = @OTOOL@
295OTOOL64 = @OTOOL64@
296PACKAGE = @PACKAGE@
297PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
298PACKAGE_NAME = @PACKAGE_NAME@
299PACKAGE_STRING = @PACKAGE_STRING@
300PACKAGE_TARNAME = @PACKAGE_TARNAME@
301PACKAGE_URL = @PACKAGE_URL@
302PACKAGE_VERSION = @PACKAGE_VERSION@
303PATH_SEPARATOR = @PATH_SEPARATOR@
304PCRE_CFLAGS = @PCRE_CFLAGS@
305PCRE_CONFIG = @PCRE_CONFIG@
306PCRE_LIBS = @PCRE_LIBS@
307PCRE_VERSION = @PCRE_VERSION@
308PKG_CONFIG = @PKG_CONFIG@
309POSUB = @POSUB@
310POW_LIB = @POW_LIB@
311PVMGETARCH = @PVMGETARCH@
312PVM_ARCH = @PVM_ARCH@
313PVM_ENABLE = @PVM_ENABLE@
314PVM_INCLUDE = @PVM_INCLUDE@
315PVM_LIB = @PVM_LIB@
316PYTHON = @PYTHON@
317QDOX = @QDOX@
318RANLIB = @RANLIB@
319RELOCATABLE = @RELOCATABLE@
320RT_LIB = @RT_LIB@
321SAXON = @SAXON@
322SCICOS_ENABLE = @SCICOS_ENABLE@
323SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
324SED = @SED@
325SET_MAKE = @SET_MAKE@
326SET_RELOCATABLE = @SET_RELOCATABLE@
327SHELL = @SHELL@
328SKINLF = @SKINLF@
329SPLINT = @SPLINT@
330STRIP = @STRIP@
331SWIG_BIN = @SWIG_BIN@
332SWIG_JAVA = @SWIG_JAVA@
333SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
334TCLTK_LIBS = @TCLTK_LIBS@
335TCL_INC_PATH = @TCL_INC_PATH@
336TESTNG = @TESTNG@
337TK_INC_PATH = @TK_INC_PATH@
338UMFPACK_ENABLE = @UMFPACK_ENABLE@
339UMFPACK_LIB = @UMFPACK_LIB@
340USE_NLS = @USE_NLS@
341VERSION = @VERSION@
342WITH_OCAML = @WITH_OCAML@
343WITH_TKSCI = @WITH_TKSCI@
344XGETTEXT = @XGETTEXT@
345XGETTEXT_015 = @XGETTEXT_015@
346XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
347XMKMF = @XMKMF@
348XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
349XML_APIS_EXT = @XML_APIS_EXT@
350XML_CONFIG = @XML_CONFIG@
351XML_FLAGS = @XML_FLAGS@
352XML_LIBS = @XML_LIBS@
353XML_VERSION = @XML_VERSION@
354X_CFLAGS = @X_CFLAGS@
355X_EXTRA_LIBS = @X_EXTRA_LIBS@
356X_LIBS = @X_LIBS@
357X_PRE_LIBS = @X_PRE_LIBS@
358abs_builddir = @abs_builddir@
359abs_srcdir = @abs_srcdir@
360abs_top_builddir = @abs_top_builddir@
361abs_top_srcdir = @abs_top_srcdir@
362ac_ct_CC = @ac_ct_CC@
363ac_ct_CXX = @ac_ct_CXX@
364ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
365ac_ct_F77 = @ac_ct_F77@
366am__include = @am__include@
367am__leading_dot = @am__leading_dot@
368am__quote = @am__quote@
369am__tar = @am__tar@
370am__untar = @am__untar@
371bindir = @bindir@
372build = @build@
373build_alias = @build_alias@
374build_cpu = @build_cpu@
375build_os = @build_os@
376build_vendor = @build_vendor@
377builddir = @builddir@
378cxx_present = @cxx_present@
379datadir = @datadir@
380datarootdir = @datarootdir@
381docdir = @docdir@
382dvidir = @dvidir@
383exec_prefix = @exec_prefix@
384host = @host@
385host_alias = @host_alias@
386host_cpu = @host_cpu@
387host_os = @host_os@
388host_vendor = @host_vendor@
389htmldir = @htmldir@
390includedir = @includedir@
391infodir = @infodir@
392install_sh = @install_sh@
393libdir = @libdir@
394libexecdir = @libexecdir@
395localedir = @localedir@
396localstatedir = @localstatedir@
397mandir = @mandir@
398mkdir_p = @mkdir_p@
399oldincludedir = @oldincludedir@
400pdfdir = @pdfdir@
401prefix = @prefix@
402program_transform_name = @program_transform_name@
403psdir = @psdir@
404sbindir = @sbindir@
405sharedstatedir = @sharedstatedir@
406srcdir = @srcdir@
407sysconfdir = @sysconfdir@
408target_alias = @target_alias@
409top_build_prefix = @top_build_prefix@
410top_builddir = @top_builddir@
411top_srcdir = @top_srcdir@
412
413#### Target ######
414modulename = commons
415
416#### commons : Conf files ####
417libscicommons_la_rootdir = $(mydatadir)
418libscicommons_la_root_DATA = changelog.txt license.txt readme.txt version.xml
419
420#### commons : init scripts ####
421libscicommons_la_etcdir = $(mydatadir)/etc
422libscicommons_la_etc_DATA = etc/commons.quit \
423 etc/commons.start
424
425
426# Where all the Scilab stuff is installed (macros, help, ...)
427mydatadir = $(pkgdatadir)/modules/$(modulename)
428
429# splint options
430SPLINT_OPTIONS = -weak -booltype BOOL
431
432########################### JAVA ######################################
433#### We are delegating java compilation to ant... Thanks to that
434#### the procedure will be the same with Microsoft Windows (C)
435#### and Linux/Unix
436#######################################################################
437TARGETS_ALL = $(am__append_1) $(am__append_2)
438
439################ MACROS ######################
440# Rule to build a macro
441# NOT USED AT THE MOMENT
442SUFFIXES = .sci
443
444########### INSTALL DOCUMENTATION ###################
445
446# Install documentation files into the right target
447# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
448# automake needs the html files to be present which is not the case when
449# we are building Scilab
450
451# Where it should be installed
452pkgdocdir = $(mydatadir)
453
454# What is the mask of the help source
455DOCMASKXML = *.xml
456
457# What is the mask of the MathML sources
458DOCMASKMML = *.mml
459
460########### INSTALL DATA ###################
461# Install macros, help & demos
462# Where it should be installed
463pkgmacrosdir = $(mydatadir)
464# Which directory we process
465MACRODIRS = macros/
466# Mask of the Scilab sources macros
467MACROMASK = *.sci
468# Mask of the Scilab executable sources macros
469MACROBUILDMASK = *.sce
470# Mask of the Scilab compiled macros
471MACROBINMASK = *.bin
472# List of the standard directory for tests
473TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests
474# Where the demos should be installed
475pkgdemosdir = $(mydatadir)
476# List of the standard directory for demos
477DEMOS_DIR = demos
478# List of the standard directory for examples
479EXAMPLES_DIR = examples
480# Where to export JAVA archives (.jar)
481JARDIR = jar/
482# JAR files mask
483JARMASK = *.jar
484# Chapter file
485HELP_CHAPTERDIR = help/
486HELP_CHAPTERFILE = addchapter.sce
487HELP_CHAPTERLANG = en_US fr_FR pt_BR
488COMMONS_JNI_SOURCES =
489COMMONS_C_SOURCES =
490COMMONS_CPP_SOURCES =
491COMMONS_FORTRAN_SOURCES = src/fortran/empty.f
492GIWS_WRAPPERS =
493@GIWS_TRUE@BUILT_SOURCES = giws
494@SWIG_TRUE@BUILT_SOURCES = swig
495GATEWAY_C_SOURCES =
496GATEWAY_CPP_SOURCES =
497libscicommons_la_CFLAGS =
498libscicommons_la_CPPFLAGS =
499
500# Without the commons module
501libscicommons_disable_la_CFLAGS =
502COMMONS_DISABLE_C_SOURCES =
503libscicommons_disable_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
504libscicommons_disable_la_SOURCES = $(COMMONS_DISABLE_C_SOURCES)
505pkglib_LTLIBRARIES = libscicommons-disable.la $(am__append_3)
506libscicommons_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS) $(X_LIBS) $(X_EXTRA_LIBS)
507libscicommons_la_SOURCES = $(COMMONS_C_SOURCES) $(COMMONS_FORTRAN_SOURCES) $(COMMONS_JNI_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(COMMONS_CPP_SOURCES)
508
509# For the code check (splint)
510CHECK_SRC = $(COMMONS_C_SOURCES) $(GATEWAY_C_SOURCES)
511INCLUDE_FLAGS = $(libscicommons_la_CFLAGS)
512
513#### SWIG Declaration ####
514SWIG_WRAPPERS =
515libscicommons_la_LIBADD = $(top_builddir)/modules/core/libscicore.la \
516$(top_builddir)/libs/MALLOC/libscimalloc.la \
517$(top_builddir)/modules/output_stream/libscioutput_stream.la
518
519
520#### commons : gateway declaration ####
521libscicommons_la_sci_gatewaydir = $(mydatadir)/sci_gateway
522libscicommons_la_sci_gateway_DATA =
523@GUI_TRUE@USEANT = 1
524all: $(BUILT_SOURCES)
525 $(MAKE) $(AM_MAKEFLAGS) all-am
526
527.SUFFIXES:
528.SUFFIXES: .sci .bin .f .lo .o .obj
529$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
530 @for dep in $?; do \
531 case '$(am__configure_deps)' in \
532 *$$dep*) \
533 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
534 && { if test -f $@; then exit 0; else break; fi; }; \
535 exit 1;; \
536 esac; \
537 done; \
538 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/commons/Makefile'; \
539 $(am__cd) $(top_srcdir) && \
540 $(AUTOMAKE) --foreign modules/commons/Makefile
541.PRECIOUS: Makefile
542Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
543 @case '$?' in \
544 *config.status*) \
545 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
546 *) \
547 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
548 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
549 esac;
550
551$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
552 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
553
554$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
555 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
556$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
557 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
558$(am__aclocal_m4_deps):
559install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
560 @$(NORMAL_INSTALL)
561 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
562 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
563 list2=; for p in $$list; do \
564 if test -f $$p; then \
565 list2="$$list2 $$p"; \
566 else :; fi; \
567 done; \
568 test -z "$$list2" || { \
569 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
570 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
571 }
572
573uninstall-pkglibLTLIBRARIES:
574 @$(NORMAL_UNINSTALL)
575 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
576 for p in $$list; do \
577 $(am__strip_dir) \
578 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
579 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
580 done
581
582clean-pkglibLTLIBRARIES:
583 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
584 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
585 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
586 test "$$dir" != "$$p" || dir=.; \
587 echo "rm -f \"$${dir}/so_locations\""; \
588 rm -f "$${dir}/so_locations"; \
589 done
590libscicommons-disable.la: $(libscicommons_disable_la_OBJECTS) $(libscicommons_disable_la_DEPENDENCIES)
591 $(libscicommons_disable_la_LINK) -rpath $(pkglibdir) $(libscicommons_disable_la_OBJECTS) $(libscicommons_disable_la_LIBADD) $(LIBS)
592libscicommons.la: $(libscicommons_la_OBJECTS) $(libscicommons_la_DEPENDENCIES)
593 $(libscicommons_la_LINK) $(am_libscicommons_la_rpath) $(libscicommons_la_OBJECTS) $(libscicommons_la_LIBADD) $(LIBS)
594
595mostlyclean-compile:
596 -rm -f *.$(OBJEXT)
597
598distclean-compile:
599 -rm -f *.tab.c
600
601.f.o:
602 $(F77COMPILE) -c -o $@ $<
603
604.f.obj:
605 $(F77COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
606
607.f.lo:
608 $(LTF77COMPILE) -c -o $@ $<
609
610empty.lo: src/fortran/empty.f
611 $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o empty.lo `test -f 'src/fortran/empty.f' || echo '$(srcdir)/'`src/fortran/empty.f
612
613mostlyclean-libtool:
614 -rm -f *.lo
615
616clean-libtool:
617 -rm -rf .libs _libs
618install-libscicommons_la_etcDATA: $(libscicommons_la_etc_DATA)
619 @$(NORMAL_INSTALL)
620 test -z "$(libscicommons_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libscicommons_la_etcdir)"
621 @list='$(libscicommons_la_etc_DATA)'; test -n "$(libscicommons_la_etcdir)" || list=; \
622 for p in $$list; do \
623 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
624 echo "$$d$$p"; \
625 done | $(am__base_list) | \
626 while read files; do \
627 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicommons_la_etcdir)'"; \
628 $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicommons_la_etcdir)" || exit $$?; \
629 done
630
631uninstall-libscicommons_la_etcDATA:
632 @$(NORMAL_UNINSTALL)
633 @list='$(libscicommons_la_etc_DATA)'; test -n "$(libscicommons_la_etcdir)" || list=; \
634 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
635 test -n "$$files" || exit 0; \
636 echo " ( cd '$(DESTDIR)$(libscicommons_la_etcdir)' && rm -f" $$files ")"; \
637 cd "$(DESTDIR)$(libscicommons_la_etcdir)" && rm -f $$files
638install-libscicommons_la_rootDATA: $(libscicommons_la_root_DATA)
639 @$(NORMAL_INSTALL)
640 test -z "$(libscicommons_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libscicommons_la_rootdir)"
641 @list='$(libscicommons_la_root_DATA)'; test -n "$(libscicommons_la_rootdir)" || list=; \
642 for p in $$list; do \
643 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
644 echo "$$d$$p"; \
645 done | $(am__base_list) | \
646 while read files; do \
647 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicommons_la_rootdir)'"; \
648 $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicommons_la_rootdir)" || exit $$?; \
649 done
650
651uninstall-libscicommons_la_rootDATA:
652 @$(NORMAL_UNINSTALL)
653 @list='$(libscicommons_la_root_DATA)'; test -n "$(libscicommons_la_rootdir)" || list=; \
654 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
655 test -n "$$files" || exit 0; \
656 echo " ( cd '$(DESTDIR)$(libscicommons_la_rootdir)' && rm -f" $$files ")"; \
657 cd "$(DESTDIR)$(libscicommons_la_rootdir)" && rm -f $$files
658install-libscicommons_la_sci_gatewayDATA: $(libscicommons_la_sci_gateway_DATA)
659 @$(NORMAL_INSTALL)
660 test -z "$(libscicommons_la_sci_gatewaydir)" || $(MKDIR_P) "$(DESTDIR)$(libscicommons_la_sci_gatewaydir)"
661 @list='$(libscicommons_la_sci_gateway_DATA)'; test -n "$(libscicommons_la_sci_gatewaydir)" || list=; \
662 for p in $$list; do \
663 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
664 echo "$$d$$p"; \
665 done | $(am__base_list) | \
666 while read files; do \
667 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicommons_la_sci_gatewaydir)'"; \
668 $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicommons_la_sci_gatewaydir)" || exit $$?; \
669 done
670
671uninstall-libscicommons_la_sci_gatewayDATA:
672 @$(NORMAL_UNINSTALL)
673 @list='$(libscicommons_la_sci_gateway_DATA)'; test -n "$(libscicommons_la_sci_gatewaydir)" || list=; \
674 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
675 test -n "$$files" || exit 0; \
676 echo " ( cd '$(DESTDIR)$(libscicommons_la_sci_gatewaydir)' && rm -f" $$files ")"; \
677 cd "$(DESTDIR)$(libscicommons_la_sci_gatewaydir)" && rm -f $$files
678
679ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
680 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
681 unique=`for i in $$list; do \
682 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683 done | \
684 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685 END { if (nonempty) { for (i in files) print i; }; }'`; \
686 mkid -fID $$unique
687tags: TAGS
688
689TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
690 $(TAGS_FILES) $(LISP)
691 set x; \
692 here=`pwd`; \
693 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
694 unique=`for i in $$list; do \
695 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696 done | \
697 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698 END { if (nonempty) { for (i in files) print i; }; }'`; \
699 shift; \
700 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
701 test -n "$$unique" || unique=$$empty_fix; \
702 if test $$# -gt 0; then \
703 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
704 "$$@" $$unique; \
705 else \
706 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
707 $$unique; \
708 fi; \
709 fi
710ctags: CTAGS
711CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
712 $(TAGS_FILES) $(LISP)
713 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
714 unique=`for i in $$list; do \
715 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
716 done | \
717 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
718 END { if (nonempty) { for (i in files) print i; }; }'`; \
719 test -z "$(CTAGS_ARGS)$$unique" \
720 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721 $$unique
722
723GTAGS:
724 here=`$(am__cd) $(top_builddir) && pwd` \
725 && $(am__cd) $(top_srcdir) \
726 && gtags -i $(GTAGS_ARGS) "$$here"
727
728distclean-tags:
729 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
730
731distdir: $(DISTFILES)
732 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
733 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
734 list='$(DISTFILES)'; \
735 dist_files=`for file in $$list; do echo $$file; done | \
736 sed -e "s|^$$srcdirstrip/||;t" \
737 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
738 case $$dist_files in \
739 */*) $(MKDIR_P) `echo "$$dist_files" | \
740 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
741 sort -u` ;; \
742 esac; \
743 for file in $$dist_files; do \
744 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
745 if test -d $$d/$$file; then \
746 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
747 if test -d "$(distdir)/$$file"; then \
748 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
749 fi; \
750 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
751 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
752 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
753 fi; \
754 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
755 else \
756 test -f "$(distdir)/$$file" \
757 || cp -p $$d/$$file "$(distdir)/$$file" \
758 || exit 1; \
759 fi; \
760 done
761check-am: all-am
762 $(MAKE) $(AM_MAKEFLAGS) check-local
763check: $(BUILT_SOURCES)
764 $(MAKE) $(AM_MAKEFLAGS) check-am
765all-am: Makefile $(LTLIBRARIES) $(DATA) all-local
766installdirs:
767 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscicommons_la_etcdir)" "$(DESTDIR)$(libscicommons_la_rootdir)" "$(DESTDIR)$(libscicommons_la_sci_gatewaydir)"; do \
768 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
769 done
770install: $(BUILT_SOURCES)
771 $(MAKE) $(AM_MAKEFLAGS) install-am
772install-exec: install-exec-am
773install-data: install-data-am
774uninstall: uninstall-am
775
776install-am: all-am
777 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
778
779installcheck: installcheck-am
780install-strip:
781 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
782 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
783 `test -z '$(STRIP)' || \
784 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
785mostlyclean-generic:
786
787clean-generic:
788
789distclean-generic:
790 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
791 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
792
793maintainer-clean-generic:
794 @echo "This command is intended for maintainers to use"
795 @echo "it deletes files that may require special tools to rebuild."
796 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
797clean: clean-am
798
799clean-am: clean-generic clean-libtool clean-local \
800 clean-pkglibLTLIBRARIES mostlyclean-am
801
802distclean: distclean-am
803 -rm -f Makefile
804distclean-am: clean-am distclean-compile distclean-generic \
805 distclean-local distclean-tags
806
807dvi: dvi-am
808
809dvi-am:
810
811html: html-am
812
813html-am:
814
815info: info-am
816
817info-am:
818
819install-data-am: install-data-local install-libscicommons_la_etcDATA \
820 install-libscicommons_la_rootDATA \
821 install-libscicommons_la_sci_gatewayDATA
822
823install-dvi: install-dvi-am
824
825install-dvi-am:
826
827install-exec-am: install-pkglibLTLIBRARIES
828
829install-html: install-html-am
830
831install-html-am: install-html-local
832
833install-info: install-info-am
834
835install-info-am:
836
837install-man:
838
839install-pdf: install-pdf-am
840
841install-pdf-am:
842
843install-ps: install-ps-am
844
845install-ps-am:
846
847installcheck-am:
848
849maintainer-clean: maintainer-clean-am
850 -rm -f Makefile
851maintainer-clean-am: distclean-am maintainer-clean-generic
852
853mostlyclean: mostlyclean-am
854
855mostlyclean-am: mostlyclean-compile mostlyclean-generic \
856 mostlyclean-libtool
857
858pdf: pdf-am
859
860pdf-am:
861
862ps: ps-am
863
864ps-am:
865
866uninstall-am: uninstall-libscicommons_la_etcDATA \
867 uninstall-libscicommons_la_rootDATA \
868 uninstall-libscicommons_la_sci_gatewayDATA \
869 uninstall-pkglibLTLIBRARIES
870
871.MAKE: all check check-am install install-am install-strip
872
873.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
874 clean clean-generic clean-libtool clean-local \
875 clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
876 distclean-generic distclean-libtool distclean-local \
877 distclean-tags distdir dvi dvi-am html html-am info info-am \
878 install install-am install-data install-data-am \
879 install-data-local install-dvi install-dvi-am install-exec \
880 install-exec-am install-html install-html-am \
881 install-html-local install-info install-info-am \
882 install-libscicommons_la_etcDATA \
883 install-libscicommons_la_rootDATA \
884 install-libscicommons_la_sci_gatewayDATA install-man \
885 install-pdf install-pdf-am install-pkglibLTLIBRARIES \
886 install-ps install-ps-am install-strip installcheck \
887 installcheck-am installdirs maintainer-clean \
888 maintainer-clean-generic mostlyclean mostlyclean-compile \
889 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
890 tags uninstall uninstall-am uninstall-libscicommons_la_etcDATA \
891 uninstall-libscicommons_la_rootDATA \
892 uninstall-libscicommons_la_sci_gatewayDATA \
893 uninstall-pkglibLTLIBRARIES
894
895
896# This target enables tests for Scilab
897check-local: $(top_builddir)/scilab-bin test
898 @COMMAND="test_run('$(modulename)');quit";\
899 export LANG=C;\
900 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
901check-code:
902 if test -f build.xml; then \
903 $(ANT) checkstyle; \
904 fi
905 if test -x "$(SPLINT)"; then \
906 $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
907 fi
908@NEED_JAVA_TRUE@java:
909# Some configurations needs to export JAVA_HOME in the current env
910@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
911@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
912@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
913@NEED_JAVA_TRUE@ $(ANT); \
914@NEED_JAVA_TRUE@ fi
915
916@NEED_JAVA_TRUE@clean-java:
917# Some configurations needs to export JAVA_HOME in the current env
918@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
919@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
920@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
921@NEED_JAVA_TRUE@ $(ANT) clean; \
922@NEED_JAVA_TRUE@ fi;
923
924# If the user request for the SWIG generation of the wrappers Java => C/C++
925# We call the target swig-build on the variable SWIG_WRAPPERS
926
927@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
928@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
929@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
930@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
931@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
932@SWIG_TRUE@ echo "Swig process of $$file ..."; \
933@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
934@SWIG_TRUE@ done; \
935@SWIG_TRUE@ fi
936
937# If the user request for the SWIG generation of the wrappers Java => C/C++
938# We call the target swig-build on the variable SWIG_WRAPPERS
939
940@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
941@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
942@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
943@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
944@GIWS_TRUE@ echo "GIWS process of $$file ..."; \
945@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
946@GIWS_TRUE@ done; \
947@GIWS_TRUE@ fi
948
949macros:
950 -@( if test ! -x $(top_builddir)/scilab-bin; then \
951 echo "Error : Cannot build $< : Scilab has not been built"; \
952 else \
953 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
954 fi)
955
956# Removes the macros
957clean-macros:
958# Removes macros (*.bin generated from .sci)
959 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
960 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
961 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
962 done
963
964test:
965# More tests could be added here
966 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
967 if test -f build.xml -a $$USEANT -eq 1; then \
968 $(ANT) test; \
969 fi
970
971all-local: $(TARGETS_ALL)
972
973.sci.bin:
974 -@( if test ! -x $(top_builddir)/scilab-bin; then \
975 echo "Error : Cannot build $< : Scilab has not been build"; \
976 else \
977 echo "Creating $@"; \
978 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
979 fi )
980
981install-html-local:
982# If the user wants the help sources to be installed
983@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
984@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
985@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
986@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
987@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
988@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
989@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
990@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
991@INSTALL_HELP_XML_TRUE@ done ; \
992@INSTALL_HELP_XML_TRUE@ fi; \
993@INSTALL_HELP_XML_TRUE@ fi; \
994@INSTALL_HELP_XML_TRUE@ done; \
995@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
996@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
997@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
998@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
999@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1000@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1001@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1002@INSTALL_HELP_XML_TRUE@ done ; \
1003@INSTALL_HELP_XML_TRUE@ fi; \
1004@INSTALL_HELP_XML_TRUE@ fi
1005install-data-local:
1006# Install the tests
1007 @echo "-------- Install tests (if any) --------"; \
1008 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1009 if test -d $(srcdir)/$$dir/; then \
1010 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1011 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1012 if test -d "$(srcdir)/$$dir/$$file"; then \
1013 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1014 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1015 else \
1016 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1017 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1018 fi \
1019 done; \
1020 fi; \
1021 done
1022# Install the help chapter
1023 @echo "-------- Install the help chapter (if any) --------"; \
1024 for lang in $(HELP_CHAPTERLANG); do \
1025 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1026 if test -f $$HELPFILE; then \
1027 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1028 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1029 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1030 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1031 fi; \
1032 done
1033# Install the demos & examples
1034 @echo "-------- Install demos & examples (if any) --------"; \
1035 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1036 if test -d $(srcdir)/$$dir/; then \
1037 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1038 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1039 if test -d "$(srcdir)/$$dir/$$file"; then \
1040 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1041 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1042 else \
1043 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1044 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1045 fi \
1046 done; \
1047 fi; \
1048 done
1049# Install the macros
1050 @echo "-------- Install macros (if any) --------"; \
1051 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1052 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1053 if test -d $(srcdir)/$$dir/; then \
1054 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1055 if test -n "$(MACROSSPECIALEXT)"; then \
1056 specialExtDir=""; \
1057 for specialExt in $(MACROSSPECIALEXT); do \
1058 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1059 done; \
1060 FILELIST="$$FILELIST $$specialExtDir"; \
1061 fi; \
1062 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1063 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1064 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1065 done; \
1066 fi; \
1067 done
1068# Install java files (.jar)
1069 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1070 echo "-------- Install jar files --------"; \
1071 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1072 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1073 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1074 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1075 done ; \
1076 fi
1077
1078########### CLEAN ###################
1079# Clean macros and help (generated automatically by Scilab)
1080@NEED_JAVA_TRUE@clean-local: clean-java clean-macros
1081@NEED_JAVA_FALSE@clean-local: clean-macros
1082
1083distclean-local:
1084 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1085
1086.PHONY: macros java swig giws
1087
1088# Tell versions [3.59,3.63) of GNU make to not export all variables.
1089# Otherwise a system limit (for SysV at least) may be exceeded.
1090.NOEXPORT:
diff --git a/scilab/modules/commons/build.xml b/scilab/modules/commons/build.xml
new file mode 100644
index 0000000..7723e45
--- /dev/null
+++ b/scilab/modules/commons/build.xml
@@ -0,0 +1,23 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2010 - DIGITEO - Allan CORNET
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13
14<project name="commons" default="jar">
15
16 <import file="../../build.incl.xml"/>
17 <property name="library.name" value="${library.commons.name}" />
18
19 <description>
20 Build the Scilab commons module
21 </description>
22
23</project>
diff --git a/scilab/modules/commons/changelog.txt b/scilab/modules/commons/changelog.txt
new file mode 100644
index 0000000..136078a
--- /dev/null
+++ b/scilab/modules/commons/changelog.txt
@@ -0,0 +1,4 @@
1commons (0.1-1) stable; urgency=medium
2
3 * First version of the module
4
diff --git a/scilab/modules/commons/commons.iss b/scilab/modules/commons/commons.iss
new file mode 100644
index 0000000..9d14e73
--- /dev/null
+++ b/scilab/modules/commons/commons.iss
@@ -0,0 +1,37 @@
1;
2; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3; Copyright (C) DIGITEO - 2010 - Allan CORNET
4;
5; This file must be used under the terms of the CeCILL.
6; This source file is licensed as described in the file COPYING, which
7; you should have received as part of this distribution. The terms
8; are also available at
9; http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10;
11;--------------------------------------------------------------------------------------------------------------
12; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
13;
14;--------------------------------------------------------------------------------------------------------------
15; commons module
16;--------------------------------------------------------------------------------------------------------------
17;
18#define COMMONS "commons"
19;
20Source: modules\{#COMMONS}\jar\org.scilab.modules.{#COMMONS}.jar;DestDir: {app}\modules\{#COMMONS}\jar; Components: {#COMPN_SCILAB}
21;
22Source: modules\{#COMMONS}\VERSION.xml; DestDir: {app}\modules\{#COMMONS}; Components: {#COMPN_SCILAB}
23Source: modules\{#COMMONS}\readme.txt; DestDir: {app}\modules\{#COMMONS}; Components: {#COMPN_SCILAB}
24Source: modules\{#COMMONS}\license.txt; DestDir: {app}\modules\{#COMMONS}; Components: {#COMPN_SCILAB}
25Source: modules\{#COMMONS}\changelog.txt; DestDir: {app}\modules\{#COMMONS}; Components: {#COMPN_SCILAB}
26;
27Source: modules\{#COMMONS}\etc\{#COMMONS}.quit; DestDir: {app}\modules\{#COMMONS}\etc; Components: {#COMPN_SCILAB}
28Source: modules\{#COMMONS}\etc\{#COMMONS}.start; DestDir: {app}\modules\{#COMMONS}\etc; Components: {#COMPN_SCILAB}
29;
30Source: modules\{#COMMONS}\macros\buildmacros.sce; DestDir: {app}\modules\{#COMMONS}\macros; Components: {#COMPN_SCILAB}
31Source: modules\{#COMMONS}\macros\buildmacros.bat; DestDir: {app}\modules\{#COMMONS}\macros; Components: {#COMPN_SCILAB}
32Source: modules\{#COMMONS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#COMMONS}\macros; Components: {#COMPN_SCILAB}
33;
34;Source: modules\{#COMMONS}\tests\*.*; DestDir: {app}\modules\{#COMMONS}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS}
35;
36;
37;--------------------------------------------------------------------------------------------------------------
diff --git a/scilab/modules/commons/etc/commons.quit b/scilab/modules/commons/etc/commons.quit
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/scilab/modules/commons/etc/commons.quit
diff --git a/scilab/modules/commons/etc/commons.start b/scilab/modules/commons/etc/commons.start
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/scilab/modules/commons/etc/commons.start
diff --git a/scilab/modules/commons/includes/dynlib_commons.h b/scilab/modules/commons/includes/dynlib_commons.h
new file mode 100644
index 0000000..1253337
--- /dev/null
+++ b/scilab/modules/commons/includes/dynlib_commons.h
@@ -0,0 +1,28 @@
1/*
2* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3* Copyright (C) DIGITEO - 2010 - Allan CORNET
4*
5* This file must be used under the terms of the CeCILL.
6* This source file is licensed as described in the file COPYING, which
7* you should have received as part of this distribution. The terms
8* are also available at
9* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10*
11*/
12
13/*--------------------------------------------------------------------------*/
14#ifndef __DYNLIB_COMMONS_H__
15#define __DYNLIB_COMMONS_H__
16
17#ifdef _MSC_VER
18 #ifdef COMMONS_EXPORTS
19 #define COMMONS_IMPEXP __declspec(dllexport)
20 #else
21 #define COMMONS_IMPEXP __declspec(dllimport)
22 #endif
23#else
24 #define COMMONS_IMPEXP
25#endif
26
27#endif /* __DYNLIB_COMMONS_H__ */
28/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/commons/license.txt b/scilab/modules/commons/license.txt
new file mode 100644
index 0000000..46ae42e
--- /dev/null
+++ b/scilab/modules/commons/license.txt
@@ -0,0 +1,9 @@
1Copyright:
2Copyright (c) 2010 - DIGITEO
3
4License:
5This module must be used under the terms of the CeCILL.
6This module file is licensed as described in the file COPYING, which
7you should have received as part of this distribution. The terms
8are also available at
9http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
diff --git a/scilab/modules/commons/macros/buildmacros.bat b/scilab/modules/commons/macros/buildmacros.bat
new file mode 100644
index 0000000..f9bd674
--- /dev/null
+++ b/scilab/modules/commons/macros/buildmacros.bat
@@ -0,0 +1,11 @@
1
2rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3rem Copyright (C) 2009 - DIGITEO
4rem
5rem This file must be used under the terms of the CeCILL.
6rem This source file is licensed as described in the file COPYING, which
7rem you should have received as part of this distribution. The terms
8rem are also available at
9rem http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10
11@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
diff --git a/scilab/modules/commons/macros/buildmacros.sce b/scilab/modules/commons/macros/buildmacros.sce
new file mode 100644
index 0000000..7b85302
--- /dev/null
+++ b/scilab/modules/commons/macros/buildmacros.sce
@@ -0,0 +1,16 @@
1
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Allan CORNET
4//
5// This file must be used under the terms of the CeCILL.
6// This source file is licensed as described in the file COPYING, which
7// you should have received as part of this distribution. The terms
8// are also available at
9// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10
11if (isdef('genlib') == %f) then
12 exec(SCI+'/modules/functions/scripts/buildmacros/loadgenlib.sce');
13end
14
15//genlib("commonslib","SCI/modules/commons/macros", %f, %t);
16
diff --git a/scilab/modules/commons/macros/cleanmacros.bat b/scilab/modules/commons/macros/cleanmacros.bat
new file mode 100644
index 0000000..d8e26bf
--- /dev/null
+++ b/scilab/modules/commons/macros/cleanmacros.bat
@@ -0,0 +1,13 @@
1
2rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3rem Copyright (C) 2009 - DIGITEO
4rem
5rem This file must be used under the terms of the CeCILL.
6rem This source file is licensed as described in the file COPYING, which
7rem you should have received as part of this distribution. The terms
8rem are also available at
9rem http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10
11@del *.bin 2>NUL
12@del lib 2>NUL
13@del names 2>NUL
diff --git a/scilab/modules/commons/readme.txt b/scilab/modules/commons/readme.txt
new file mode 100644
index 0000000..785eeec
--- /dev/null
+++ b/scilab/modules/commons/readme.txt
@@ -0,0 +1 @@
README File
diff --git a/scilab/modules/commons/src/c/DllmainCommons.c b/scilab/modules/commons/src/c/DllmainCommons.c
new file mode 100644
index 0000000..9752956
--- /dev/null
+++ b/scilab/modules/commons/src/c/DllmainCommons.c
@@ -0,0 +1,34 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010 - DIGITEO - Allan CORNET
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13#include <windows.h>
14#include "dynlib_commons.h"
15/*--------------------------------------------------------------------------*/
16#pragma comment(lib,"../../../../bin/libintl.lib")
17/*--------------------------------------------------------------------------*/
18COMMONS_IMPEXP int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)
19{
20 switch (reason)
21 {
22 case DLL_PROCESS_ATTACH:
23 break;
24 case DLL_PROCESS_DETACH:
25 break;
26 case DLL_THREAD_ATTACH:
27 break;
28 case DLL_THREAD_DETACH:
29 break;
30 }
31 return 1;
32}
33/*--------------------------------------------------------------------------*/
34
diff --git a/scilab/modules/commons/src/c/LibScilab_Import.def b/scilab/modules/commons/src/c/LibScilab_Import.def
new file mode 100644
index 0000000..dd757b1
--- /dev/null
+++ b/scilab/modules/commons/src/c/LibScilab_Import.def
@@ -0,0 +1,7 @@
1 LIBRARY Libscilab.dll
2
3
4EXPORTS
5;
6;core
7;
diff --git a/scilab/modules/commons/src/c/commons.rc b/scilab/modules/commons/src/c/commons.rc
new file mode 100644
index 0000000..8d28e6d
--- /dev/null
+++ b/scilab/modules/commons/src/c/commons.rc
@@ -0,0 +1,95 @@
1// Microsoft Visual C++ generated resource script.
2//
3
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#define APSTUDIO_HIDDEN_SYMBOLS
11#include "windows.h"
12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS
14
15/////////////////////////////////////////////////////////////////////////////
16// French (France) resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
19#ifdef _WIN32
20LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
21#pragma code_page(1252)
22#endif //_WIN32
23
24#ifdef APSTUDIO_INVOKED
25/////////////////////////////////////////////////////////////////////////////
26//
27// TEXTINCLUDE
28//
29
301 TEXTINCLUDE
31BEGIN
32 "resource.h\0"
33END
34
353 TEXTINCLUDE
36BEGIN
37 "\r\n"
38 "\0"
39END
40
41#endif // APSTUDIO_INVOKED
42
43
44/////////////////////////////////////////////////////////////////////////////
45//
46// Version
47//
48
49VS_VERSION_INFO VERSIONINFO
50 FILEVERSION 5,3,0,0
51 PRODUCTVERSION 5,3,0,0
52 FILEFLAGSMASK 0x17L
53#ifdef _DEBUG
54 FILEFLAGS 0x1L
55#else
56 FILEFLAGS 0x0L
57#endif
58 FILEOS 0x4L
59 FILETYPE 0x2L
60 FILESUBTYPE 0x0L
61BEGIN
62 BLOCK "StringFileInfo"
63 BEGIN
64 BLOCK "040c04b0"
65 BEGIN
66 VALUE "FileDescription", "commons module"
67 VALUE "FileVersion", "5, 3, 0, 0"
68 VALUE "InternalName", "commons module"
69 VALUE "LegalCopyright", "Copyright (C) 2010"
70 VALUE "OriginalFilename", "commons.dll"
71 VALUE "ProductName", "commons module"
72 VALUE "ProductVersion", "5, 3, 0, 0"
73 END
74 END
75 BLOCK "VarFileInfo"
76 BEGIN
77 VALUE "Translation", 0x40c, 1200
78 END
79END
80
81#endif // French (France) resources
82/////////////////////////////////////////////////////////////////////////////
83
84
85
86#ifndef APSTUDIO_INVOKED
87/////////////////////////////////////////////////////////////////////////////
88//
89// Generated from the TEXTINCLUDE 3 resource.
90//
91
92
93/////////////////////////////////////////////////////////////////////////////
94#endif // not APSTUDIO_INVOKED
95
diff --git a/scilab/modules/commons/src/c/commons.vcproj b/scilab/modules/commons/src/c/commons.vcproj
new file mode 100644
index 0000000..d9f918d
--- /dev/null
+++ b/scilab/modules/commons/src/c/commons.vcproj
@@ -0,0 +1,447 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="9,00"
5 Name="commons"
6 ProjectGUID="{ECA09A1E-6D12-4A47-92E1-A671C181DF77}"
7 RootNamespace="commons"
8 Keyword="Win32Proj"
9 TargetFrameworkVersion="0"
10 >
11 <Platforms>
12 <Platform
13 Name="Win32"
14 />
15 <Platform
16 Name="x64"
17 />
18 </Platforms>
19 <ToolFiles>
20 </ToolFiles>
21 <Configurations>
22 <Configuration
23 Name="Debug|Win32"
24 OutputDirectory="$(SolutionDir)bin\"
25 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
26 ConfigurationType="2"
27 CharacterSet="2"
28 >
29 <Tool
30 Name="VCPreBuildEventTool"
31 />
32 <Tool
33 Name="VCCustomBuildTool"
34 />
35 <Tool
36 Name="VCXMLDataGeneratorTool"
37 />
38 <Tool
39 Name="VCWebServiceProxyGeneratorTool"
40 />
41 <Tool
42 Name="VCMIDLTool"
43 />
44 <Tool
45 Name="VCCLCompilerTool"
46 AdditionalOptions=""
47 Optimization="0"
48 AdditionalIncludeDirectories=".;../../includes;../../../../libs/MALLOC/includes;../../../core/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../dynamic_link/src/c;../../../localization/includes;../../../core/src/c;../../../../libs/intl;../../../commons/includes;../../../api_scilab/includes"
49 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;COMMONS_EXPORTS"
50 MinimalRebuild="true"
51 BasicRuntimeChecks="0"
52 RuntimeLibrary="3"
53 UsePrecompiledHeader="0"
54 WarningLevel="3"
55 DebugInformationFormat="3"
56 CompileAs="0"
57 />
58 <Tool
59 Name="VCManagedResourceCompilerTool"
60 />
61 <Tool
62 Name="VCResourceCompilerTool"
63 />
64 <Tool
65 Name="VCPreLinkEventTool"
66 Description="Make dependencies"
67 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)commons_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
68 />
69 <Tool
70 Name="VCLinkerTool"
71 AdditionalDependencies="LibScilab.lib commons_f.lib"
72 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
73 LinkIncremental="1"
74 ModuleDefinitionFile=""
75 GenerateDebugInformation="true"
76 SubSystem="2"
77 RandomizedBaseAddress="1"
78 DataExecutionPrevention="0"
79 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
80 TargetMachine="1"
81 CLRUnmanagedCodeCheck="true"
82 />
83 <Tool
84 Name="VCALinkTool"
85 />
86 <Tool
87 Name="VCManifestTool"
88 />
89 <Tool
90 Name="VCXDCMakeTool"
91 />
92 <Tool
93 Name="VCBscMakeTool"
94 />
95 <Tool
96 Name="VCFxCopTool"
97 />
98 <Tool
99 Name="VCAppVerifierTool"
100 />
101 <Tool
102 Name="VCPostBuildEventTool"
103 />
104 </Configuration>
105 <Configuration
106 Name="Debug|x64"
107 OutputDirectory="$(SolutionDir)bin\"
108 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
109 ConfigurationType="2"
110 CharacterSet="2"
111 >
112 <Tool
113 Name="VCPreBuildEventTool"
114 />
115 <Tool
116 Name="VCCustomBuildTool"
117 />
118 <Tool
119 Name="VCXMLDataGeneratorTool"
120 />
121 <Tool
122 Name="VCWebServiceProxyGeneratorTool"
123 />
124 <Tool
125 Name="VCMIDLTool"
126 TargetEnvironment="3"
127 />
128 <Tool
129 Name="VCCLCompilerTool"
130 Optimization="0"
131 AdditionalIncludeDirectories=".;../../includes;../../../../libs/MALLOC/includes;../../../core/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../dynamic_link/src/c;../../../localization/includes;../../../core/src/c;../../../../libs/intl;../../../commons/includes;../../../api_scilab/includes"
132 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;COMMONS_EXPORTS"
133 MinimalRebuild="true"
134 BasicRuntimeChecks="0"
135 RuntimeLibrary="3"
136 UsePrecompiledHeader="0"
137 WarningLevel="3"
138 DebugInformationFormat="3"
139 CompileAs="0"
140 />
141 <Tool
142 Name="VCManagedResourceCompilerTool"
143 />
144 <Tool
145 Name="VCResourceCompilerTool"
146 />
147 <Tool
148 Name="VCPreLinkEventTool"
149 Description="Make dependencies"
150 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)commons_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
151 />
152 <Tool
153 Name="VCLinkerTool"
154 AdditionalDependencies="LibScilab.lib commons_f.lib"
155 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
156 LinkIncremental="1"
157 ModuleDefinitionFile=""
158 GenerateDebugInformation="true"
159 SubSystem="2"
160 RandomizedBaseAddress="1"
161 DataExecutionPrevention="0"
162 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
163 TargetMachine="17"
164 CLRUnmanagedCodeCheck="true"
165 />
166 <Tool
167 Name="VCALinkTool"
168 />
169 <Tool
170 Name="VCManifestTool"
171 />
172 <Tool
173 Name="VCXDCMakeTool"
174 />
175 <Tool
176 Name="VCBscMakeTool"
177 />
178 <Tool
179 Name="VCFxCopTool"
180 />
181 <Tool
182 Name="VCAppVerifierTool"
183 />
184 <Tool
185 Name="VCPostBuildEventTool"
186 />
187 </Configuration>
188 <Configuration
189 Name="Release|Win32"
190 OutputDirectory="$(SolutionDir)bin\"
191 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
192 ConfigurationType="2"
193 CharacterSet="2"
194 WholeProgramOptimization="0"
195 >
196 <Tool
197 Name="VCPreBuildEventTool"
198 />
199 <Tool
200 Name="VCCustomBuildTool"
201 />
202 <Tool
203 Name="VCXMLDataGeneratorTool"
204 />
205 <Tool
206 Name="VCWebServiceProxyGeneratorTool"
207 />
208 <Tool
209 Name="VCMIDLTool"
210 />
211 <Tool
212 Name="VCCLCompilerTool"
213 AdditionalOptions=""
214 InlineFunctionExpansion="1"
215 FavorSizeOrSpeed="1"
216 WholeProgramOptimization="false"
217 AdditionalIncludeDirectories=".;../../includes;../../../../libs/MALLOC/includes;../../../core/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../dynamic_link/src/c;../../../localization/includes;../../../core/src/c;../../../../libs/intl;../../../commons/includes;../../../api_scilab/includes"
218 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;COMMONS_EXPORTS"
219 StringPooling="true"
220 RuntimeLibrary="2"
221 EnableEnhancedInstructionSet="0"
222 UsePrecompiledHeader="0"
223 WarningLevel="3"
224 DebugInformationFormat="3"
225 CompileAs="0"
226 />
227 <Tool
228 Name="VCManagedResourceCompilerTool"
229 />
230 <Tool
231 Name="VCResourceCompilerTool"
232 />
233 <Tool
234 Name="VCPreLinkEventTool"
235 Description="Make dependencies"
236 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)commons_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
237 />
238 <Tool
239 Name="VCLinkerTool"
240 AdditionalDependencies="LibScilab.lib commons_f.lib"
241 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
242 LinkIncremental="1"
243 ModuleDefinitionFile=""
244 GenerateDebugInformation="false"
245 SubSystem="2"
246 OptimizeReferences="2"
247 EnableCOMDATFolding="2"
248 LinkTimeCodeGeneration="0"
249 RandomizedBaseAddress="1"
250 DataExecutionPrevention="0"
251 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
252 TargetMachine="1"
253 CLRUnmanagedCodeCheck="true"
254 />
255 <Tool
256 Name="VCALinkTool"
257 />
258 <Tool
259 Name="VCManifestTool"
260 />
261 <Tool
262 Name="VCXDCMakeTool"
263 />
264 <Tool
265 Name="VCBscMakeTool"
266 />
267 <Tool
268 Name="VCFxCopTool"
269 />
270 <Tool
271 Name="VCAppVerifierTool"
272 />
273 <Tool
274 Name="VCPostBuildEventTool"
275 />
276 </Configuration>
277 <Configuration
278 Name="Release|x64"
279 OutputDirectory="$(SolutionDir)bin\"
280 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
281 ConfigurationType="2"
282 CharacterSet="2"
283 WholeProgramOptimization="0"
284 >
285 <Tool
286 Name="VCPreBuildEventTool"
287 />
288 <Tool
289 Name="VCCustomBuildTool"
290 />
291 <Tool
292 Name="VCXMLDataGeneratorTool"
293 />
294 <Tool
295 Name="VCWebServiceProxyGeneratorTool"
296 />
297 <Tool
298 Name="VCMIDLTool"
299 TargetEnvironment="3"
300 />
301 <Tool
302 Name="VCCLCompilerTool"
303 InlineFunctionExpansion="1"
304 FavorSizeOrSpeed="1"
305 WholeProgramOptimization="false"
306 AdditionalIncludeDirectories=".;../../includes;../../../../libs/MALLOC/includes;../../../core/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../dynamic_link/src/c;../../../localization/includes;../../../core/src/c;../../../../libs/intl;../../../commons/includes;../../../api_scilab/includes"
307 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;COMMONS_EXPORTS"
308 StringPooling="true"
309 RuntimeLibrary="2"
310 EnableEnhancedInstructionSet="0"
311 UsePrecompiledHeader="0"
312 WarningLevel="3"
313 DebugInformationFormat="3"
314 CompileAs="0"
315 />
316 <Tool
317 Name="VCManagedResourceCompilerTool"
318 />
319 <Tool
320 Name="VCResourceCompilerTool"
321 />
322 <Tool
323 Name="VCPreLinkEventTool"
324 Description="Make dependencies"
325 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)commons_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
326 />
327 <Tool
328 Name="VCLinkerTool"
329 AdditionalDependencies="LibScilab.lib commons_f.lib"
330 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
331 LinkIncremental="1"
332 ModuleDefinitionFile=""
333 GenerateDebugInformation="false"
334 SubSystem="2"
335 OptimizeReferences="2"
336 EnableCOMDATFolding="2"
337 LinkTimeCodeGeneration="0"
338 RandomizedBaseAddress="1"
339 DataExecutionPrevention="0"
340 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
341 TargetMachine="17"
342 CLRUnmanagedCodeCheck="true"
343 />
344 <Tool
345 Name="VCALinkTool"
346 />
347 <Tool
348 Name="VCManifestTool"
349 />
350 <Tool
351 Name="VCXDCMakeTool"
352 />
353 <Tool
354 Name="VCBscMakeTool"
355 />
356 <Tool
357 Name="VCFxCopTool"
358 />
359 <Tool
360 Name="VCAppVerifierTool"
361 />
362 <Tool
363 Name="VCPostBuildEventTool"
364 />
365 </Configuration>
366 </Configurations>
367 <References>
368 </References>
369 <Files>
370 <Filter
371 Name="Source Files"
372 Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
373 >
374 <File
375 RelativePath=".\DllmainCommons.c"
376 >
377 </File>
378 </Filter>
379 <Filter
380 Name="Header Files"
381 Filter="h;hpp;hxx;hm;inl"
382 >
383 <File
384 RelativePath="..\..\includes\dynlib_commons.h"
385 >
386 </File>
387 </Filter>
388 <Filter
389 Name="localization"
390 >
391 <File
392 RelativePath="..\..\locales\en_US\messages.pot"
393 >
394 </File>
395 </Filter>
396 <Filter
397 Name="Libraries Dependencies"
398 >
399 <Filter
400 Name="Imports"
401 >
402 <File
403 RelativePath=".\commons_f_Import.def"
404 >
405 </File>
406 <File
407 RelativePath=".\LibScilab_Import.def"
408 >
409 </File>
410 </Filter>
411 </Filter>
412 <Filter
413 Name="Resource File"
414 >
415 <File
416 RelativePath=".\commons.rc"
417 >
418 </File>
419 </Filter>
420 <File
421 RelativePath="..\..\..\..\bin\blasplus.lib"
422 >
423 </File>
424 <File
425 RelativePath="..\..\commons.iss"
426 >
427 </File>
428 <File
429 RelativePath="..\..\sci_gateway\commons_gateway.xml"
430 >
431 </File>
432 <File
433 RelativePath="..\..\..\..\bin\lapack.lib"
434 >
435 </File>
436 <File
437 RelativePath="..\..\Makefile.am"
438 >
439 </File>
440 <File
441 RelativePath="..\..\version.xml"
442 >
443 </File>
444 </Files>
445 <Globals>
446 </Globals>
447</VisualStudioProject>
diff --git a/scilab/modules/commons/src/c/commons_f_Import.def b/scilab/modules/commons/src/c/commons_f_Import.def
new file mode 100644
index 0000000..9b2c297
--- /dev/null
+++ b/scilab/modules/commons/src/c/commons_f_Import.def
@@ -0,0 +1,7 @@
1LIBRARY commons_f.dll
2
3
4EXPORTS
5; ---------------------------------------
6; commons_f
7; ---------------------------------------
diff --git a/scilab/modules/commons/src/fortran/LibScilab_Import.def b/scilab/modules/commons/src/fortran/LibScilab_Import.def
new file mode 100644
index 0000000..dd757b1
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/LibScilab_Import.def
@@ -0,0 +1,7 @@
1 LIBRARY Libscilab.dll
2
3
4EXPORTS
5;
6;core
7;
diff --git a/scilab/modules/commons/src/fortran/commons_Import.def b/scilab/modules/commons/src/fortran/commons_Import.def
new file mode 100644
index 0000000..b4085ee
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_Import.def
@@ -0,0 +1,4 @@
1LIBRARY commons.dll
2
3
4EXPORTS
diff --git a/scilab/modules/commons/src/fortran/commons_f.def b/scilab/modules/commons/src/fortran/commons_f.def
new file mode 100644
index 0000000..f794e65
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_f.def
@@ -0,0 +1,9 @@
1LIBRARY commons_f.dll
2
3
4EXPORTS
5; ---------------------------------------
6; commons_f
7; ---------------------------------------
8 empty_
9 \ No newline at end of file
diff --git a/scilab/modules/commons/src/fortran/commons_f.rc b/scilab/modules/commons/src/fortran/commons_f.rc
new file mode 100644
index 0000000..36cb758
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_f.rc
@@ -0,0 +1,95 @@
1// Microsoft Visual C++ generated resource script.
2//
3
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#define APSTUDIO_HIDDEN_SYMBOLS
11#include "windows.h"
12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS
14
15/////////////////////////////////////////////////////////////////////////////
16// French (France) resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
19#ifdef _WIN32
20LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
21#pragma code_page(1252)
22#endif //_WIN32
23
24#ifdef APSTUDIO_INVOKED
25/////////////////////////////////////////////////////////////////////////////
26//
27// TEXTINCLUDE
28//
29
301 TEXTINCLUDE
31BEGIN
32 "resource.h\0"
33END
34
353 TEXTINCLUDE
36BEGIN
37 "\r\n"
38 "\0"
39END
40
41#endif // APSTUDIO_INVOKED
42
43
44/////////////////////////////////////////////////////////////////////////////
45//
46// Version
47//
48
49VS_VERSION_INFO VERSIONINFO
50 FILEVERSION 5,3,0,0
51 PRODUCTVERSION 5,3,0,0
52 FILEFLAGSMASK 0x17L
53#ifdef _DEBUG
54 FILEFLAGS 0x1L
55#else
56 FILEFLAGS 0x0L
57#endif
58 FILEOS 0x4L
59 FILETYPE 0x2L
60 FILESUBTYPE 0x0L
61BEGIN
62 BLOCK "StringFileInfo"
63 BEGIN
64 BLOCK "040c04b0"
65 BEGIN
66 VALUE "FileDescription", "commons_f module"
67 VALUE "FileVersion", "5, 3, 0, 0"
68 VALUE "InternalName", "commons_f module"
69 VALUE "LegalCopyright", "Copyright (C) 2010"
70 VALUE "OriginalFilename", "commons_f.dll"
71 VALUE "ProductName", "commons_f module"
72 VALUE "ProductVersion", "5, 3, 0, 0"
73 END
74 END
75 BLOCK "VarFileInfo"
76 BEGIN
77 VALUE "Translation", 0x40c, 1200
78 END
79END
80
81#endif // French (France) resources
82/////////////////////////////////////////////////////////////////////////////
83
84
85
86#ifndef APSTUDIO_INVOKED
87/////////////////////////////////////////////////////////////////////////////
88//
89// Generated from the TEXTINCLUDE 3 resource.
90//
91
92
93/////////////////////////////////////////////////////////////////////////////
94#endif // not APSTUDIO_INVOKED
95
diff --git a/scilab/modules/commons/src/fortran/commons_f.vfproj b/scilab/modules/commons/src/fortran/commons_f.vfproj
new file mode 100644
index 0000000..125370a
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_f.vfproj
@@ -0,0 +1,88 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<VisualStudioProject ProjectType="typeDynamicLibrary" ProjectCreator="Intel Fortran" Keyword="Dll" Version="11.0" ProjectIdGuid="{F4C4DE36-43F4-4E44-AE82-BA757CFF4970}">
3 <Platforms>
4 <Platform Name="Win32"/>
5 <Platform Name="x64"/></Platforms>
6 <Configurations>
7 <Configuration Name="Debug|Win32" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
8 <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
9 <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\$(ProjectName).dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="commons_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib commons.lib"/>
10 <Tool Name="VFResourceCompilerTool"/>
11 <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
12 <Tool Name="VFCustomBuildTool"/>
13 <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
14for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul
15copy *.def commons_f.def &gt;nul
16copy commons_f.def ..\commons_f.vcdef &gt;nul
17del *.def &gt;nul
18cd ..
19copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul" Description="Build commons.def"/>
20 <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
21lib /DEF:&quot;$(InputDir)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
22 <Tool Name="VFPostBuildEventTool"/>
23 <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
24 <Configuration Name="Release|Win32" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
25 <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" Parallelization="true" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
26 <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\$(ProjectName).dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="commons_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib commons.lib"/>
27 <Tool Name="VFResourceCompilerTool"/>
28 <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
29 <Tool Name="VFCustomBuildTool"/>
30 <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
31for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul
32copy *.def commons_f.def &gt;nul
33copy commons_f.def ..\commons_f.vcdef &gt;nul
34del *.def &gt;nul
35cd ..
36copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul" Description="Build commons.def"/>
37 <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
38lib /DEF:&quot;$(InputDir)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
39 <Tool Name="VFPostBuildEventTool"/>
40 <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
41 <Configuration Name="Debug|x64" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
42 <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL"/>
43 <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\$(ProjectName).dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="commons_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib commons.lib"/>
44 <Tool Name="VFResourceCompilerTool"/>
45 <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
46 <Tool Name="VFCustomBuildTool"/>
47 <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
48for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul
49copy *.def commons_f.def &gt;nul
50copy commons_f.def ..\commons_f.vcdef &gt;nul
51del *.def &gt;nul
52cd ..
53copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul" Description="Build commons.def"/>
54 <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
55lib /DEF:&quot;$(InputDir)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
56 <Tool Name="VFPostBuildEventTool"/>
57 <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
58 <Configuration Name="Release|x64" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
59 <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" Parallelization="true" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDLL"/>
60 <Tool Name="VFLinkerTool" OutputFile="$(SolutionDir)bin\$(ProjectName).dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="commons_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib commons.lib"/>
61 <Tool Name="VFResourceCompilerTool"/>
62 <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
63 <Tool Name="VFCustomBuildTool"/>
64 <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)
65for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul
66copy *.def commons_f.def &gt;nul
67copy commons_f.def ..\commons_f.vcdef &gt;nul
68del *.def &gt;nul
69cd ..
70copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul" Description="Build commons.def"/>
71 <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
72lib /DEF:&quot;$(InputDir)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>
73 <Tool Name="VFPostBuildEventTool"/>
74 <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration></Configurations>
75 <Files>
76 <Filter Name="Header Files" Filter="fi;fd"/>
77 <Filter Name="Library Dependencies">
78 <File RelativePath=".\commons_Import.def"/>
79 <File RelativePath=".\LibScilab_Import.def"/></Filter>
80 <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
81 <File RelativePath=".\commons_f.rc"/></Filter>
82 <Filter Name="Source Files" Filter="f90;for;f;fpp;ftn;def;odl;idl">
83 <File RelativePath=".\empty.f"/></Filter>
84 <File RelativePath="..\..\..\..\bin\blasplus.lib"/>
85 <File RelativePath="..\..\sci_gateway\commons_gateway.xml"/>
86 <File RelativePath="..\..\..\..\bin\lapack.lib"/>
87 <File RelativePath="..\..\Makefile.am"/></Files>
88 <Globals/></VisualStudioProject>
diff --git a/scilab/modules/commons/src/fortran/commons_f2c.vcproj b/scilab/modules/commons/src/fortran/commons_f2c.vcproj
new file mode 100644
index 0000000..c867ac6
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_f2c.vcproj
@@ -0,0 +1,464 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="9,00"
5 Name="commons_f"
6 ProjectGUID="{F4C4DE36-43F4-4E44-AE82-BA757CFF4970}"
7 RootNamespace="commons_f2c"
8 Keyword="Win32Proj"
9 TargetFrameworkVersion="0"
10 >
11 <Platforms>
12 <Platform
13 Name="Win32"
14 />
15 <Platform
16 Name="x64"
17 />
18 </Platforms>
19 <ToolFiles>
20 <ToolFile
21 RelativePath="..\..\..\..\Visual-Studio-settings\f2c.rules"
22 />
23 </ToolFiles>
24 <Configurations>
25 <Configuration
26 Name="Debug|Win32"
27 OutputDirectory="$(SolutionDir)bin\"
28 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
29 ConfigurationType="2"
30 CharacterSet="1"
31 >
32 <Tool
33 Name="f2c rule"
34 ExecutionBucket="1"
35 />
36 <Tool
37 Name="VCPreBuildEventTool"
38 Description="Build Dependencies"
39 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)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
40 ExecutionBucket="2"
41 />
42 <Tool
43 Name="VCCustomBuildTool"
44 />
45 <Tool
46 Name="VCXMLDataGeneratorTool"
47 />
48 <Tool
49 Name="VCMIDLTool"
50 ExecutionBucket="5"
51 />
52 <Tool
53 Name="VCWebServiceProxyGeneratorTool"
54 />
55 <Tool
56 Name="VCCLCompilerTool"
57 ExecutionBucket="6"
58 Optimization="0"
59 AdditionalIncludeDirectories="../../../../libs/f2c"
60 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;COMMONS_F2C_EXPORTS;FORDLL"
61 MinimalRebuild="true"
62 BasicRuntimeChecks="0"
63 RuntimeLibrary="3"
64 UsePrecompiledHeader="0"
65 WarningLevel="3"
66 DebugInformationFormat="3"
67 />
68 <Tool
69 Name="VCManagedResourceCompilerTool"
70 ExecutionBucket="7"
71 />
72 <Tool
73 Name="VCResourceCompilerTool"
74 ExecutionBucket="8"
75 />
76 <Tool
77 Name="VCPreLinkEventTool"
78 Description="Build commons_f.def"
79 CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def commons_f.def &gt;nul&#x0D;&#x0A;copy commons_f.def ..\commons_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul&#x0D;&#x0A;"
80 ExecutionBucket="9"
81 />
82 <Tool
83 Name="VCLinkerTool"
84 ExecutionBucket="10"
85 AdditionalOptions="/ignore:4049"
86 AdditionalDependencies="Libscilab.lib commons.lib"
87 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
88 LinkIncremental="2"
89 ModuleDefinitionFile="commons_f.def"
90 GenerateDebugInformation="true"
91 SubSystem="2"
92 RandomizedBaseAddress="1"
93 DataExecutionPrevention="0"
94 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
95 TargetMachine="1"
96 CLRUnmanagedCodeCheck="true"
97 />
98 <Tool
99 Name="VCALinkTool"
100 ExecutionBucket="11"
101 />
102 <Tool
103 Name="VCManifestTool"
104 ExecutionBucket="12"
105 />
106 <Tool
107 Name="VCXDCMakeTool"
108 ExecutionBucket="13"
109 />
110 <Tool
111 Name="VCBscMakeTool"
112 ExecutionBucket="14"
113 />
114 <Tool
115 Name="VCFxCopTool"
116 ExecutionBucket="15"
117 />
118 <Tool
119 Name="VCPostBuildEventTool"
120 ExecutionBucket="17"
121 />
122 <Tool
123 Name="VCAppVerifierTool"
124 />
125 </Configuration>
126 <Configuration
127 Name="Debug|x64"
128 OutputDirectory="$(SolutionDir)bin\"
129 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
130 ConfigurationType="2"
131 CharacterSet="1"
132 >
133 <Tool
134 Name="VCPreBuildEventTool"
135 Description="Build Dependencies"
136 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)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
137 />
138 <Tool
139 Name="VCCustomBuildTool"
140 />
141 <Tool
142 Name="f2c rule"
143 />
144 <Tool
145 Name="VCXMLDataGeneratorTool"
146 />
147 <Tool
148 Name="VCWebServiceProxyGeneratorTool"
149 />
150 <Tool
151 Name="VCMIDLTool"
152 TargetEnvironment="3"
153 />
154 <Tool
155 Name="VCCLCompilerTool"
156 Optimization="0"
157 AdditionalIncludeDirectories="../../../../libs/f2c"
158 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;COMMONS_F2C_EXPORTS;FORDLL"
159 MinimalRebuild="true"
160 BasicRuntimeChecks="0"
161 RuntimeLibrary="3"
162 UsePrecompiledHeader="0"
163 WarningLevel="3"
164 DebugInformationFormat="3"
165 />
166 <Tool
167 Name="VCManagedResourceCompilerTool"
168 />
169 <Tool
170 Name="VCResourceCompilerTool"
171 />
172 <Tool
173 Name="VCPreLinkEventTool"
174 Description="Build commons_f.def"
175 CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def commons_f.def &gt;nul&#x0D;&#x0A;copy commons_f.def ..\commons_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul&#x0D;&#x0A;"
176 />
177 <Tool
178 Name="VCLinkerTool"
179 AdditionalOptions="/ignore:4049"
180 AdditionalDependencies="Libscilab.lib commons.lib"
181 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
182 LinkIncremental="2"
183 ModuleDefinitionFile="commons_f.def"
184 GenerateDebugInformation="true"
185 SubSystem="2"
186 RandomizedBaseAddress="1"
187 DataExecutionPrevention="0"
188 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
189 TargetMachine="17"
190 CLRUnmanagedCodeCheck="true"
191 />
192 <Tool
193 Name="VCALinkTool"
194 />
195 <Tool
196 Name="VCManifestTool"
197 />
198 <Tool
199 Name="VCXDCMakeTool"
200 />
201 <Tool
202 Name="VCBscMakeTool"
203 />
204 <Tool
205 Name="VCFxCopTool"
206 />
207 <Tool
208 Name="VCAppVerifierTool"
209 />
210 <Tool
211 Name="VCPostBuildEventTool"
212 />
213 </Configuration>
214 <Configuration
215 Name="Release|Win32"
216 OutputDirectory="$(SolutionDir)bin\"
217 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
218 ConfigurationType="2"
219 CharacterSet="1"
220 WholeProgramOptimization="1"
221 >
222 <Tool
223 Name="VCPreBuildEventTool"
224 Description="Build Dependencies"
225 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)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
226 />
227 <Tool
228 Name="VCCustomBuildTool"
229 />
230 <Tool
231 Name="f2c rule"
232 />
233 <Tool
234 Name="VCXMLDataGeneratorTool"
235 />
236 <Tool
237 Name="VCWebServiceProxyGeneratorTool"
238 />
239 <Tool
240 Name="VCMIDLTool"
241 />
242 <Tool
243 Name="VCCLCompilerTool"
244 WholeProgramOptimization="false"
245 AdditionalIncludeDirectories="../../../../libs/f2c"
246 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;COMMONS_F2C_EXPORTS;FORDLL"
247 RuntimeLibrary="2"
248 EnableEnhancedInstructionSet="0"
249 UsePrecompiledHeader="0"
250 WarningLevel="3"
251 DebugInformationFormat="3"
252 />
253 <Tool
254 Name="VCManagedResourceCompilerTool"
255 />
256 <Tool
257 Name="VCResourceCompilerTool"
258 />
259 <Tool
260 Name="VCPreLinkEventTool"
261 Description="Build commons_f.def"
262 CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def commons_f.def &gt;nul&#x0D;&#x0A;copy commons_f.def ..\commons_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul&#x0D;&#x0A;"
263 />
264 <Tool
265 Name="VCLinkerTool"
266 AdditionalOptions="/ignore:4049"
267 AdditionalDependencies="Libscilab.lib commons.lib"
268 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
269 LinkIncremental="1"
270 ModuleDefinitionFile="commons_f.def"
271 GenerateDebugInformation="true"
272 SubSystem="2"
273 OptimizeReferences="2"
274 EnableCOMDATFolding="2"
275 LinkTimeCodeGeneration="0"
276 RandomizedBaseAddress="1"
277 DataExecutionPrevention="0"
278 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
279 TargetMachine="1"
280 CLRUnmanagedCodeCheck="true"
281 />
282 <Tool
283 Name="VCALinkTool"
284 />
285 <Tool
286 Name="VCManifestTool"
287 />
288 <Tool
289 Name="VCXDCMakeTool"
290 />
291 <Tool
292 Name="VCBscMakeTool"
293 />
294 <Tool
295 Name="VCFxCopTool"
296 />
297 <Tool
298 Name="VCAppVerifierTool"
299 />
300 <Tool
301 Name="VCPostBuildEventTool"
302 />
303 </Configuration>
304 <Configuration
305 Name="Release|x64"
306 OutputDirectory="$(SolutionDir)bin\"
307 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
308 ConfigurationType="2"
309 CharacterSet="1"
310 WholeProgramOptimization="1"
311 >
312 <Tool
313 Name="VCPreBuildEventTool"
314 Description="Build Dependencies"
315 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)commons_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)commons.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"
316 />
317 <Tool
318 Name="VCCustomBuildTool"
319 />
320 <Tool
321 Name="f2c rule"
322 />
323 <Tool
324 Name="VCXMLDataGeneratorTool"
325 />
326 <Tool
327 Name="VCWebServiceProxyGeneratorTool"
328 />
329 <Tool
330 Name="VCMIDLTool"
331 TargetEnvironment="3"
332 />
333 <Tool
334 Name="VCCLCompilerTool"
335 WholeProgramOptimization="false"
336 AdditionalIncludeDirectories="../../../../libs/f2c"
337 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;COMMONS_F2C_EXPORTS;FORDLL"
338 RuntimeLibrary="2"
339 EnableEnhancedInstructionSet="1"
340 UsePrecompiledHeader="0"
341 WarningLevel="3"
342 DebugInformationFormat="3"
343 />
344 <Tool
345 Name="VCManagedResourceCompilerTool"
346 />
347 <Tool
348 Name="VCResourceCompilerTool"
349 />
350 <Tool
351 Name="VCPreLinkEventTool"
352 Description="Build commons_f.def"
353 CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n commons_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def commons_f.def &gt;nul&#x0D;&#x0A;copy commons_f.def ..\commons_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy commons_f_header.def+commons_f.vcdef commons_f.def &gt;nul&#x0D;&#x0A;"
354 />
355 <Tool
356 Name="VCLinkerTool"
357 AdditionalOptions="/ignore:4049"
358 AdditionalDependencies="Libscilab.lib commons.lib"
359 OutputFile="$(SolutionDir)bin\$(ProjectName).dll"
360 LinkIncremental="1"
361 ModuleDefinitionFile="commons_f.def"
362 GenerateDebugInformation="true"
363 SubSystem="2"
364 OptimizeReferences="2"
365 EnableCOMDATFolding="2"
366 LinkTimeCodeGeneration="0"
367 RandomizedBaseAddress="1"
368 DataExecutionPrevention="0"
369 ImportLibrary="$(SolutionDir)bin\$(ProjectName).lib"
370 TargetMachine="17"
371 CLRUnmanagedCodeCheck="true"
372 />
373 <Tool
374 Name="VCALinkTool"
375 />
376 <Tool
377 Name="VCManifestTool"
378 />
379 <Tool
380 Name="VCXDCMakeTool"
381 />
382 <Tool
383 Name="VCBscMakeTool"
384 />
385 <Tool
386 Name="VCFxCopTool"
387 />
388 <Tool
389 Name="VCAppVerifierTool"
390 />
391 <Tool
392 Name="VCPostBuildEventTool"
393 />
394 </Configuration>
395 </Configurations>
396 <References>
397 </References>
398 <Files>
399 <Filter
400 Name="Source Files"
401 Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
402 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
403 >
404 <File
405 RelativePath=".\empty.c"
406 >
407 </File>
408 </Filter>
409 <Filter
410 Name="Header Files"
411 Filter="h;hpp;hxx;hm;inl;inc;xsd"
412 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
413 >
414 </Filter>
415 <Filter
416 Name="Resource Files"
417 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
418 UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
419 >
420 </Filter>
421 <Filter
422 Name="Fortran files"
423 >
424 <File
425 RelativePath=".\empty.f"
426 >
427 </File>
428 </Filter>
429 <Filter
430 Name="Libraries Dependencies"
431 >
432 <File
433 RelativePath=".\commons_Import.def"
434 >
435 </File>
436 <File
437 RelativePath=".\LibScilab_Import.def"
438 >
439 </File>
440 </Filter>
441 <File
442 RelativePath="..\..\..\..\bin\blasplus.lib"
443 >
444 </File>
445 <File
446 RelativePath="..\..\sci_gateway\commons_gateway.xml"
447 >
448 </File>
449 <File
450 RelativePath="..\..\..\..\bin\lapack.lib"
451 >
452 </File>
453 <File
454 RelativePath="..\..\..\..\bin\libf2c.lib"
455 >
456 </File>
457 <File
458 RelativePath="..\..\Makefile.am"
459 >
460 </File>
461 </Files>
462 <Globals>
463 </Globals>
464</VisualStudioProject>
diff --git a/scilab/modules/commons/src/fortran/commons_f_header.def b/scilab/modules/commons/src/fortran/commons_f_header.def
new file mode 100644
index 0000000..9b2c297
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/commons_f_header.def
@@ -0,0 +1,7 @@
1LIBRARY commons_f.dll
2
3
4EXPORTS
5; ---------------------------------------
6; commons_f
7; ---------------------------------------
diff --git a/scilab/modules/commons/src/fortran/empty.f b/scilab/modules/commons/src/fortran/empty.f
new file mode 100644
index 0000000..01cfe5d
--- /dev/null
+++ b/scilab/modules/commons/src/fortran/empty.f
@@ -0,0 +1,12 @@
1c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2c Copyright (C) DIGITEO - 2010 - Allan CORNET
3c
4c This file must be used under the terms of the CeCILL.
5c This source file is licensed as described in the file COPYING, which
6c you should have received as part of this distribution. The terms
7c are also available at
8c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10 subroutine empty()
11 end
12
diff --git a/scilab/modules/commons/src/java/commons-JAVA.vcproj b/scilab/modules/commons/src/java/commons-JAVA.vcproj
new file mode 100644
index 0000000..754be00
--- /dev/null
+++ b/scilab/modules/commons/src/java/commons-JAVA.vcproj
@@ -0,0 +1,119 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="9,00"
5 Name="commons-Ant"
6 ProjectGUID="{9188FA91-E039-485D-AF1D-781CEA92F541}"
7 RootNamespace="commons-Ant"
8 Keyword="MakeFileProj"
9 TargetFrameworkVersion="0"
10 >
11 <Platforms>
12 <Platform
13 Name="Win32"
14 />
15 <Platform
16 Name="x64"
17 />
18 </Platforms>
19 <ToolFiles>
20 </ToolFiles>
21 <Configurations>
22 <Configuration
23 Name="Debug|Win32"
24 OutputDirectory="$(SolutionDir)modules\commons\jar"
25 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
26 ConfigurationType="0"
27 >
28 <Tool
29 Name="VCNMakeTool"
30 BuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant&#x0D;&#x0A;"
31 ReBuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;call ant"
32 CleanCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;"
33 Output=""
34 PreprocessorDefinitions="WIN32;_DEBUG"
35 IncludeSearchPath=""
36 ForcedIncludes=""
37 AssemblySearchPath=""
38 ForcedUsingAssemblies=""
39
40 />
41 </Configuration>
42 <Configuration
43 Name="Debug|x64"
44 OutputDirectory="$(SolutionDir)modules\commons\jar"
45 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
46 ConfigurationType="0"
47 >
48 <Tool
49 Name="VCNMakeTool"
50 BuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant&#x0D;&#x0A;"
51 ReBuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;call ant"
52 CleanCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;"
53 Output=""
54 PreprocessorDefinitions="WIN32;_DEBUG"
55 IncludeSearchPath=""
56 ForcedIncludes=""
57 AssemblySearchPath=""
58 ForcedUsingAssemblies=""
59
60 />
61 </Configuration>
62 <Configuration
63 Name="Release|Win32"
64 OutputDirectory="$(SolutionDir)modules\commons\jar"
65 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
66 ConfigurationType="0"
67 >
68 <Tool
69 Name="VCNMakeTool"
70 BuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant&#x0D;&#x0A;"
71 ReBuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;call ant"
72 CleanCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;"
73 Output=""
74 PreprocessorDefinitions="WIN32;NDEBUG"
75 IncludeSearchPath=""
76 ForcedIncludes=""
77 AssemblySearchPath=""
78 ForcedUsingAssemblies=""
79
80 />
81 </Configuration>
82 <Configuration
83 Name="Release|x64"
84 OutputDirectory="$(SolutionDir)modules\commons\jar"
85 IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
86 ConfigurationType="0"
87 >
88 <Tool
89 Name="VCNMakeTool"
90 BuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant&#x0D;&#x0A;"
91 ReBuildCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;call ant"
92 CleanCommandLine="set JAVA_HOME=$(SolutionDir)\java\jdk&#x0D;&#x0A;set PATH=$(SolutionDir)\java\ant\bin;%PATH%;&#x0D;&#x0A;cd ..\..&#x0D;&#x0A;call ant clean&#x0D;&#x0A;"
93 Output=""
94 PreprocessorDefinitions="WIN32;NDEBUG"
95 IncludeSearchPath=""
96 ForcedIncludes=""
97 AssemblySearchPath=""
98 ForcedUsingAssemblies=""
99
100 />
101 </Configuration>
102 </Configurations>
103 <References>
104 </References>
105 <Files>
106 <Filter
107 Name="Source Files"
108 Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
109 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
110 >
111 </Filter>
112 <File
113 RelativePath="..\..\build.xml"
114 >
115 </File>
116 </Files>
117 <Globals>
118 </Globals>
119</VisualStudioProject>
diff --git a/scilab/modules/commons/src/java/org/scilab/commons/utils/getOS.java b/scilab/modules/commons/src/java/org/scilab/commons/utils/getOS.java
new file mode 100644
index 0000000..63e4cba
--- /dev/null
+++ b/scilab/modules/commons/src/java/org/scilab/commons/utils/getOS.java
@@ -0,0 +1,43 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010 - DIGITEO - Allan CORNET
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12package org.scilab.modules.commons;
13
14
15public class getOS {
16
17 private static final String OSNAME = "os.name";
18
19 /**
20 * @return true if the os is windows, false otherwise
21 */
22 public static boolean isWindowsPlateform() {
23 // get os name
24 return System.getProperty(OSNAME).toLowerCase().contains("windows");
25 }
26
27 /**
28 * Find the verion of windows used on the computer if one
29 * @return negative value if the OS is not windows, the version of windows otherwise
30 */
31 public static double findWindowsVersion() {
32 // default valu enot windows
33 double windowsVersion = -1.0;
34
35 if (isWindowsPlateform()) {
36 // windows plateform
37 return Double.valueOf(System.getProperty("os.version"));
38 }
39
40 return windowsVersion;
41 }
42}
43/*---------------------------------------------------------------------------*/
diff --git a/scilab/modules/commons/version.xml b/scilab/modules/commons/version.xml
new file mode 100644
index 0000000..4ca0d39
--- /dev/null
+++ b/scilab/modules/commons/version.xml
@@ -0,0 +1,11 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2010 - DIGITEO
5 *
6 * This file is distributed under the same license as the Scilab package.
7 -->
8<!DOCTYPE MODULE_VERSION SYSTEM "../core/xml/version.dtd">
9<MODULE_VERSION name="commons">
10<VERSION major="1" minor="0" maintenance="0" revision="0" string="unstable-git" />
11</MODULE_VERSION>
diff --git a/scilab/scilab-lib.properties.in b/scilab/scilab-lib.properties.in
index db49963..284c935 100644
--- a/scilab/scilab-lib.properties.in
+++ b/scilab/scilab-lib.properties.in
@@ -42,6 +42,9 @@ avalon-framework.jar=@AVALON_FRAMEWORK@
42library.jvm.dir=${modules.dir}/jvm/${build.jar.dir}/ 42library.jvm.dir=${modules.dir}/jvm/${build.jar.dir}/
43library.jvm.name=org.scilab.modules.jvm.jar 43library.jvm.name=org.scilab.modules.jvm.jar
44 44
45library.commons.dir=${modules.dir}/commons/${build.jar.dir}/
46library.commons.name=org.scilab.modules.commons.jar
47
45library.shell.dir=${modules.dir}/shell/${build.jar.dir}/ 48library.shell.dir=${modules.dir}/shell/${build.jar.dir}/
46library.shell.name=org.scilab.modules.shell.jar 49library.shell.name=org.scilab.modules.shell.jar
47 50
diff --git a/scilab/scilab-lib.properties.vc b/scilab/scilab-lib.properties.vc
index b918d62..8666f67 100644
--- a/scilab/scilab-lib.properties.vc
+++ b/scilab/scilab-lib.properties.vc
@@ -38,6 +38,9 @@ avalon-framework.jar=${thirdparty.dir}/avalon-framework.jar
38library.jvm.dir=${modules.dir}/jvm/${build.jar.dir}/ 38library.jvm.dir=${modules.dir}/jvm/${build.jar.dir}/
39library.jvm.name=org.scilab.modules.jvm.jar 39library.jvm.name=org.scilab.modules.jvm.jar
40 40
41library.commons.dir=${modules.dir}/commons/${build.jar.dir}/
42library.commons.name=org.scilab.modules.commons.jar
43
41library.shell.dir=${modules.dir}/shell/${build.jar.dir}/ 44library.shell.dir=${modules.dir}/shell/${build.jar.dir}/
42library.shell.name=org.scilab.modules.shell.jar 45library.shell.name=org.scilab.modules.shell.jar
43 46