Noaction_binding mode
Vincent Couvert [Fri, 26 Oct 2007 12:08:29 +0000 (12:08 +0000)]
scilab/modules/action_binding/Makefile.am
scilab/modules/action_binding/Makefile.in
scilab/modules/action_binding/action_binding.iss
scilab/modules/action_binding/src/java/org/scilab/modules/action_binding/InterpreterManagementJNI.java
scilab/modules/action_binding/src/noaction_binding/noaction_binding.c
scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
scilab/modules/action_binding/src/noaction_binding/noaction_binding.vcproj
scilab/modules/action_binding/src/noaction_binding/noaction_binding_header.def
scilab/modules/action_binding/src/noaction_binding/resource.h

index 12e7f5d..c560790 100644 (file)
@@ -4,12 +4,20 @@
 ### INRIA - Scilab 2007
 ##########
 
+if GUI
 # List of the c files
 CONNECTORS_C_SOURCES = src/c/InterpreterManagement.c
 
 # List of the gateway c files
 CONSOLE_C_JNI_SOURCES = src/jni/InterpreterManagement_wrap.c
 
+#### SWIG Declaration ####
+SWIG_WRAPPERS = src/jni/InterpreterManagement.i
+else
+# List of the c files
+CONNECTORS_C_SOURCES = src/noaction_bindings/noaction_binding.c
+endif
+
 # Includes need for the compilation
 libsciaction_binding_la_CFLAGS= $(JAVA_JNI_INCLUDE) -Iincludes/ -Isrc/c/ -Isrc/jni/ -I$(top_srcdir)/libs/MALLOC/includes/
 
@@ -37,9 +45,6 @@ libsciaction_binding_la_root_DATA = changelog.txt licence.txt readme.txt version
 libsciaction_binding_la_etcdir = $(mydatadir)/etc
 libsciaction_binding_la_etc_DATA = etc/action_binding.quit etc/action_binding.start
 
-#### SWIG Declaration ####
-SWIG_WRAPPERS = src/jni/InterpreterManagement.i
-
 #### action_binding : gateway declaration #### 
 libsciaction_binding_la_sci_gatewaydir = $(mydatadir)/sci_gateway
 libsciaction_binding_la_sci_gateway_DATA =
index 1273cce..cec040d 100644 (file)
@@ -88,8 +88,15 @@ LTLIBRARIES = $(pkglib_LTLIBRARIES)
 libsciaction_binding_la_DEPENDENCIES =  \
        $(top_builddir)/libs/blas/libsciblas.la \
        $(top_builddir)/libs/MALLOC/libscimalloc.la
-am__objects_1 = libsciaction_binding_la-InterpreterManagement.lo
-am__objects_2 = libsciaction_binding_la-InterpreterManagement_wrap.lo
+am__libsciaction_binding_la_SOURCES_DIST =  \
+       src/noaction_bindings/noaction_binding.c \
+       src/c/InterpreterManagement.c \
+       src/jni/InterpreterManagement_wrap.c
+@GUI_FALSE@am__objects_1 =  \
+@GUI_FALSE@    libsciaction_binding_la-noaction_binding.lo
+@GUI_TRUE@am__objects_1 =  \
+@GUI_TRUE@     libsciaction_binding_la-InterpreterManagement.lo
+@GUI_TRUE@am__objects_2 = libsciaction_binding_la-InterpreterManagement_wrap.lo
 am_libsciaction_binding_la_OBJECTS = $(am__objects_1) $(am__objects_2)
 libsciaction_binding_la_OBJECTS =  \
        $(am_libsciaction_binding_la_OBJECTS)
@@ -110,7 +117,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
        $(LDFLAGS) -o $@
 SOURCES = $(libsciaction_binding_la_SOURCES)
-DIST_SOURCES = $(libsciaction_binding_la_SOURCES)
+DIST_SOURCES = $(am__libsciaction_binding_la_SOURCES_DIST)
 libsciaction_binding_la_etcDATA_INSTALL = $(INSTALL_DATA)
 libsciaction_binding_la_rootDATA_INSTALL = $(INSTALL_DATA)
 libsciaction_binding_la_sci_gatewayDATA_INSTALL = $(INSTALL_DATA)
@@ -284,12 +291,17 @@ target_alias = @target_alias@
 tcldir = @tcldir@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
+# List of the c files
+@GUI_FALSE@CONNECTORS_C_SOURCES = src/noaction_bindings/noaction_binding.c
 
 # List of the c files
-CONNECTORS_C_SOURCES = src/c/InterpreterManagement.c
+@GUI_TRUE@CONNECTORS_C_SOURCES = src/c/InterpreterManagement.c
 
 # List of the gateway c files
-CONSOLE_C_JNI_SOURCES = src/jni/InterpreterManagement_wrap.c
+@GUI_TRUE@CONSOLE_C_JNI_SOURCES = src/jni/InterpreterManagement_wrap.c
+
+#### SWIG Declaration ####
+@GUI_TRUE@SWIG_WRAPPERS = src/jni/InterpreterManagement.i
 
 # Includes need for the compilation
 libsciaction_binding_la_CFLAGS = $(JAVA_JNI_INCLUDE) -Iincludes/ -Isrc/c/ -Isrc/jni/ -I$(top_srcdir)/libs/MALLOC/includes/
@@ -316,9 +328,6 @@ libsciaction_binding_la_root_DATA = changelog.txt licence.txt readme.txt version
 libsciaction_binding_la_etcdir = $(mydatadir)/etc
 libsciaction_binding_la_etc_DATA = etc/action_binding.quit etc/action_binding.start
 
-#### SWIG Declaration ####
-SWIG_WRAPPERS = src/jni/InterpreterManagement.i
-
 #### action_binding : gateway declaration #### 
 libsciaction_binding_la_sci_gatewaydir = $(mydatadir)/sci_gateway
 libsciaction_binding_la_sci_gateway_DATA = 
@@ -443,6 +452,7 @@ distclean-compile:
 
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciaction_binding_la-InterpreterManagement.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciaction_binding_la-InterpreterManagement_wrap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciaction_binding_la-noaction_binding.Plo@am__quote@
 
 .c.o:
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -465,6 +475,13 @@ distclean-compile:
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
 
+libsciaction_binding_la-noaction_binding.lo: src/noaction_bindings/noaction_binding.c
+@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciaction_binding_la_CFLAGS) $(CFLAGS) -MT libsciaction_binding_la-noaction_binding.lo -MD -MP -MF $(DEPDIR)/libsciaction_binding_la-noaction_binding.Tpo -c -o libsciaction_binding_la-noaction_binding.lo `test -f 'src/noaction_bindings/noaction_binding.c' || echo '$(srcdir)/'`src/noaction_bindings/noaction_binding.c
+@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libsciaction_binding_la-noaction_binding.Tpo $(DEPDIR)/libsciaction_binding_la-noaction_binding.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/noaction_bindings/noaction_binding.c' object='libsciaction_binding_la-noaction_binding.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciaction_binding_la_CFLAGS) $(CFLAGS) -c -o libsciaction_binding_la-noaction_binding.lo `test -f 'src/noaction_bindings/noaction_binding.c' || echo '$(srcdir)/'`src/noaction_bindings/noaction_binding.c
+
 libsciaction_binding_la-InterpreterManagement.lo: src/c/InterpreterManagement.c
 @am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciaction_binding_la_CFLAGS) $(CFLAGS) -MT libsciaction_binding_la-InterpreterManagement.lo -MD -MP -MF $(DEPDIR)/libsciaction_binding_la-InterpreterManagement.Tpo -c -o libsciaction_binding_la-InterpreterManagement.lo `test -f 'src/c/InterpreterManagement.c' || echo '$(srcdir)/'`src/c/InterpreterManagement.c
 @am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libsciaction_binding_la-InterpreterManagement.Tpo $(DEPDIR)/libsciaction_binding_la-InterpreterManagement.Plo
index e69de29..3f75831 100644 (file)
@@ -0,0 +1,53 @@
+;##############################################################################################################
+; Script d'installation Inno Setup (5.1.7) pour scilab
+; Allan CORNET
+; Vincent COUVERT
+; Version TRUNK
+; Copyright INRIA 2007
+;##############################################################################################################
+;--------------------------------------------------------------------------------------------------------------
+; action_binding module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define ACTION_BINDING "action_binding"
+;
+Source: bin\sciaction_binding.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#ACTION_BINDING}\jar\org.scilab.modules.action_binding.jar;DestDir: {app}\modules\{#ACTION_BINDING}\jar; Components: {#COMPN_SCILAB}
+Source: thirdparty\JRosetta-API-1.0.jar;DestDir: {app}\thirdparty; Components: {#COMPN_SCILAB}
+Source: thirdparty\JRosetta-1.0.jar;DestDir: {app}\thirdparty; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\etc\configuration.xml; DestDir: {app}\modules\{#ACTION_BINDING}\etc; Components: {#COMPN_SCILAB};
+;
+;Source: bin\noaction_binding.dll; DestDir: {app}\bin; DestName: sciaction_binding.dll; Components: not ({#COMPN_ACTION_BINDING})
+;
+Source: modules\{#ACTION_BINDING}\changelog.txt; DestDir: {app}\modules\{#ACTION_BINDING}; Components: {#COMPN_SCILAB};
+Source: modules\{#ACTION_BINDING}\licence.txt; DestDir: {app}\modules\{#ACTION_BINDING}; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\readme.txt; DestDir: {app}\modules\{#ACTION_BINDING}; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\version.xml; DestDir: {app}\modules\{#ACTION_BINDING}; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#ACTION_BINDING}\sci_gateway\action_binding.xml; DestDir: {app}\modules\{#ACTION_BINDING}\sci_gateway; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#ACTION_BINDING}\includes\*.h; DestDir: {app}\modules\{#ACTION_BINDING}\includes; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#ACTION_BINDING}\help\addchapter.sce; DestDir: {app}\modules\{#ACTION_BINDING}\help; Flags: recursesubdirs; Components:  {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\help\removechapter.sce; DestDir: {app}\modules\{#ACTION_BINDING}\help; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#ACTION_BINDING}\etc\{#ACTION_BINDING}.quit; DestDir: {app}\modules\{#ACTION_BINDING}\etc; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\etc\{#ACTION_BINDING}.start; DestDir: {app}\modules\{#ACTION_BINDING}\etc; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#ACTION_BINDING}\etc\configuration.xml; DestDir: {app}\modules\{#ACTION_BINDING}\etc; Components: {#COMPN_SCILAB}
+;
+Source: modules\{#ACTION_BINDING}\help\*.htm; DestDir: {app}\modules\{#ACTION_BINDING}\help; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+;
+;
+Source: modules\{#ACTION_BINDING}\macros\buildmacros.sce; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\macros\buildmacros.bat; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+Source: modules\{#ACTION_BINDING}\macros\cleanmacros.bat; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#ACTION_BINDING}\macros\*.bin; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#ACTION_BINDING}\macros\*.sci; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#ACTION_BINDING}\macros\lib; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+;Source: modules\{#ACTION_BINDING}\macros\names; DestDir: {app}\modules\{#ACTION_BINDING}\macros; Components: {#COMPN_SCILAB}
+;
+;Source: modules\{#ACTION_BINDING}\demos\*.*; DestDir: {app}\modules\{#ACTION_BINDING}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB}
+;
+;--------------------------------------------------------------------------------------------------------------
index 318e285..26912ff 100644 (file)
@@ -30,7 +30,7 @@ class InterpreterManagementJNI {
                System.err.println("A security manager exists and does not allow the loading of the specified dynamic library :");
                e.printStackTrace(System.err);
        } catch (UnsatisfiedLinkError e)        {
-               System.err.println("The native library sciconsole does not exist or cannot be found.");
+               System.err.println("The native library sciaction_binding does not exist or cannot be found.");
                e.printStackTrace(System.err);
     }
   }
index 6bfc911..8545d32 100644 (file)
@@ -1,15 +1,29 @@
-/*-----------------------------------------------------------------------------------*/\r
-/* INRIA 2007 */\r
-/* Allan CORNET */\r
-/*-----------------------------------------------------------------------------------*/ \r
-#include "machine.h" \r
-/*-----------------------------------------------------------------------------------*/ \r
-extern int  Scierror __PARAMS((int iv,char *fmt,...));\r
-/*-----------------------------------------------------------------------------------*/ \r
-int C2F(gw_module_skeleton)()\r
-{\r
-       Scierror(999,"module_skeleton interface not installed.\r\n");\r
-       return 0;\r
-}\r
-/*-----------------------------------------------------------------------------------*/ \r
-       
\ No newline at end of file
+/*-----------------------------------------------------------------------------------*/
+/** 
+ * @copyright INRIA 2007
+ * @author Vincent COUVERT
+ */
+/*-----------------------------------------------------------------------------------*/
+#include "InterpreterManagement.h"
+#include "machine.h"
+/*-----------------------------------------------------------------------------------*/
+int putCommandInScilabQueue(char *command)
+{
+  return 0;
+}
+/*-----------------------------------------------------------------------------------*/
+int execScilabEventLoop(void)
+{
+  return 0;
+}
+/*-----------------------------------------------------------------------------------*/
+int interruptScilab(void)
+{
+  return 0;
+}
+/*-----------------------------------------------------------------------------------*/
+BOOL haveCommandsInTheQueue(void)
+{
+  return FALSE;
+}
+/*-----------------------------------------------------------------------------------*/
index 5e82a70..e69de29 100644 (file)
@@ -1,97 +0,0 @@
-// Microsoft Visual C++ generated resource script.\r
-//\r
-#include "resource.h"\r
-\r
-#define APSTUDIO_READONLY_SYMBOLS\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 2 resource.\r
-//\r
-//#include "afxres.h"\r
-#define APSTUDIO_HIDDEN_SYMBOLS\r
-#include "windows.h"\r
-/////////////////////////////////////////////////////////////////////////////\r
-#undef APSTUDIO_READONLY_SYMBOLS\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// French (France) resources\r
-\r
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)\r
-#ifdef _WIN32\r
-LANGUAGE LANG_FRENCH, SUBLANG_FRENCH\r
-#pragma code_page(1252)\r
-#endif //_WIN32\r
-\r
-#ifdef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// TEXTINCLUDE\r
-//\r
-\r
-1 TEXTINCLUDE \r
-BEGIN\r
-    "resource.h\0"\r
-END\r
-\r
-\r
-3 TEXTINCLUDE \r
-BEGIN\r
-    "\r\n"\r
-    "\0"\r
-END\r
-\r
-#endif    // APSTUDIO_INVOKED\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Version\r
-//\r
-\r
-VS_VERSION_INFO VERSIONINFO\r
- FILEVERSION 5,0,0,0\r
- PRODUCTVERSION 5,0,0,0\r
- FILEFLAGSMASK 0x17L\r
-#ifdef _DEBUG\r
- FILEFLAGS 0x1L\r
-#else\r
- FILEFLAGS 0x0L\r
-#endif\r
- FILEOS 0x4L\r
- FILETYPE 0x0L\r
- FILESUBTYPE 0x0L\r
-BEGIN\r
-    BLOCK "StringFileInfo"\r
-    BEGIN\r
-        BLOCK "040c04b0"\r
-        BEGIN\r
-            VALUE "FileDescription", "nomodule_skeleton module"\r
-            VALUE "FileVersion", "5, 0, 0, 0"\r
-            VALUE "InternalName", "nomodule_skeleton module"\r
-            VALUE "LegalCopyright", "Copyright (C) 2007"\r
-            VALUE "OriginalFilename", "nomodule_skeleton.dll"\r
-            VALUE "ProductName", " nomodule_skeleton"\r
-            VALUE "ProductVersion", "5, 0, 0, 0"\r
-        END\r
-    END\r
-    BLOCK "VarFileInfo"\r
-    BEGIN\r
-        VALUE "Translation", 0x40c, 1200\r
-    END\r
-END\r
-\r
-#endif    // French (France) resources\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-\r
-\r
-#ifndef APSTUDIO_INVOKED\r
-/////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Generated from the TEXTINCLUDE 3 resource.\r
-//\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-#endif    // not APSTUDIO_INVOKED\r
-\r
index 22df56f..ad90e3b 100644 (file)
@@ -2,9 +2,9 @@
 <VisualStudioProject\r
        ProjectType="Visual C++"\r
        Version="8,00"\r
-       Name="nomodule_skeleton"\r
+       Name="noaction_binding"\r
        ProjectGUID="{6880943E-80BA-480B-A595-89B2C3BE14A8}"\r
-       RootNamespace="nomodule_skeleton"\r
+       RootNamespace="noaction_binding"\r
        Keyword="Win32Proj"\r
        >\r
        <Platforms>\r
@@ -59,7 +59,7 @@
                        <Tool\r
                                Name="VCPreLinkEventTool"\r
                                Description="Make dependencies"\r
-                               CommandLine="if NOT EXIST LibScilab.lib 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;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n nomodule_skeleton.dll %%f &gt;nul&#x0D;&#x0A;copy *.def nomodule_skeletontmp.def &gt;nul&#x0D;&#x0A;copy ..\nomodule_skeleton_header.def+nomodule_skeletontmp.def  ..\nomodule_skeleton.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                               CommandLine="if NOT EXIST LibScilab.lib 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;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noaction_binding.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noaction_bindingtmp.def &gt;nul&#x0D;&#x0A;copy ..\noaction_binding_header.def+noaction_bindingtmp.def  ..\noaction_binding.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
@@ -67,7 +67,7 @@
                                AdditionalDependencies="LibScilab.lib"\r
                                OutputFile="../../../../bin/$(ProjectName).dll"\r
                                LinkIncremental="1"\r
-                               ModuleDefinitionFile="nomodule_skeleton.def"\r
+                               ModuleDefinitionFile="noaction_binding.def"\r
                                GenerateDebugInformation="true"\r
                                SubSystem="2"\r
                                TargetMachine="1"\r
                        <Tool\r
                                Name="VCPreLinkEventTool"\r
                                Description="Make dependencies"\r
-                               CommandLine="if NOT EXIST LibScilab.lib 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;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n nomodule_skeleton.dll %%f &gt;nul&#x0D;&#x0A;copy *.def nomodule_skeletontmp.def &gt;nul&#x0D;&#x0A;copy ..\nomodule_skeleton_header.def+nomodule_skeletontmp.def  ..\nomodule_skeleton.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                               CommandLine="if NOT EXIST LibScilab.lib 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;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n noaction_binding.dll %%f &gt;nul&#x0D;&#x0A;copy *.def noaction_bindingtmp.def &gt;nul&#x0D;&#x0A;copy ..\noaction_binding_header.def+noaction_bindingtmp.def  ..\noaction_binding.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                                AdditionalDependencies="LibScilab.lib"\r
                                OutputFile="../../../../bin/$(ProjectName).dll"\r
                                LinkIncremental="1"\r
-                               ModuleDefinitionFile="nomodule_skeleton.def"\r
+                               ModuleDefinitionFile="noaction_binding.def"\r
                                GenerateDebugInformation="false"\r
                                SubSystem="2"\r
                                OptimizeReferences="2"\r
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"\r
                        >\r
                        <File\r
-                               RelativePath=".\nomodule_skeleton.c"\r
+                               RelativePath=".\noaction_binding.c"\r
                                >\r
                        </File>\r
                </Filter>\r
                        UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"\r
                        >\r
                        <File\r
-                               RelativePath=".\nomodule_skeleton.rc"\r
+                               RelativePath=".\noaction_binding.rc"\r
                                >\r
                        </File>\r
                </Filter>\r
index eae747f..e69de29 100644 (file)
@@ -1,14 +0,0 @@
-//{{NO_DEPENDENCIES}}\r
-// Microsoft Visual C++ generated include file.\r
-// Used by module_skeleton.rc\r
-\r
-// Next default values for new objects\r
-// \r
-#ifdef APSTUDIO_INVOKED\r
-#ifndef APSTUDIO_READONLY_SYMBOLS\r
-#define _APS_NEXT_RESOURCE_VALUE        101\r
-#define _APS_NEXT_COMMAND_VALUE         40001\r
-#define _APS_NEXT_CONTROL_VALUE         1001\r
-#define _APS_NEXT_SYMED_VALUE           101\r
-#endif\r
-#endif\r