]> OCCT Git - occt-wok.git/commitdiff
Initial revision
authorcas <cas@opencascade.com>
Fri, 22 Oct 1999 18:05:40 +0000 (18:05 +0000)
committercas <cas@opencascade.com>
Fri, 22 Oct 1999 18:05:40 +0000 (18:05 +0000)
23 files changed:
src/WOKBuilderDef/ARX.edl [new file with mode: 0755]
src/WOKBuilderDef/CDLTranslate.edl [new file with mode: 0755]
src/WOKBuilderDef/CMPLRS.edl [new file with mode: 0755]
src/WOKBuilderDef/CMPLRS_wnt.awk [new file with mode: 0755]
src/WOKBuilderDef/CODEGEN.edl [new file with mode: 0755]
src/WOKBuilderDef/COMMAND.edl [new file with mode: 0755]
src/WOKBuilderDef/CPP.edl [new file with mode: 0755]
src/WOKBuilderDef/CPPCLIENT.edl [new file with mode: 0755]
src/WOKBuilderDef/CPPENG.edl [new file with mode: 0755]
src/WOKBuilderDef/CPPINT.edl [new file with mode: 0755]
src/WOKBuilderDef/CSF.edl [new file with mode: 0755]
src/WOKBuilderDef/CSFDBSCHEMA.edl [new file with mode: 0755]
src/WOKBuilderDef/FILES [new file with mode: 0755]
src/WOKBuilderDef/LD.edl [new file with mode: 0755]
src/WOKBuilderDef/LDAR.edl [new file with mode: 0755]
src/WOKBuilderDef/LDEXE.edl [new file with mode: 0755]
src/WOKBuilderDef/LDSHR.edl [new file with mode: 0755]
src/WOKBuilderDef/LIB.edl [new file with mode: 0755]
src/WOKBuilderDef/LINK.edl [new file with mode: 0755]
src/WOKBuilderDef/LINKSHR.edl [new file with mode: 0755]
src/WOKBuilderDef/STUBS.edl [new file with mode: 0755]
src/WOKBuilderDef/TCPP.edl [new file with mode: 0755]
src/WOKBuilderDef/USECONFIG.edl [new file with mode: 0755]

diff --git a/src/WOKBuilderDef/ARX.edl b/src/WOKBuilderDef/ARX.edl
new file mode 100755 (executable)
index 0000000..b17584b
--- /dev/null
@@ -0,0 +1,21 @@
+-- File:       ARX.edl
+-- Author:     Jean GAUTIER
+-- History:    Tue Aug  6 11:12:26 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %ARX_EDL) then
+@set %ARX_EDL = "";
+
+@set %ARX_Template       = "ARX_CmdLine";
+
+@set %ARX_ListCommand    = "ar t";
+
+@set %ARX_ExtractCommand = "ar x";
+
+@template ARX_CmdLine ( %ARX_ListCommand, %ARX_ExtractCommand, %OutputDir, %TmpFile, %Archive) is
+$ %ARX_ListCommand %Archive > %TmpFile
+$ cd %OutputDir
+$ %ARX_ExtractCommand %Archive 
+@end;
+
+@endif;
diff --git a/src/WOKBuilderDef/CDLTranslate.edl b/src/WOKBuilderDef/CDLTranslate.edl
new file mode 100755 (executable)
index 0000000..b9864fb
--- /dev/null
@@ -0,0 +1,25 @@
+-- File:       CDLTranslate.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 16:12:23 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %CDLTranslate_EDL) then
+@set %CDLTranslate_EDL = "";
+
+@if ( %Station != "wnt" ) then
+@if ( %LocalArch != "hp" ) then
+  @set %CDLTranslate_SHARED = "libCDLFront.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CDLTranslate_SHARED = "libCDLFront.sl";
+@endif;
+@else
+  @set %CDLTranslate_SHARED = "CDLFront.dll";
+@endif;
+
+@set %CDLTranslate_NAME   = "CDLTranslate";
+
+@endif;
+
+
diff --git a/src/WOKBuilderDef/CMPLRS.edl b/src/WOKBuilderDef/CMPLRS.edl
new file mode 100755 (executable)
index 0000000..b9bea08
--- /dev/null
@@ -0,0 +1,520 @@
+-- File:       CMPLRS.edl
+-- Author:     Jean GAUTIER
+-- History:    Mon Feb 19 12:04:00 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+
+
+@ifnotdefined ( %CMPLRS_EDL ) then
+@set %CMPLRS_EDL = "";
+
+@set %CMPLRS_C_Template     = "CmdLine";
+@set %CMPLRS_C_Extensions   = "toto.c";
+
+@set %CMPLRS_Tools = "CMPLRS_C CMPLRS_CXX";
+
+@if ( %Station == "wnt" ) then
+
+       @set %CMPLRS_CXX_Extensions = "toto.cxx toto.cpp";
+       @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
+       $ %BaseName.obj %BaseName.m
+       @end;
+       @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
+       $ %BaseName.obj %BaseName.m
+       @end;
+@else
+
+        @string %CMPLRS_Tools += " CMPLRS_F77";
+
+       @set %CMPLRS_F77_Template = "CmdLine";
+
+       @set %CMPLRS_CXX_Extensions = "toto.cxx toto.C";
+
+       @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
+       $ %BaseName.o %BaseName.m
+       @end;
+       @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
+       $ %BaseName.o %BaseName.m
+       @end;
+       @set %CMPLRS_F77_Extensions = "toto.f ";
+       @template CMPLRS_F77_Production ( %OutputDir, %BaseName ) is
+       $ %BaseName.o %BaseName.m
+       @end;
+@endif;
+
+@set %CMPLRS_CXX_Template   = "CmdLine";
+
+-- Definition du Template -I
+--
+
+@template CMPLRS_IncDirective (%IncDirectory) is
+$ -I%IncDirectory \
+@end;
+
+@if( %Station == "sun" ) then
+  @template CMPLRS_DBDirective (%DBDirectory) is
+    $ -ptr%DBDirectory \
+  @end;
+@endif;
+
+@if( %Station == "ao1" ) then
+  @template CMPLRS_DBDirective (%DBDirectory) is
+    $ -ptr%DBDirectory/cxx_repository \
+  @end;
+@endif;
+
+@if( %Station == "hp" ) then
+  @template CMPLRS_DBDirective (%DBDirectory) is
+    $ -ptr%DBDirectory/ptrepository \
+  @end;
+@endif;
+
+@if (%DBMS == "DFLT") then
+@set %DBMSOpt = "-DCSFDB";
+@endif;
+
+@ifnotdefined ( %DebugMode ) then
+@set %DebugMode = "False";
+@endif;
+
+@template CMPLRS_F77_OptLine ( %CMPLRS_F77_Command, %CMPLRS_F77_Options, %CMPLRS_F77_ModeOpt, %IncDirectives ) is
+
+  $F77 compiler: \^
+  $%CMPLRS_F77_Command %CMPLRS_F77_Options   %CMPLRS_F77_ModeOpt \
+  $%IncDirectives -c <Source.f> -o <Object.o>
+@end;
+
+@template CMPLRS_F77_CmdLine ( %CMPLRS_F77_Command, %CMPLRS_F77_Options, %CMPLRS_F77_ModeOpt, %IncDirectives, 
+                              %Source,  %BaseName, %OutputDir, %TmpFile ) is 
+  $%CMPLRS_F77_Command %CMPLRS_F77_ModeOpt %CMPLRS_F77_Options -c %Source -o %OutputDir/%BaseName.o
+  $set cmplrs_status = $status
+  $if ( $status == 0 ) then
+  $ touch %OutputDir/%BaseName.m
+  $endif
+@end;
+
+
+-- Templates SUN/Solaris 2.4 Sparc Compilers 3.1
+
+@if ( %Station == "sun" ) then
+
+       @if ( %DebugMode == "True" ) then
+               @set %CMPLRS_CXX_ModeOpt = "-g0 -DDEB";
+               @set %CMPLRS_C_ModeOpt   = "-g0 -DDEB";
+               @set %CMPLRS_F77_ModeOpt = "-g";
+       @endif;
+
+
+       @if ( %DebugMode == "False" ) then
+               @set %CMPLRS_CXX_ModeOpt = "-O2 -DNo_Exception ";
+               @set %CMPLRS_C_ModeOpt   = "-O2 -DNo_Exception ";
+               @set %CMPLRS_F77_ModeOpt = "-O2";
+       @endif;
+
+       -- Options du Fortran 77
+       @set %CMPLRS_F77_Command = "f77 ";
+       @set %CMPLRS_F77_Options = "-PIC";
+
+       @if ( %DBMS == "OBJS" ) then
+               @set %CMPLRS_CXX_DBMSOpt = "-mt -vdelx -DOBJS -I/PRODUCTS/OS5.0/sunpro/include";
+       @endif;
+
+       @if ( %DBMS == "DFLT" ) then
+               @set %CMPLRS_CXX_DBMSOpt = "-mt -vdelx -DCSFDB";
+       @endif;
+
+       @set %CMPLRS_C_Command = "/opt/DEV5_1/SUNWspro/bin/cc -K PIC";
+       @set %CMPLRS_C_Options = "-Usun -DSOLARIS";
+
+       @template CMPLRS_C_OptLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, %IncDirectives ) is
+
+         $C compiler: \^
+         $%CMPLRS_C_Command %CMPLRS_C_Options %CMPLRS_C_ModeOpt \
+         $%IncDirectives -c <Source.c> -o <Object.o>
+       @end;
+
+       @template CMPLRS_C_CmdLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, 
+                                       %IncDirectives, %DBDirectives, %Source, %BaseName, %OutputDir, %TmpFile ) is
+
+         $%CMPLRS_C_Command %CMPLRS_C_Options %DBMSOpt %ModeOpt %IncDirectives -c %Source -o %OutputDir/%BaseName.o
+         $set stat = $status
+         $if ( $stat == 0 ) then
+         $     cpp  %IncDirectives %CMPLRS_C_Options -M  %Source \^
+         $            | sed -e '1d' -e 's/.*://g' -e 's/[       *]*//g' -e 's%/./%/%g' -e 's%//%/%g' \^
+         $            | sort -u  >  %OutputDir/%BaseName.m
+         $endif
+         $set status = $stat
+       @end;
+
+       @set %CMPLRS_CXX_Command = "/opt/DEV5_1/SUNWspro/bin/CC -PIC ";
+       @set %CMPLRS_CXX_Options = "-xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION ";
+
+       @template CMPLRS_CXX_OptLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, 
+                                       %IncDirectives,  %DBDirectives) is
+
+         $C++ compiler: \^
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options  %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt -I/opt/DEV5_1/SUNWspro/SC4.2/include/CC \
+         $%IncDirectives %DBDirectives -c <Source.cxx> -o <Object.o>
+       @end;
+
+       @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt,
+                                        %IncDirectives, %DBDirectives, %Source,  %BaseName, %OutputDir, %TmpFile ) is 
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options -I/opt/DEV5_1/SUNWspro/SC4.2/include/CC \^
+         $   %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives -H -c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+         $set stat = $status
+         $if ( $stat == 0 ) then
+         $  sed -e 's/ //g' -e '/Compilation failed/d' -e '/:/d' -e 's%/\./%/%g'  -e 's%//%/%g' %TmpFile \^
+         $        | grep -v 'detected.$' | sort -u  > %OutputDir/%BaseName.m
+         $endif
+         $if( -e %TmpFile ) grep ':' %TmpFile 
+         $#/bin/rm -f %TmpFile
+         $set status = $stat
+       @end;
+
+       
+
+@endif;
+
+--
+-- Templates Dec/OSF1 V3.2 Cxx V1.3
+--
+
+@if ( %Station == "ao1" ) then
+
+       -- Options du Fortran 77
+       @set %CMPLRS_F77_Command = "f77 ";
+       @set %CMPLRS_F77_Options = "-PIC";
+
+       @if ( %DebugMode == "True" ) then
+         @set %CMPLRS_CXX_ModeOpt = "-g -DDEB";
+         @set %CMPLRS_C_ModeOpt   = "-g -DDEB";
+         @set %CMPLRS_F77_ModeOpt = "-g";
+       @endif;
+
+       @if ( %DebugMode == "False" ) then
+         @set %CMPLRS_CXX_ModeOpt = "-O3 -DNo_Exception ";
+         @set %CMPLRS_C_ModeOpt   = "-O3 -DNo_Exception ";
+         @set %CMPLRS_F77_ModeOpt = "-O3";
+       @endif; 
+
+       @if ( %DBMS == "OBJS" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DOBJS -I/PRODUCTS/OS5.0/include";
+       @endif;
+
+       @if ( %DBMS == "DFLT" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
+       @endif;
+
+       @set %CMPLRS_C_Command = "cc";
+       @set %CMPLRS_C_Options = "-DDECOSF1";
+
+       @template CMPLRS_C_OptLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, %IncDirectives ) is
+         $C compiler: \^
+         $%CMPLRS_C_Command %CMPLRS_C_ModeOpt  %CMPLRS_C_Options \
+         $%IncDirectives -c <Source.c> -o <Object.o>
+       @end;
+       
+       @template CMPLRS_C_CmdLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt,
+                                       %IncDirectives, %Source, %BaseName, %OutputDir, %TmpFile ) is
+
+         $%CMPLRS_C_Command %CMPLRS_C_Options %CMPLRS_C_ModeOpt %IncDirectives -c %Source -o %OutputDir/%BaseName.o
+         $set cmplrs_status = $status
+         $if ( $status == 0 ) then
+         $     cpp %IncDirectives -M %CMPLRS_C_Options %Source \^
+         $      | sed -e '1d' -e 's/.*://g' -e 's/[     *]*//g' -e 's%/\./%/%g' |  sort -u  >  %OutputDir/%BaseName.m 
+         $endif
+         $set status = $cmplrs_status
+       @end;
+
+       @set %CMPLRS_CXX_Command = "/usr/bin/cxx -shared -D__STDC__";
+       @set %CMPLRS_CXX_Options = "-I/usr/include/cxx -DDECOSF1";
+
+       @template CMPLRS_CXX_OptLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, 
+                                      %IncDirectives, %DBDirectives ) is
+         $C++ compiler: \^
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \
+         $%IncDirectives %DBDirectives -c <Source.cxx> -o <Object.o>
+       @end;
+
+       @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt,
+                                       %IncDirectives, %DBDirectives, %Source, %BaseName, %OutputDir, %TmpFile ) is
+
+         $cd %OutputDir
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives -M -c %Source -o %Object  \^
+         $  |  sed -e '1d' -e 's/.*://g' -e 's/[     *]*//g' > %TmpFile
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %IncDirectives %DBDirectives %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt -c %Source -o  %OutputDir/%BaseName.o
+         $set cmplrs_status = $status
+         $if ( $cmplrs_status  == 0 ) then
+         $     sed -e 's/      //g' -e '/Compilation failed/d' -e '/:/d' -e 's%/\./%/%g' -e 's%//%/%g' %TmpFile \^
+         $         | sort -u > %OutputDir/%BaseName.m
+         $endif
+         $rm %TmpFile
+         $set status = $cmplrs_status
+       @end;
+
+@endif;
+
+--
+-- Templates Silicon IRIX V5.3 
+--
+@if ( %Station == "sil" ) then
+
+       -- Options du Fortran 77
+       @set %CMPLRS_F77_Command = "f77 ";
+       @set %CMPLRS_F77_Options = "-n32 -mips3";
+
+       @if ( %DebugMode == "True" ) then
+         @set %CMPLRS_CXX_ModeOpt = "-g -gslim -DDEB";
+         @set %CMPLRS_C_ModeOpt   = "-g -gslim -DDEB";
+         @set %CMPLRS_F77_ModeOpt = "-g";
+       @endif;
+       @if ( %DebugMode == "False" ) then
+         @set %CMPLRS_CXX_ModeOpt = "-O3 -DNo_Exception  -D__INLINE_INTRINSICS -TARG:processor=R10000 ";
+         @set %CMPLRS_C_ModeOpt   = "-O3 -DNo_Exception -TARG:processor=R10000 ";
+         @set %CMPLRS_F77_ModeOpt = "-O3";
+       @endif;
+
+       @if ( %DBMS == "OBJS" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DOBJS -I/PRODUCTS/OS5.0/include";
+       @endif;
+       @if ( %DBMS == "DFLT" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
+       @endif;
+
+
+       @set %CMPLRS_C_Command = "cc -signed -n32 -mips3 ";
+       @set %CMPLRS_C_Options = "-DIRIX";
+
+       @template CMPLRS_C_OptLine  ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, %IncDirectives ) is
+         $C compiler: \^
+         $%CMPLRS_C_Command %CMPLRS_C_ModeOpt %CMPLRS_C_Options \
+         $%IncDirectives -c <Source.c> -o <Object.o>
+       @end;
+
+       @template CMPLRS_C_CmdLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt,
+                                    %IncDirectives, %Source, %BaseName, %OutputDir, %TmpFile ) is
+
+         $%CMPLRS_C_Command %CMPLRS_C_Options %IncDirectives %CMPLRS_C_ModeOpt -c %Source -o %OutputDir/%BaseName.o
+         $set cmplrs_status = $status
+         $if ( $cmplrs_status == 0 ) then
+         $     cpp %CMPLRS_C_Options %IncDirectives -M -DIRIX %Source | \^
+         $         sed -e '1d' -e 's/.*://g' -e 's/[    *]*//g' -e 's%/./%/%g' -e 's+//+/+g' |  sort -u  >  %OutputDir/%BaseName.m 
+         $endif
+         $set status = $cmplrs_status
+        @end;
+
+       @set %CMPLRS_CXX_Command = "/usr/bin/CC -signed -n32 -mips3 -no_prelink -woff 3115 -LANG:bool=OFF -LANG:wchar_t=OFF";
+       @set %CMPLRS_CXX_Options = "-I/usr/include/CC -DIRIX -DNO_CXX_EXCEPTION";
+
+       @template CMPLRS_CXX_OptLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, 
+                                      %IncDirectives, %DBDirectives ) is
+         $C++ compiler: \^
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \
+         $%IncDirectives %DBDirectives -MDupdate -c <Source.cxx> -o <Object.o>
+       @end;
+
+       @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, 
+                                       %IncDirectives, %DBDirectives, %Source, %BaseName, %OutputDir, %TmpFile ) is
+
+         $cd %OutputDir
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \
+         $ %IncDirectives %DBDirectives -MDupdate %TmpFile \
+         $  -c %Source -o %OutputDir/%BaseName.o
+         $set stat = $status
+         $if ( $stat == 0 ) then
+         $  cat %TmpFile  | tr ' ' '\012' | sed  -e '1d' -e 's%/./%/%g' | grep -v '^#'| sort -u > %OutputDir/%BaseName.m
+         $endif
+         $/bin/rm -f %TmpFile
+         $set status = $stat
+       @end;
+
+@endif;
+
+--
+-- Templates HP-UX 
+--
+@if ( %Station == "hp" ) then
+
+       -- Options du Fortran 77
+       @set %CMPLRS_F77_Command = "f77 ";
+       @set %CMPLRS_F77_Options = "-PIC";
+
+
+
+       @if ( %DebugMode == "True" ) then
+         @set %CMPLRS_CXX_ModeOpt = "-g -DDEB";
+         @set %CMPLRS_C_ModeOpt   = "-g -DDEB";
+         @set %CMPLRS_F77_ModeOpt = "-g";
+       @endif;
+       @if ( %DebugMode == "False" ) then
+         @set %CMPLRS_CXX_ModeOpt = "+O2 +Onomoveflops -DNo_Exception ";
+         @set %CMPLRS_C_ModeOpt   = "+O2 +Onomoveflops -DNo_Exception ";
+         @set %CMPLRS_F77_ModeOpt = "+O2 +Onomoveflops ";
+       @endif;
+
+       @if ( %DBMS == "OBJS" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DOBJS -I/PRODUCTS/OS5.0/include";
+       @endif;
+       @if ( %DBMS == "DFLT" ) then
+         @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
+       @endif;
+
+       @set %CMPLRS_C_Command = "cc +Z +DAportable +DS2.0";
+       @set %CMPLRS_C_Options = "-DHPUX";
+
+       @template CMPLRS_C_OptLine  ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, %IncDirectives ) is
+         $C compiler: \^
+         $%CMPLRS_C_Command %CMPLRS_C_ModeOpt %CMPLRS_C_Options \
+         $%IncDirectives -c <Source.c> -o <Object.o>
+       @end;
+
+       @template CMPLRS_C_CmdLine ( %CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt,
+                                    %IncDirectives, %Source, %BaseName, %OutputDir ) is
+
+         $%CMPLRS_C_Command %CMPLRS_C_Options %IncDirectives %CMPLRS_C_ModeOpt -c %Source -o %OutputDir/%BaseName.o
+         $set stat = $status
+         $if ( $stat == 0 ) then
+         $  cc %IncDirectives -E %CMPLRS_C_Options  %Source | egrep -e '^#' | awk '{print $3}' \
+         $    | sed -e 's/\"//g' -e '/^$/d'  -e 's%/./%/%g' | sort -u | grep -v %Source | grep '/' > %OutputDir/%BaseName.m
+         $endif
+         $set status = $stat
+        @end;
+
+       @set %CMPLRS_CXX_Command = "/opt/aCC/bin/aCC +Z +DAportable +DS2.0 +eh";
+       @set %CMPLRS_CXX_Options = " -w -DHPUX -D_IOSTREAM_INIT_NOT_NEEDED ";
+
+       @template CMPLRS_CXX_OptLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, %IncDirectives ) is
+         $C++ compiler: \^
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \
+         $%IncDirectives -c <Source.cxx> -o <Object.o>
+       @end;
+
+       @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt, 
+                                      %IncDirectives, %Source, %BaseName, %OutputDir ) is
+
+         $cd %OutputDir
+         $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives  \
+         $  -c %Source -o %OutputDir/%BaseName.o
+         $set stat = $status
+         $if ( $stat == 0 ) then
+         $  /opt/aCC/bin/aCC -I/opt/aCC/include -I/opt/aCC/include/iostream %IncDirectives -E %CMPLRS_CXX_Options %CMPLRS_CXX_DBMSOpt %Source | egrep -e '^#' | awk '{print $3}' \
+         $    | sed -e 's/\"//g' -e '/^$/d' -e 's%/./%/%g' | sort -u | grep -v %Source | grep '/' > %OutputDir/%BaseName.m
+         $endif
+         $set status = $stat
+       @end;
+
+@endif;
+
+--
+-- Templates Windows NT ( Microsoft Visual C/C++ 5.0 )
+--
+
+@if ( %Station == "wnt" ) then
+
+       @if ( %DebugMode == "True" ) then
+               @set %CMPLRS_CXX_ModeOpt = "-Zi -DDEB -D_DEBUG";
+               @set %CMPLRS_C_ModeOpt   = "-Zi -DDEB -D_DEBUG";
+               @set %CMPLRS_F77_ModeOpt = "-Zi -DDEB -D_DEBUG";
+        @else
+               @set %CMPLRS_CXX_ModeOpt = "-Zi -DNDEBUG -DNo_Exception";
+               @set %CMPLRS_C_ModeOpt   = "-Zi -DNDEBUG -DNo_Exception";
+               @set %CMPLRS_F77ModeOpt  = "-Zi -DNDEBUG -DNo_Exception";
+       @endif;
+
+       @if ( %DBMS == "OBJS" ) then
+               @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
+       @endif;
+
+       @if ( %DBMS == "DFLT" ) then
+               @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
+       @endif;
+
+
+       --- SETS SYMBOL EXPORTATION BEHAVIOUR depending on the unit type
+
+       @ifdefined ( %UnitType ) then
+
+               @if (%UnitType != "executable") then
+                       @string %CMPLRS_ExportBehaviour = " -D__" %Entity "_DLL";
+               @else
+                       @set %CMPLRS_ExportBehaviour = " -DStandard_EXPORT= ";
+               @endif;
+       @endif;
+
+       @ifnotdefined ( %UnitType ) then
+               @set %CMPLRS_ExportBehaviour = "";
+       @endif;
+
+
+       @set %CMPLRS_C_Command = "D:/DevTools/VStudio/VC98/bin/cl -nologo -MD -W3 -GX -Ob1";
+       @set %CMPLRS_C_Options = "-DWNT -D_WINDOWS -DWIN32";
+
+       @set %CMPLRS_PDBPrefix = " -Fd";
+
+       @template CMPLRS_C_OptLine (
+                  %CMPLRS_C_Command, %CMPLRS_C_Options,
+                  %CMPLRS_C_ModeOpt, %IncDirectives, %CMPLRS_ExportBehaviour, %PDBName ) is
+        $C compiler: \^
+        $%CMPLRS_C_Command %CMPLRS_C_ModeOpt %CMPLRS_C_Options %CMPLRS_ExportBehaviour
+        $%IncDirectives -c <source.c> -Fo<object.obj> -Fd%PDBName
+       @end;
+               
+       @template CMPLRS_C_CmdLine (
+                  %CMPLRS_C_Command, %CMPLRS_C_Options,
+                  %CMPLRS_C_ModeOpt, 
+                  %IncDirectives, %PDBName,
+                  %Source, %BaseName, %OutputDir, %TmpFile, %CMPLRS_ExportBehaviour
+                 ) is
+        $cd %TEMP%;
+        $%CMPLRS_C_Command %CMPLRS_C_Options %CMPLRS_ExportBehaviour %IncDirectives %CMPLRS_C_ModeOpt -P -Tc %Source;
+        $@cmd /c "awk -f %WOKHOME%\lib\CMPLRS_wnt.awk %BaseName.i | grep -v %BaseName.c > %OutputDir%BaseName.m";
+        $%CMPLRS_C_Command %CMPLRS_C_Options %CMPLRS_ExportBehaviour\^
+         $  %IncDirectives %CMPRS_C_ModeOpt \^
+        $ -Fd%PDBName -c -Tc %Source -Fo%OutputDir%BaseName.obj;
+        $@del %BaseName.i
+       @end;
+
+       @set %CMPLRS_CXX_Command = "D:/DevTools/VStudio/VC98/bin/cl -nologo -MD -W3 -GX -Ob1";
+       @set %CMPLRS_CXX_Options = "-DWNT -D_WINDOWS -DWIN32";
+
+       @template CMPLRS_CXX_OptLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt,
+                                      %IncDirectives, %CMPLRS_ExportBehaviour, %PDBName) is
+        $C++ compiler: \^
+        $%CMPLRS_CXX_Command %CMPLRS_CXX_ModeOpt %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_Options %CMPLRS_ExportBehaviour
+        $%IncDirectives -c <source.c> -Fo<object.obj> -Fd %PDBName
+       @end;
+
+               
+
+       @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt, %CMPLRS_CXX_DBMSOpt,
+                  %IncDirectives, %PDBName, %Source, %BaseName, %OutputDir, %TmpFile, %CMPLRS_ExportBehaviour ) is
+        $cd %TEMP%;
+        $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_ExportBehaviour %IncDirectives %CMPLRS_CXX_ModeOpt %CMPLRS_CXX_DBMSOpt \^
+        $ -P -Tp %Source;
+        $@cmd /c "awk -f %WOKHOME%\lib\CMPLRS_wnt.awk %BaseName.i | grep -v %BaseName.cxx > %OutputDir%BaseName.m";
+        $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_ExportBehaviour\^
+         $  %IncDirectives %CMPLRS_CXX_ModeOpt %CMPLRS_CXX_DBMSOpt\^
+        $ -Fd%PDBName -c -Tp %Source -Fo%OutputDir%BaseName.obj;
+        $@del %BaseName.i
+       @end;
+
+@endif;
+
+@if ( defined( %UnitType ) )  then
+
+  @if ( (%UnitType == "idl" || %UnitType == "server" || %UnitType == "executable") && %Station != "wnt" ) then
+
+      @uses "ORBIX.edl";
+
+      @if ( %Station == "sun" ) then
+        @set %CMPLRS_CXX_Command = "/opt/DEV5_1/SUNWspro/bin/CC -PIC  ";
+      @endif;
+
+      @string %CMPLRS_CXX_Options += " -I" %ORBIX_Home "/include";
+
+  @endif;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/CMPLRS_wnt.awk b/src/WOKBuilderDef/CMPLRS_wnt.awk
new file mode 100755 (executable)
index 0000000..115b242
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN {
+       FS="\"[ \t]*";
+}
+/#line 1 / {
+       gsub("[\\]","/",$2);
+       gsub("//","/", $2);
+       print $2
+}
diff --git a/src/WOKBuilderDef/CODEGEN.edl b/src/WOKBuilderDef/CODEGEN.edl
new file mode 100755 (executable)
index 0000000..c114355
--- /dev/null
@@ -0,0 +1,79 @@
+-- File:       CODEGEN.edl
+-- Author:     Jean GAUTIER
+-- History:    Thu Jul 11 17:31:05 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %CODEGEN_EDL) then
+@set %CODEGEN_EDL = "";
+
+@set %CODEGEN_Tools = "CODEGEN_LEX CODEGEN_YACC";
+
+@set %CODEGEN_LEX_Template    = "CODEGEN_LEX_CmdLine";
+@set %CODEGEN_LEX_Extensions  = "toto.lex";
+
+@set %CODEGEN_YACC_Template   = "CODEGEN_YACC_CmdLine";
+@set %CODEGEN_YACC_Extensions = "toto.yacc";
+
+@if ( %Station != "wnt" ) then
+@set %CODEGEN_FlexBisHome = "/PRODUCTS/flexbis-253-125";
+
+@template CODEGEN_LEX_Production ( %BaseName ) is
+$lex.%BaseName.c
+@end;
+
+@template CODEGEN_LEX_OptLine  (%CODEGEN_FlexBisHome) is
+$%CODEGEN_FlexBisHome/bin/flex -f -P <Module>  -L -8 -f <LexFile>
+@end;
+
+@template CODEGEN_LEX_CmdLine  ( %CODEGEN_FlexBisHome, %Source, %BaseName, %OutputDir ) is
+$cd %OutputDir
+$%CODEGEN_FlexBisHome/bin/flex -f -P%BaseName  -L -8 -f %Source
+@end;
+
+
+@template CODEGEN_YACC_Production ( %CODEGEN_FlexBisHome, %BaseName ) is
+$%BaseName.tab.h %BaseName.tab.c
+@end;
+
+@template CODEGEN_YACC_OptLine (%CODEGEN_FlexBisHome) is
+$%CODEGEN_FlexBisHome/bin/bison -d -b <Module> -p <Module> <YaccFile>
+@end;
+
+@template CODEGEN_YACC_CmdLine ( %CODEGEN_FlexBisHome, %Source, %BaseName, %OutputDir ) is
+$cd %OutputDir
+$%CODEGEN_FlexBisHome/bin/bison -d -b %BaseName -p %BaseName %Source
+@end;
+@else
+
+@template CODEGEN_LEX_Production ( %BaseName ) is
+$lex.%BaseName.c
+@end;
+
+@template CODEGEN_LEX_OptLine  (%CODEGEN_LEX_CmdPath) is
+$%CODEGEN_LEX_CmdPath -f -P <Module>  -L -8 -f <LexFile>
+@end;
+
+@set %CODEGEN_LEX_CmdPath = "%WOKHOME%/lib/wnt/flex";
+
+@template CODEGEN_LEX_CmdLine  ( %CODEGEN_LEX_CmdPath, %Source, %BaseName, %OutputDir ) is
+$cd %OutputDir;
+$%CODEGEN_LEX_CmdPath -P%BaseName -L -8 -f %Source
+@end;
+
+@template CODEGEN_YACC_Production ( %BaseName ) is
+$%BaseName.tab.h %BaseName.tab.c
+@end;
+
+@set %CODEGEN_YACC_CmdPath = "%WOKHOME%/lib/wnt/bison";
+
+@template CODEGEN_YACC_OptLine (%CODEGEN_YACC_CmdPath) is
+$%CODEGEN_YACC_CmdPath -d -b <Module> -p <Module> <YaccFile>
+@end;
+
+@template CODEGEN_YACC_CmdLine (%CODEGEN_YACC_CmdPath, %Source, %BaseName, %OutputDir ) is
+$cd %OutputDir;
+$%CODEGEN_YACC_CmdPath -d -b %BaseName -p %BaseName %Source
+@end;
+
+@endif;
+@endif;
diff --git a/src/WOKBuilderDef/COMMAND.edl b/src/WOKBuilderDef/COMMAND.edl
new file mode 100755 (executable)
index 0000000..bc3f09d
--- /dev/null
@@ -0,0 +1,217 @@
+-- File:       COMMAND.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 16:16:40 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %COMMAND_EDL ) then
+@set %COMMAND_EDL = ""; 
+
+@if ( %Station != "wnt" ) then
+@if ( %Station != "hp" ) then
+  @set %COMMAND_CPCmd = "/usr/bin/cp";
+  @set %COMMAND_CHMODCmd = "/usr/bin/chmod";
+  @set %COMMAND_MVCmd = "/usr/bin/mv";
+  @set %COMMAND_RMCmd = "/usr/bin/rm";
+  @set %COMMAND_CMPCmd = "/usr/bin/cmp";
+@endif;
+
+@if ( %Station == "hp" ) then
+  @set %COMMAND_CPCmd = "/bin/cp";
+  @set %COMMAND_CHMODCmd = "/bin/chmod";
+  @set %COMMAND_MVCmd = "/bin/mv";
+  @set %COMMAND_RMCmd = "/bin/rm";
+  @set %COMMAND_CMPCmd = "/bin/cmp";
+@endif;
+
+
+@template COMMAND_Copy ( %COMMAND_CPCmd, %Source, %Dest )  is
+$ %COMMAND_CPCmd %Source %Dest 
+@end;
+
+@template COMMAND_PreserveCopy ( %COMMAND_CPCmd, %Source, %Dest )  is
+$ %COMMAND_CPCmd -p %Source %Dest 
+@end;
+
+@template COMMAND_CopyAndChmod ( %COMMAND_CPCmd,%COMMAND_CHMODCmd , %Source, %Dest )  is
+$ %COMMAND_CPCmd %Source %Dest 
+$ %COMMAND_CHMODCmd u+w %Dest
+@end;
+
+@template COMMAND_PreserveCopyAndChmod ( %COMMAND_CPCmd,%COMMAND_CHMODCmd , %Source, %Dest )  is
+$ %COMMAND_CPCmd -p %Source %Dest 
+$ %COMMAND_CHMODCmd u+w %Dest
+@end;
+
+@template COMMAND_PreserveCopyAndChmodExecute ( %COMMAND_CPCmd,%COMMAND_CHMODCmd , %Source, %Dest )  is
+$ %COMMAND_CPCmd -p %Source %Dest 
+$ %COMMAND_CHMODCmd u+w %Dest
+$ %COMMAND_CHMODCmd +x %Dest
+@end;
+
+@template COMMAND_CopyAndChmodRecursive ( %COMMAND_CPCmd, %COMMAND_CHMODCmd, %Source, %Dest )  is
+$ %COMMAND_CPCmd -pr %Source %Dest 
+$ %COMMAND_CHMODCmd -R u+w %Dest
+@end;
+
+@template COMMAND_Move (%COMMAND_MVCmd, %Source, %Dest )  is
+$ %COMMAND_MVCmd %Source %Dest 
+@end;
+
+@template COMMAND_ReplIfCh ( %Source, %COMMAND_CMPCmd, %COMMAND_MVCmd, %COMMAND_RMCmd, %Dest ) is
+$ %COMMAND_CMPCmd -s %Source %Dest 
+$ set stat = $status
+$ if ( $stat == 1 ) then 
+$    %COMMAND_MVCmd %Source %Dest 
+$    if ( $status != 0 ) then 
+$      set stat = 2
+$    endif
+$ else
+$    %COMMAND_RMCmd %Source
+$ endif
+$ set status = $stat
+@end;
+
+@template COMMAND_ReplIfChWith ( %Source, %Base, %COMMAND_MVCmd, %COMMAND_CMPCmd, %COMMAND_RMCmd, %Dest ) is
+$ %COMMAND_CMPCmd -s %Source %Base 
+$ set stat = $status
+$ if ( $stat == 1 ) then 
+$    %COMMAND_MVCmd %Source %Dest 
+$    if ( $status != 0 ) set stat = 2
+$ endif
+$ if ( $stat == 0 ) then 
+$    %COMMAND_RMCmd %Source
+$ endif
+$ set status = $stat
+@end;
+
+
+@template COMMAND_CopyIfCh ( %COMMAND_CPCmd, %COMMAND_CMPCmd, %Source, %Dest ) is
+$ %COMMAND_CMPCmd -s %Source %Dest 
+$ set stat = $status
+$ if ( $stat != 0 ) then
+$    set stat = 1 
+$    %COMMAND_CPCmd -p %Source %Dest 
+$    if ( $status != 0 ) then 
+$      set stat = 2
+$    endif
+$ endif
+$ set status = $stat
+@end;
+
+@set %CompressPath   = "/usr/bin/compress";
+@set %UnCompressPath = "/usr/bin/uncompress";
+
+
+@if ( %Station == "sil" ) then 
+       @set %CompressPath   = "/usr/bsd/compress";
+       @set %UnCompressPath = "/usr/bsd/uncompress";
+@endif;
+
+
+@template COMMAND_Compress ( %CompressPath, %File ) is
+$ %CompressPath -f %File 
+@end;
+
+@template COMMAND_CompressTo ( %CompressPath, %File, %Dest ) is
+$ cat %File | %CompressPath -f > %Dest
+@end;
+
+@template COMMAND_UnCompress ( %UnCompressPath, %File, %Dest  ) is
+$ %UnCompressPath -f %File 
+@end;
+
+@template COMMAND_UnCompressTo ( %UnCompressPath, %File, %Dest ) is
+$ set stat = 1
+$ %UnCompressPath -c %File > %Dest
+@end;
+
+@template COMMAND_CompressName ( %File ) is
+$%File.Z\^
+@end;
+
+
+@else
+
+
+
+@template COMMAND_Copy ( %Source, %Dest )  is
+$ wokCP %Source %Dest 
+@end;
+
+@template COMMAND_PreserveCopy ( %Source, %Dest )  is
+$ wokCP -p %Source %Dest 
+@end;
+
+@template COMMAND_PreserveCopyAndChmod ( %Source, %Dest )  is
+---JGA$ wokCHMOD -R u+w %Dest;
+$ wokCP -p %Source %Dest;
+---JGA$ wokCHMOD a+rx %Dest
+@end;
+
+@template COMMAND_PreserveCopyAndChmodExecute ( %Source, %Dest )  is
+$ wokCP -p %Source %Dest;
+@end;
+
+@template COMMAND_CopyAndChmod ( %Source, %Dest )  is
+---JGA$ wokCHMOD -R u+w %Dest;
+$ wokCP -p %Source %Dest;
+---JGA$ wokCHMOD a+rx %Dest
+@end;
+
+@template COMMAND_CopyAndChmodRecursive ( %Source, %Dest )  is
+---JGA$ wokCHMOD -R u+w %Dest;
+$ wokCP -pr %Source %Dest;
+---JGA$ wokCHMOD -R a+rx %Dest;
+@end;
+
+@template COMMAND_Move ( %Source, %Dest )  is
+$ wokMV %Source %Dest 
+@end;
+
+@template COMMAND_ReplIfCh ( %Source, %Dest ) is
+$ wokReplIfCh %Source %Dest
+@end;
+
+@template COMMAND_ReplIfChWith ( %Source, %Base, %Dest ) is
+$ wokReplIfChWith %Source %Base %Dest
+@end;
+
+
+@template COMMAND_CopyIfCh ( %Source, %Dest ) is
+$ wokCopyIfCh %Source %Dest
+@end;
+
+@set %CompressPath   = "/usr/bin/compress";
+@set %UnCompressPath = "/usr/bin/uncompress";
+
+
+@if ( %Station == "sil" ) then 
+       @set %CompressPath   = "/usr/bsd/compress";
+       @set %UnCompressPath = "/usr/bsd/uncompress";
+@endif;
+
+
+@template COMMAND_Compress ( %CompressPath, %File ) is
+$ %CompressPath -f %File 
+@end;
+
+@template COMMAND_CompressTo ( %CompressPath, %File, %Dest ) is
+$ cat %File | %CompressPath -f > %Dest
+@end;
+
+@template COMMAND_UnCompress ( %UnCompressPath, %File, %Dest  ) is
+$ %UnCompressPath -f %File 
+@end;
+
+@template COMMAND_UnCompressTo ( %UnCompressPath, %File, %Dest ) is
+$ set stat = 1
+$ %UnCompressPath -c %File > %Dest
+@end;
+
+@template COMMAND_CompressName ( %File ) is
+$%File.Z\^
+@end;
+
+@endif;
+@endif;
+
diff --git a/src/WOKBuilderDef/CPP.edl b/src/WOKBuilderDef/CPP.edl
new file mode 100755 (executable)
index 0000000..10f81c6
--- /dev/null
@@ -0,0 +1,23 @@
+-- File:       CPP.edl
+-- Author:     Jean GAUTIER
+-- History:    Thu Feb 29 12:17:05 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %CPP_EDL) then
+@set %CPP_EDL = "";
+
+@if ( %LocalArch != "hp" ) then
+  @set %CPP_Shared   = "libCPPExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CPP_Shared   = "libCPPExt.sl";
+@endif;
+
+@if ( %LocalArch == "wnt" ) then
+  @set %CPP_Shared   = "CPPExt.dll";
+@endif;
+
+@set %CPP_Name     = "CPP";
+
+@endif;
diff --git a/src/WOKBuilderDef/CPPCLIENT.edl b/src/WOKBuilderDef/CPPCLIENT.edl
new file mode 100755 (executable)
index 0000000..a585969
--- /dev/null
@@ -0,0 +1,35 @@
+-- File:       CPPCLIENT.edl
+-- Author:     Jean GAUTIER
+-- History:    Wed Apr 10 17:44:37 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %CPPCLIENT_EDL) then
+@set %CPPCLIENT_EDL = "";
+
+@if ( %Station != "wnt" ) then
+@if ( %LocalArch != "hp" ) then
+  @set %CPPCLIENT_SHARED   = "libCPPClient.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CPPCLIENT_SHARED   = "libCPPClient.sl";
+@endif;
+
+@set %CPPCLIENT_TMPLDIRS = "/home/wb/kl/nw/prod/CPPClient/src";
+@set %CPPCLIENT_NAME     = "CPPClient";
+
+@if ( %LocalArch != "hp" ) then
+  @set %CPPCLIENT_Shared   = "libCPPClient.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CPPCLIENT_Shared   = "libCPPClient.sl";
+@endif;
+
+@else
+  @set %CPPCLIENT_Shared   = "CPPClient.dll";
+@endif;
+
+@set %CPPCLIENT_Name   = "CPPClient";
+
+@endif;
diff --git a/src/WOKBuilderDef/CPPENG.edl b/src/WOKBuilderDef/CPPENG.edl
new file mode 100755 (executable)
index 0000000..9ccb439
--- /dev/null
@@ -0,0 +1,32 @@
+-- File:       CPPENG.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 16:36:32 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@if ( %Station != "wnt" ) then
+@if ( %LocalArch != "hp" ) then
+  @string %CPPENG_SHARED   = "libCPPIntExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @string %CPPENG_SHARED   = "libCPPIntExt.sl";
+@endif;
+
+@set    %CPPENG_TMPLDIRS = "/home/wb/kl/nw/prod/CPPIntExt/src";
+@set    %CPPENG_NAME     = "CPPEng";
+
+@if ( %LocalArch != "hp" ) then
+  @string %CPPENG_Shared   = "libCPPIntExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @string %CPPENG_Shared   = "libCPPIntExt.sl";
+@endif;
+
+
+@else
+  @string %CPPENG_Shared   = "CPPIntExt.dll";
+
+@endif;
+
+@set    %CPPENG_Name     = "CPPEng";
diff --git a/src/WOKBuilderDef/CPPINT.edl b/src/WOKBuilderDef/CPPINT.edl
new file mode 100755 (executable)
index 0000000..2c56dcb
--- /dev/null
@@ -0,0 +1,33 @@
+-- File:       CPPINT.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 16:38:54 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@if ( %Station != "wnt" ) then
+
+@if ( %LocalArch != "hp" ) then
+  @set %CPPINT_SHARED   = "libCPPIntExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CPPINT_SHARED   = "libCPPIntExt.sl";
+@endif;
+
+@set %CPPINT_TMPLDIRS = "/home/wb/kl/nw/prod/CPPIntExt/src";
+@set %CPPINT_NAME     = "CPPInt";
+
+@if ( %LocalArch != "hp" ) then
+  @set %CPPINT_Shared = "libCPPIntExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %CPPINT_Shared = "libCPPIntExt.sl";
+@endif;
+
+@else
+
+  @set %CPPINT_Shared = "CPPIntExt.dll";
+
+@endif;
+
+@set %CPPINT_Name   = "CPPInt";
diff --git a/src/WOKBuilderDef/CSF.edl b/src/WOKBuilderDef/CSF.edl
new file mode 100755 (executable)
index 0000000..1031c1d
--- /dev/null
@@ -0,0 +1,64 @@
+-- File:       CSF.edl
+-- Author:     Jean GAUTIER
+-- History:    Thu Mar 14 19:28:20 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %CSF_EDL) then
+@set %CSF_EDL = "";
+
+@set %CSF_SOCKETLibs  = "";
+
+@set %CSF_OODBLibs = "";
+@set %CSF_STANDARDDB = "StandardTRAN";
+
+@ifnotdefined ( %DBMS ) then
+  @set %DBMS = "DFLT";
+@endif;
+
+@set %CSF_SOCKETLibs  = "";
+
+@if ( %DBMS == "DFLT") then
+@set %CSF_STANDARDDB = "StandardCSFDB";
+@endif;
+
+@if ( %DBMS == "OBJY" ) then
+       @set %CSF_STANDARDDB = "StandardOBJY";
+@endif;
+
+@if ( %DBMS == "OBJS" ) then
+       @set %CSF_STANDARDDB = "StandardOBJS";
+@endif;
+
+@if ( %Station == "sun" ) then
+       @if ( %DBMS == "OBJS" ) then
+               @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/sunpro/lib/ -los -losthr -loscol -losmop";
+       @endif;
+       @set %CSF_SOCKETLibs  = " -lsocket -lnsl";
+       @set %CSF_TclLibs = "-L/usr/tcltk/lib -R /usr/tcltk/lib -ltcl7.5i"; 
+@endif;
+
+
+
+@if ( %Station == "ao1" ) then
+       @if ( %DBMS == "OBJS" ) then
+               @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop";
+       @endif;
+       @set %CSF_TclLibs = "-L/usr/tcltk/lib -rpath /usr/tcltk/lib -ltcl7.5i"; 
+@endif;
+
+@if ( %Station == "sil" ) then
+       @if ( %DBMS == "OBJS" ) then
+               @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.3/lib/ -los -losths -loscol -losmop";
+       @endif;
+       @set %CSF_TclLibs = "-L/usr/tcltk/lib -rpath /usr/tcltk/lib -ltcl7.5i"; 
+@endif;
+
+@if ( %Station == "hp" ) then
+       @if ( %DBMS == "OBJS" ) then
+               @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop";
+       @endif;
+       @set %CSF_TclLibs = "-L/usr/tcltk/lib -rpath /usr/tcltk/lib -ltcl7.5i"; 
+@endif;
+
+
+@endif;
diff --git a/src/WOKBuilderDef/CSFDBSCHEMA.edl b/src/WOKBuilderDef/CSFDBSCHEMA.edl
new file mode 100755 (executable)
index 0000000..3d00c29
--- /dev/null
@@ -0,0 +1,21 @@
+-- File:       CSFDBSCHEMA.edl
+-- Author:     Jean GAUTIER
+-- History:    Thu Feb 27 20:36:14 1997        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1997
+
+@ifnotdefined ( %CSFDBSCHEMA_EDL) then
+@set %CSFDBSCHEMA_EDL = "";
+
+@set %CSFDBSCHEMA_Shared   = "libCSFDBSchema.so";
+
+@if ( %Station == "hp" ) then
+        @set %CSFDBSCHEMA_Shared   = "libCSFDBSchema.sl";
+@endif;
+
+@if ( %Station == "wnt" ) then
+        @set %CSFDBSCHEMA_Shared   = "CSFDBSchema.dll";
+@endif;
+
+@set %CSFDBSCHEMA_Name     = "CSFDBSchema";
+
+@endif;
diff --git a/src/WOKBuilderDef/FILES b/src/WOKBuilderDef/FILES
new file mode 100755 (executable)
index 0000000..41ebe62
--- /dev/null
@@ -0,0 +1,22 @@
+srcinc:::CODEGEN.edl
+srcinc:::CMPLRS.edl
+srcinc:::CMPLRS_wnt.awk
+srcinc:::ARX.edl
+srcinc:::LD.edl
+srcinc:::LDSHR.edl
+srcinc:::LINKSHR.edl
+srcinc:::LDAR.edl
+srcinc:::COMMAND.edl
+srcinc:::LDEXE.edl
+srcinc:::CSF.edl
+srcinc:::CDLTranslate.edl
+srcinc:::CPP.edl
+srcinc:::CPPINT.edl 
+srcinc:::CPPCLIENT.edl
+srcinc:::CPPENG.edl 
+srcinc:::TCPP.edl
+srcinc:::LINK.edl
+srcinc:::LIB.edl
+srcinc:::STUBS.edl
+srcinc:::CSFDBSCHEMA.edl
+srcinc:::USECONFIG.edl
diff --git a/src/WOKBuilderDef/LD.edl b/src/WOKBuilderDef/LD.edl
new file mode 100755 (executable)
index 0000000..8eb4586
--- /dev/null
@@ -0,0 +1,114 @@
+-- File:       LD.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 16:57:45 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %LD_EDL ) then
+@set %LD_EDL = "";
+
+@template LD_ShortRef ( %LibName ) is
+$ -l%LibName \
+@end;
+
+@template LD_LongRef  ( %LibDir, %LibName ) is
+$ -L%LibDir -l%LibName \
+@end;
+
+
+@if( %Station == "sun" ) then
+  @template LD_DBDirective (%DBDir) is
+    $ -ptr%DBDir \
+  @end;
+@endif;
+
+@if( %Station == "ao1" ) then
+  @template LD_DBDirective (%DBDir) is
+    $ -ptr%DBDir/cxx_repository \
+  @end;
+@endif;
+
+@if( %Station == "hp" ) then
+  @template LD_DBDirective (%DBDir) is
+    $ -ptr%DBDir/ptrepository \
+  @end;
+@endif;
+
+@template LD_LibSearchPath  ( %LibDir ) is
+$ -L%LibDir \
+@end;
+
+@if( %Station != "hp" ) then 
+  @template LD_SharedFullPath ( %LibDir, %LibName ) is
+  $ %LibDir/lib%LibName.so \
+  @end;
+@endif;
+
+@if( %Station == "hp" ) then 
+  @template LD_SharedFullPath ( %LibDir, %LibName ) is
+  $ %LibDir/lib%LibName.sl \
+  @end;
+@endif;
+
+@template LD_ArchiveFullPath ( %LibDir, %LibName ) is
+$ %LibDir/lib%LibName.a \
+@end;
+
+@template LD_ObjectRef ( %ObjectPath ) is
+$ %ObjectPath \
+@end;
+
+@template LD_ExternRef ( %ExternRef ) is
+$ %ExternRef \
+@end;
+
+
+-- Definition du Link Sun/Solaris 2.4
+
+@if( %Station == "sun" ) then 
+
+  @template LD_Footer (  ) is
+      $ -lC -lthread -lc ;
+  @end;
+
+@endif;
+
+-- Definition du Link DEC/OSF1
+
+@if( %Station == "ao1") then
+
+       @template LD_Footer (  ) is
+        $ -lm -lcxx -lc;
+        $set stat = $status
+        $/usr/bin/rm -f so_locations
+        $set status = $stat
+       @end;
+
+@endif;
+
+
+-- Definition du Link Silicon Graphics
+
+
+@if( %Station == "sil" ) then
+
+       @template LD_Footer ( %Station ) is
+        $-lm ;
+        $set stat = $status
+        $/usr/bin/rm -f so_locations
+        $set status = $stat
+       @end;
+@endif;
+
+-- Definition du Link HP-UX
+
+
+@if( %Station == "hp" ) then
+
+       @template LD_Footer ( %Station ) is
+        $-L/lib -lm ;
+       @end;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/LDAR.edl b/src/WOKBuilderDef/LDAR.edl
new file mode 100755 (executable)
index 0000000..f67fbea
--- /dev/null
@@ -0,0 +1,72 @@
+-- File:       LDAR.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 17:10:04 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %LDAR_EDL ) then
+@set %LDAR_EDL = "";
+
+@ifnotdefined ( %LD_EDL ) then
+@uses "LD.edl";
+@endif;
+
+@set %LDAR_Template  = "LDAR";
+@set %LDAR_ObjectRef = "LD_ObjectRef";
+
+@template LDAR_FileName ( %LDAR_LibName ) is
+$lib%LDAR_LibName.a\^
+@end;
+
+@if( %Station != "sun" ) then
+
+  @set %RmCmd = "/usr/bin/rm"; 
+  @if ( %Station == "hp" ) then
+    @set %RmCmd = "/bin/rm"; 
+  @endif;
+
+  @set %LDAR_LibLimit = "100";
+
+  @template LDAR ( %RmCmd, %LibName, %ObjectList ) is
+   $ %RmCmd -f %LibName 
+   $ ar q %LibName \
+   $ %ObjectList 
+   $ ;
+  @end;
+
+  @template LDAR_Begin ( %RmCmd, %LibName ) is
+   $ %RmCmd -f %LibName 
+  @end;
+
+  @template LDAR_Iter ( %LibName, %ObjectList ) is
+   $ ar q %LibName \
+   $  %ObjectList  \
+   $ ;
+  @end;
+
+  @template LDAR_End ( %LibName ) is
+   $ set status = 0
+  @end;
+
+@endif;
+
+@if( %Station == "sun" ) then
+
+  @template LDAR_Begin ( %LibName ) is
+   $ /usr/bin/rm -f %LibName 
+  @end;
+
+
+  @template LDAR_Iter (%LibName,%ObjectList)  is
+   $ /opt/DEV5_1/SUNWspro/bin/CC -xar -o %LibName \
+   $ %ObjectList \
+   $ ;
+  @end;
+
+  @template LDAR_End ( %LibName ) is
+   $ set status = 0
+  @end;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/LDEXE.edl b/src/WOKBuilderDef/LDEXE.edl
new file mode 100755 (executable)
index 0000000..bddd943
--- /dev/null
@@ -0,0 +1,61 @@
+-- File:       LDEXE.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 17:06:40 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %LDEXE_EDL ) then
+@set %LDEXE_EDL = "";
+
+@ifnotdefined ( %LD_EDL ) then
+@uses "LD.edl";
+@endif;
+
+@set %LDEXE_Header          = "LDEXE_Header";
+@set %LDEXE_ObjectRef       = "LD_ObjectRef";
+@set %LDEXE_ShortRef        = "LD_ShortRef";
+@set %LDEXE_LongRef         = "LD_LongRef";
+@set %LDEXE_SharedFullPath  = "LD_SharedFullPath";
+@set %LDEXE_ArchiveFullPath = "LD_ArchiveFullPath";
+@set %LDEXE_ExternRef       = "LD_ExternRef";
+@set %LDEXE_Footer          = "LD_Footer";
+
+-- Definition du Link Sun/Solaris 2.4
+
+@if( %Station == "sun" ) then 
+
+@template LDEXE_Header ( %Target ) is
+$ /opt/DEV5_1/SUNWspro/bin/CC -xchip=ultra -xarch=v8 -dy -o %Target \
+@end;
+
+@endif;
+
+-- Definition du Link DEC/OSF1
+
+@if( %Station == "ao1") then
+
+@template LDEXE_Header ( %Target ) is
+$ /usr/bin/cxx -call_shared -msym -o %Target \
+@end;
+
+@endif;
+
+-- Definition du Link Silicon Graphics
+
+@if( %Station == "sil" ) then
+
+@template LDEXE_Header ( %Target ) is
+$ /usr/bin/CC -n32 -mips3 -Wl,-mmap -multigot -call_shared -o %Target \
+@end;
+
+@endif;
+
+@if ( %Station == "hp" ) then
+  
+ @template LDEXE_Header ( %Target ) is
+   $/opt/aCC/bin/aCC -Wl,+FPZO -Wl,-E -o %Target \
+ @end;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/LDSHR.edl b/src/WOKBuilderDef/LDSHR.edl
new file mode 100755 (executable)
index 0000000..caa60f3
--- /dev/null
@@ -0,0 +1,125 @@
+-- File:       LDSHR.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 17:04:32 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %LDSHR_EDL ) then
+@set %LDSHR_EDL = "";
+
+@ifnotdefined ( %LD_EDL ) then
+  @uses "LD.edl";
+@endif;
+
+@set %LDSHR_Header          = "LDSHR_Header";
+@set %LDSHR_ObjectRef       = "LD_ObjectRef";
+@set %LDSHR_ShortRef        = "LD_ShortRef";
+@set %LDSHR_LongRef         = "LD_LongRef";
+@set %LDSHR_SharedFullPath  = "LD_SharedFullPath";
+@set %LDSHR_ArchiveFullPath = "LDSHR_ArchiveFullPath";
+@set %LDSHR_ExternRef       = "LD_ExternRef";
+@set %LDSHR_Footer          = "LD_Footer";
+
+@if ( ( %DBMS == "OBJS" ) && ( %Station == "sun" ) ) then
+
+  @set %LDSHR_DBMSOpt = "-mt";
+
+@else
+
+  @set %LDSHR_DBMSOpt = "";
+
+@endif;
+
+
+@if ( %Station != "hp" ) then
+  @template LDSHR_FileName ( %LDSHR_LibName ) is
+   $lib%LDSHR_LibName.so\^
+  @end;
+@endif;
+
+@if ( %Station == "hp" ) then
+  @template LDSHR_FileName ( %LDSHR_LibName ) is
+   $lib%LDSHR_LibName.sl\^
+  @end;
+@endif;
+
+
+@template LDSHR_ArchiveFullPath ( %LibDir, %LibName ) is
+$ -all %LibDir/lib%LibName.a -none \
+@end;
+
+@if( %Station == "sun" ) then 
+
+  @set %LDSHR_Footer          = "LDSHR_Footer";
+
+  @set %LDSHR_ArchiveFullPath = "LDSHR_ArchiveFullPath";
+
+  @template LDSHR_ArchiveFullPath ( %LibDir, %LibName ) is
+   $\^
+  @end;
+
+  @template LDSHR_Header ( %Target, %LDSHR_DBMSOpt ) is 
+   $/opt/DEV5_1/SUNWspro/bin/CC -xchip=ultra -xarch=v8 -G %LDSHR_DBMSOpt -o %Target \
+  @end;
+
+  @template LDSHR_Footer ( ) is
+    $ -lC -lthread -lc ;
+  @end;
+
+@endif;
+
+@if( %Station == "ao1") then
+
+  @set %LDSHR_LibLimit = "1";
+
+  @template LDSHR_Header ( %LDSHR_DBMSOpt, %Target, %LogicalName ) is 
+   $cxx -shared %LDSHR_DBMSOpt -msym -o %Target -soname %LogicalName -expect_unresolved '*' \
+  @end;
+
+@endif;
+
+@if( %Station == "sil" ) then
+
+  @set %LDSHR_ObjectRef       = "LDSHR_ObjectRef";
+
+  @template LDSHR_ObjectRef ( %ObjectPath ) is
+   $\^
+  @end;
+
+  @template LDSHR_Header ( %LDSHR_DBMSOpt, %Target, %LogicalName, %LD_ObjList ) is
+   $/usr/bin/CC -n32 -mips3 -Wl,-mmap -multigot -no_prelink -ignore_unresolved -shared %LDSHR_DBMSOpt -o %Target -soname %LogicalName \
+   $  -all -objectlist %LD_ObjList -none \
+  @end;
+
+@endif;
+
+@if( %Station == "hp" ) then
+
+  @set %LDSHR_Footer          = "LDSHR_Footer";
+  @set %LDSHR_ObjectRef       = "LDSHR_ObjectRef";
+
+  @template LDSHR_Header ( %LDSHR_DBMSOpt,  %LD_ObjList, %Target, %LogicalName ) is
+    $\mv %LD_ObjList %LD_ObjList.o
+    $/opt/aCC/bin/aCC %LDSHR_DBMSOpt -b  -o %Target  \
+    $-Wl,-c%LD_ObjList.o \
+  @end;
+
+  @template LDSHR_Footer (%LD_ObjList) is
+    $;
+    $set lnk_status = $status
+    $\mv %LD_ObjList.o %LD_ObjList;
+    $set status = $lnk_status
+  @end;
+
+  @template LDSHR_ObjectRef ( %ObjectPath ) is
+    $\^
+  @end;
+
+
+  @template LDSHR_ArchiveFullPath ( %LibDir, %LibName ) is
+   $ -Wl,-Fl%LibDir/lib%LibName.a \
+  @end;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/LIB.edl b/src/WOKBuilderDef/LIB.edl
new file mode 100755 (executable)
index 0000000..02efa0c
--- /dev/null
@@ -0,0 +1,51 @@
+-- File                :       LIB.edl
+-- Author      :       Eugeny PLOTNIKOV
+-- Date                :       24-OCT-1996
+-- Copyright   :       MATRA Datavision
+-- Purpose     :       Defines tools for library management
+--                     ( Microsoft Visual C/C++ V4.1 )
+
+@ifnotdefined ( %LIB_EDL ) then
+ @set %LIB_EDL = "";
+
+ @set %LIB_LibraryOutput = "-out:";
+
+-- filename extension for library manager command file
+ @set %LIB_LibraryCFExt = ".lbr";
+
+-- filename for static library
+ @template LIB_FileName ( %LIB_LibName ) is
+       $%LIB_LibName.lib \^
+ @end;
+
+-- filename for import library
+ @template LIB_ImplibFileName ( %LIB_ImplibName ) is
+       $%LIB_ImplibName.lib\^
+ @end;
+
+-- filename for export library
+ @template LIB_ExplibFileName ( %LIB_ExplibName ) is
+       $%LIB_ExplibName.exp\^
+ @end;
+
+ @template LIB_LibraryHeaderSTATIC ( %Station ) is
+       $D:/DevTools/VStudio/VC98/bin/lib -nologo \^
+ @end;
+
+ @template LIB_LibraryEXP ( %CollectorOutput ) is
+       $%CollectorOutput.exp\^
+ @end;
+
+ @template LIB_LibraryHeaderIMPORT ( %LibraryDEFile ) is
+       $D:/DevTools/VStudio/VC98/bin/lib -nologo -def:%LibraryDEFile \^
+ @end;
+
+ @template LIB_LibrarySTATLIB ( %CollectorOutput ) is
+       $%CollectorOutput.lib\^
+ @end;
+
+ @template LIB_LibraryIMPLIB ( %CollectorOutput ) is
+       $%CollectorOutput.lib\^
+ @end;
+
+@endif;
diff --git a/src/WOKBuilderDef/LINK.edl b/src/WOKBuilderDef/LINK.edl
new file mode 100755 (executable)
index 0000000..03a3565
--- /dev/null
@@ -0,0 +1,64 @@
+-- File                :       LINK.edl
+-- Author      :       Eugeny PLOTNIKOV
+-- Date                :       23-OCT-1996
+-- Copyright   :       MATRA Datavision
+-- Purpose     :       Defines tools for link and library management
+--                     ( Microsoft Visual C/C++ V4.1 )
+
+@ifnotdefined ( %LINK_EDL ) then
+ @set %LINK_EDL = "";
+
+-- filename extension for linker command file ( DLL )
+ @set %LINK_LinkerCFExtDLL = ".lnkDLL";
+
+-- filename extension for linker command file ( EXE )
+ @set %LINK_LinkerCFExtEXE = ".lnkEXE";
+
+-- switch for linker .def file
+ @set %LINK_LinkerDEFSwitch = " -def:";
+
+ @set %LINK_LinkerImplib    = " -implib:";
+ @set %LINK_LinkerOutput    = " -out:";
+
+ @set %LinkModeOpt  = "-debug";
+
+-- Selects wether you build a CONSOLE executable or WINDOWS one
+ @set %LINK_ExeType = "CONSOLE";
+
+-- Set %LINK_NoDefStub if you do not want tu link with stub objects
+
+
+ @set %LINK_LinkerPDBOption = " -pdb:";
+
+ @template LINK_LinkerIMP ( %CollectorOutput ) is
+       $%CollectorOutput.lib\^
+ @end;
+
+ @template LINK_LinkerEXP ( %CollectorOutput ) is
+       $%CollectorOutput.exp\^
+ @end;
+
+ @template LINK_LinkerDLL ( %CollectorOutput ) is
+       $%CollectorOutput.dll\^
+ @end;
+
+ @template LINK_LinkerPDB ( %CollectorOutput ) is
+       $%CollectorOutput.pdb\^
+ @end;
+
+ @template LINK_LinkerEXE ( %CollectorOutput ) is
+       $%CollectorOutput.exe\^
+ @end;
+
+ @template LINK_LinkerHeaderDLL ( %Station, %LinkModeOpt ) is
+       $D:/DevTools/VStudio/VC98/bin/link -nologo -subsystem:windows -dll -incremental:no -machine:IX86 %LinkModeOpt \^
+ @end;
+
+ @template LINK_LinkerHeaderEXE ( %Station, %LinkModeOpt, %LinkSubsystem ) is
+       $D:/DevTools/VStudio/VC98/bin/link -nologo -subsystem:%LinkSubsystem -incremental:no -machine:IX86 %LinkModeOpt \^
+ @end;
+
+@endif;
diff --git a/src/WOKBuilderDef/LINKSHR.edl b/src/WOKBuilderDef/LINKSHR.edl
new file mode 100755 (executable)
index 0000000..23feca9
--- /dev/null
@@ -0,0 +1,115 @@
+-- File:       LINKSHR.edl
+-- Author:     Jean GAUTIER
+-- History:    Fri Feb 16 17:04:32 1996        Jean GAUTIER    Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %LINKSHR_EDL ) then
+@set %LINKSHR_EDL = "";
+
+@ifnotdefined ( %LDSHR_EDL ) then
+  @uses "LDSHR.edl";
+@endif;
+
+@set %LINKSHR_Header          = "LINKSHR_Header";
+@set %LINKSHR_ObjectRef       = "LD_ObjectRef";
+@set %LINKSHR_ShortRef        = "LD_ShortRef";
+@set %LINKSHR_LongRef         = "LD_LongRef";
+@set %LINKSHR_SharedFullPath  = "LD_SharedFullPath";
+@set %LINKSHR_ArchiveFullPath = "LDSHR_ArchiveFullPath";
+@set %LINKSHR_ExternRef       = "LD_ExternRef";
+@set %LINKSHR_Footer          = "LD_Footer";
+
+@if ( %Station == "sun" ) then
+  @set %LINKSHR_DBMSOpt = "-mt";
+@else
+  @set %LINKSHR_DBMSOpt = "";
+@endif;
+
+@if ( %Station != "hp" ) then
+  @template LINKSHR_FileName ( %LINKSHR_LibName ) is
+   $lib%LINKSHR_LibName.so\^
+  @end;
+@endif;
+
+@if ( %Station == "hp" ) then
+  @template LINKSHR_FileName ( %LINKSHR_LibName ) is
+   $lib%LINKSHR_LibName.sl\^
+  @end;
+@endif;
+
+
+@template LINKSHR_ArchiveFullPath ( %LibDir, %LibName ) is
+$ -all %LibDir/lib%LibName.a -none \
+@end;
+
+@if( %Station == "sun" ) then 
+
+  @set %LINKSHR_Footer          = "LINKSHR_Footer";
+
+  @set %LINKSHR_ArchiveFullPath = "LINKSHR_ArchiveFullPath";
+
+  @template LINKSHR_ArchiveFullPath ( ) is
+   $\^
+  @end;
+
+  @template LINKSHR_Header ( %Target, %LINKSHR_DBMSOpt ) is 
+   $/opt/DEV5_1/SUNWspro/bin/CC -xchip=ultra -xarch=v8  -G %LINKSHR_DBMSOpt -o %Target \
+  @end;
+
+  @template LINKSHR_Footer ( ) is
+    $ -lC -lthread -lc ;
+  @end;
+
+@endif;
+
+@if( %Station == "ao1") then
+
+  @set %LINKSHR_LibLimit = "300";
+
+  @template LINKSHR_Header ( %LINKSHR_DBMSOpt, %Target, %LogicalName ) is 
+   $cxx -shared %LINKSHR_DBMSOpt -msym -o %Target -soname %LogicalName \
+  @end;
+
+@endif;
+
+@if( %Station == "sil" ) then
+
+  @set %LINKSHR_ObjectRef       = "LINKSHR_ObjectRef";
+
+  @template LINKSHR_ObjectRef ( %ObjectPath ) is
+   $\^
+  @end;
+
+  @template LINKSHR_Header ( %LINKSHR_DBMSOpt, %Target, %LogicalName, %LD_ObjList ) is
+   $/usr/bin/CC -n32 -mips3 -Wl,-mmap -multigot -no_prelink -shared %LINKSHR_DBMSOpt -o %Target -soname %LogicalName \
+   $  -all -objectlist %LD_ObjList -none \
+  @end;
+
+@endif;
+
+@if( %Station == "hp" ) then
+
+  @set %LINKSHR_Footer          = "LINKSHR_Footer";
+  @set %LINKSHR_ObjectRef       = "LINKSHR_ObjectRef";
+
+  @template LINKSHR_Header ( %LINKSHR_DBMSOpt, %Target, %LD_ObjList, %LogicalName ) is
+    $\mv %LD_ObjList %LD_ObjList.o
+    $/opt/aCC/bin/aCC %LINKSHR_DBMSOpt -b -o %Target  \
+    $-Wl,-c%LD_ObjList.o \
+  @end;
+
+  @template LINKSHR_Footer (%LD_ObjList) is
+    $;
+    $set lnk_status = $status
+    $\mv %LD_ObjList.o %LD_ObjList;
+    $set status = $lnk_status
+  @end;
+
+  @template LINKSHR_ObjectRef () is
+    $\^
+  @end;
+
+@endif;
+
+@endif;
+
diff --git a/src/WOKBuilderDef/STUBS.edl b/src/WOKBuilderDef/STUBS.edl
new file mode 100755 (executable)
index 0000000..82cda30
--- /dev/null
@@ -0,0 +1,48 @@
+@ifnotdefined ( %STUBS_EDL ) then
+    @set %STUBS_EDL = "";
+
+@if ( %DebugMode == "True" ) then
+
+ @set %STUBS_Dir     = "%WOKHOME%/Rtk-Release/";
+ @template STUBS_FileNameSrc ( %StubDir ) is
+  $%StubDir/_debug_stub.c\^
+ @end;
+
+ @template STUBS_FileNameDst ( %StubDir ) is
+  $%StubDir/_debug_stub.obj\^
+ @end;
+
+ @template STUBS_COMPILE ( %StubInput, %StubOutput ) is
+   $D:/DevTools/VStudio/VC98/bin/cl -nologo -MDd -c -Tc %StubInput -Fo%StubOutput;
+   $set stat=%status%;
+   $wokRM -fq %StubInput;
+   $set status=%stat%;
+ @end;
+
+@else
+
+ @set %STUBS_Dir     = "%WOKHOME%/Rtk-Release/";
+
+ @template STUBS_FileNameSrc ( %StubDir ) is
+  $%StubDir/_release_stub.c\^
+ @end;
+
+ @template STUBS_FileNameDst ( %StubDir ) is
+  $%StubDir/_release_stub.obj\^
+ @end;
+
+ @template STUBS_COMPILE ( %StubInput, %StubOutput ) is
+   $D:/DevTools/VStudio/VC98/bin/cl -nologo -MD -c -Tc %StubInput -Fo%StubOutput;
+   $set stat=%status%;
+   $wokRM -fq %StubInput;
+   $set status=%stat%;
+ @end;
+
+@endif;
+
+@string %STUBS_tkMain  = %STUBS_Dir "tkStub.obj";
+@string %STUBS_uMain   = %STUBS_Dir "uStub.obj";
+@string %STUBS_Library = %STUBS_Dir "Rtk.lib";
+
+
+@endif;
diff --git a/src/WOKBuilderDef/TCPP.edl b/src/WOKBuilderDef/TCPP.edl
new file mode 100755 (executable)
index 0000000..495130a
--- /dev/null
@@ -0,0 +1,26 @@
+-- File:       TCPP.edl
+-- Author:     Kernel
+-- History:    Tue Apr 30 09:57:03 1996        Kernel  Creation
+-- Copyright:   Matra Datavision 1996
+
+@ifnotdefined ( %TCPP_EDL) then
+@set %TCPP_EDL = "";
+
+@if ( %Station != "wnt" ) then
+
+@if ( %LocalArch != "hp" ) then
+  @set %TCPP_Shared   = "libTCPPExt.so";
+@endif;
+
+@if ( %LocalArch == "hp" ) then
+  @set %TCPP_Shared   = "libTCPPExt.sl";
+@endif;
+
+@else
+  @set %TCPP_Shared   = "TCPPExt.dll";
+
+@endif;
+
+@set %TCPP_Name     = "TCPP";
+
+@endif;
diff --git a/src/WOKBuilderDef/USECONFIG.edl b/src/WOKBuilderDef/USECONFIG.edl
new file mode 100755 (executable)
index 0000000..fc6e050
--- /dev/null
@@ -0,0 +1,10 @@
+@ifdefined (%ShopName) then
+@string %FileUseConfig = "%"%ShopName"_UseConfig";
+@set %UseConfig = [%FileUseConfig];
+@string %TargetConfig = "%"%ShopName"_ParcelConfig";
+@string %fileconfig = %UseConfig".edl";
+@uses %fileconfig;
+@string %MyConf = "%"%UseConfig"_Config";
+@set [%TargetConfig] = [%MyConf];
+@unset %ShopName;
+@endif;