--- 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_CXX_Template = "CmdLine";
- @set %CMPLRS_F77_Template = "CmdLine";
- @set %CMPLRS_C_Extensions = "toto.c";
- @set %CMPLRS_F77_Extensions = "toto.f ";
- @set %CMPLRS_Tools = "CMPLRS_C CMPLRS_CXX CMPLRS_F77";
-
- @if ( %Station == "wnt" ) then
- @set %CMPLRS_CXX_Extensions = "toto.cxx toto.cpp";
-
- @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.obj %BaseName.m
- @end;
+ @ifnotdefined( %CSF_EDL ) then
+ @uses "CSF.edl";
+ @endif;
- @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.obj %BaseName.m
- @end;
+ @ifnotdefined( %CMPLRS_Unit_C_Options ) then
+ @set %CMPLRS_Unit_C_Options = "" ;
+ @endif;
+ @ifnotdefined( %CMPLRS_Unit_CXX_Options ) then
+ @set %CMPLRS_Unit_CXX_Options = "" ;
+ @endif;
- @template CMPLRS_F77_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.obj %BaseName.m
- @end;
- @else
- @set %CMPLRS_CXX_Extensions = "toto.cxx toto.C";
+ @set %CMPLRS_C_PDBName = "PDBName";
+ @set %CMPLRS_C_Object = "Object";
+ @set %CMPLRS_C_Files = "Files";
+ @set %CMPLRS_C_TmpFile = "DTmpFile";
+ @set %CMPLRS_C_Header = "Header";
+ @set %CMPLRS_C_InputDirective = "InputDirective";
+ @set %CMPLRS_C_Directives = "Directives";
+ @set %CMPLRS_C_Template = "CmdLine";
+ @set %CMPLRS_C_Footer = "Footer";
+ @set %CMPLRS_CXX_PDBName = "PDBName";
+ @set %CMPLRS_CXX_Object = "Object";
+ @set %CMPLRS_CXX_Files = "Files";
+ @set %CMPLRS_CXX_TmpFile = "DTmpFile";
+ @set %CMPLRS_CXX_Header = "Header";
+ @set %CMPLRS_CXX_InputDirective = "InputDirective";
+ @set %CMPLRS_CXX_Directives = "Directives";
+ @set %CMPLRS_CXX_Template = "CmdLine";
+ @set %CMPLRS_CXX_Footer = "Footer";
+ @set %CMPLRS_F77_PDBName = "PDBName";
+ @set %CMPLRS_F77_Object = "Object";
+ @set %CMPLRS_F77_Files = "Files";
+ @set %CMPLRS_F77_TmpFile = "DTmpFile";
+ @set %CMPLRS_F77_Header = "Header";
+ @set %CMPLRS_F77_InputDirective = "InputDirective";
+ @set %CMPLRS_F77_Directives = "Directives";
+ @set %CMPLRS_F77_Template = "CmdLine";
+ @set %CMPLRS_F77_Footer = "Footer";
+
+ @set %CMPLRS_CXX_Extensions = "toto.cxx toto.C toto.cpp";
+ @set %CMPLRS_C_Extensions = "toto.c";
+ @set %CMPLRS_F77_Extensions = "toto.f ";
+ @set %CMPLRS_Tools = "CMPLRS_C CMPLRS_CXX CMPLRS_F77";
- @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.o %BaseName.m
- @end;
+ @if ( %CSF_CREATECOMP_DEP == "Yes" ) then
+ @set %CMPLRS_CXX_WOKDirectives = "-MD ";
+ @set %CMPLRS_C_WOKDirectives = "-MD ";
+ @else
+ @set %CMPLRS_CXX_WOKDirectives = "";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @endif;
- @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.o %BaseName.m
- @end;
- @template CMPLRS_F77_Production ( %OutputDir, %BaseName ) is
- $ %BaseName.o %BaseName.m
- @end;
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
@endif;
- @template CMPLRS_IncDirective (%IncDirectory) is
- $ -I%IncDirectory \
- @end;
-
- @if (%DBMS == "DFLT") then
- @set %DBMSOpt = "-DCSFDB";
+ @if ( %DBMS == "DFLT" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
@endif;
@ifnotdefined ( %DebugMode ) then
- @set %DebugMode = "False";
- @endif;
-
- @if ( %Station != "wnt" ) then
- @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;
+ @set %DebugMode = "False";
@endif;
--- ##### # # # # --
--- # # # # ## # --
--- # # # # # # --
--- ##### # # # # # --
--- # # # # # # --
--- # # # # # ## --
--- ##### ##### # # --
+ @if ( %Station == "wnt" ) then
+ --WARNING : For WNT, it is necessary to have $set symbol_name=%symbol_value%
+ -- WITHOUT BLANK before and after equal sign !
+ -- WITHOUT double quote
+
+ @set %CMPLRS_CXX_InOutPut = "-c -Tp <source.c> -Fo<object.obj> -Fd<PDBName>" ;
+ @set %CMPLRS_C_InOutPut = "-c -Tc <source.c> -Fo<object.obj> -Fd<PDBName>" ;
+ @set %CMPLRS_F77_InOutPut = "-c <Source.f> -object:<Object.obj> -pdbfile:<Pdbfile.pdb>" ;
+
+ @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;
+
+ @template CMPLRS_C_PDBName ( %PDBName ) is
+ $-Fd%PDBName \^
+ @end;
+
+ @template CMPLRS_CXX_PDBName ( %PDBName ) is
+ $-Fd%PDBName \^
+ @end;
+
+ @template CMPLRS_F77_PDBName ( %PDBName ) is
+ $-pdbfile:%PDBName \^
+ @end;
+
+ @template CMPLRS_C_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c -Tc %InputDir/%Source -Fo%OutputDir/%ObjectName \^
+ @end;
+
+ @template CMPLRS_CXX_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c -Tp %InputDir/%Source -Fo%OutputDir/%ObjectName \^
+ @end;
+
+ @template CMPLRS_F77_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c %InputDir/%Source -object:%OutputDir/%ObjectName \^
+ @end;
+
+ @template CMPLRS_C_Object ( %BaseName ) is
+ $%BaseName.obj \^
+ @end;
+
+ @template CMPLRS_CXX_Object ( %BaseName ) is
+ $%BaseName.obj \^
+ @end;
+
+ @template CMPLRS_F77_Object ( %BaseName ) is
+ $%BaseName.obj \^
+ @end;
+
+ @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.obj %BaseName.m
+ @end;
+
+ @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.obj %BaseName.m
+ @end;
+
+ @template CMPLRS_F77_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.obj %BaseName.m
+ @end;
- @if ( %Station == "sun" ) then
- @template CMPLRS_DBDirective (%DBDirectory) is
- $ -ptr%DBDirectory \
- @end;
+ @else
+ --WARNING : For UNIX, it is necessary to have $set symbol_name="symbol_value"
+ -- WITH double quote
- @if ( %DebugMode == "True" ) then
- @set %CMPLRS_CXX_ModeOpt = "-g0 -DDEB +w";
- @set %CMPLRS_C_ModeOpt = "-g0 -DDEB +w";
- @set %CMPLRS_F77_ModeOpt = "-g";
- @endif;
+ @set %CMPLRS_CXX_InOutPut = "-c <Source.cxx> -o <Object.o>" ;
+ @set %CMPLRS_C_InOutPut = "-c <Source.c> -o <Object.o>" ;
+ @set %CMPLRS_F77_InOutPut = "-c <Source.f> -o <Object.o>" ;
- @if ( %DebugMode == "False" ) then
- @set %CMPLRS_CXX_ModeOpt = "-O2 -DNo_Exception +w ";
- @set %CMPLRS_C_ModeOpt = "-O2 -DNo_Exception +w ";
- @set %CMPLRS_F77_ModeOpt = "-O2";
- @endif;
+ @set %CMPLRS_ExportBehaviour = "" ;
- @set %CMPLRS_F77_Command = "f77 ";
- @set %CMPLRS_F77_Options = "-PIC";
+ @template CMPLRS_C_PDBName ( %PDBName ) is
+ $ \^
+ @end;
- @if ( %DBMS == "OBJS" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-mt -vdelx -DOBJS -I/PRODUCTS/OS5.0/sunpro/include";
- @endif;
+ @template CMPLRS_CXX_PDBName ( %PDBName ) is
+ $ \^
+ @end;
- @if ( %DBMS == "DFLT" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-vdelx -DCSFDB";
- @endif;
+ @template CMPLRS_F77_PDBName ( %PDBName ) is
+ $ \^
+ @end;
- @set %CMPLRS_C_Command = "/opt/DEV5_1/SUNWspro/bin/cc -K PIC";
- @set %CMPLRS_C_Options = "-Usun -DSOLARIS";
+ @template CMPLRS_C_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c %InputDir/%Source -o %OutputDir/%ObjectName \
+ @end;
- @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_CXX_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c %InputDir/%Source -o %OutputDir/%ObjectName \
+ @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 %DBDirectives %CMPLRS_C_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;
+ @template CMPLRS_F77_Files ( %InputDir , %Source ,
+ %OutputDir , %ObjectName ) is
+ $-c %InputDir/%Source -o %OutputDir/%ObjectName \
+ @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_C_Object ( %BaseName ) is
+ $%BaseName.o \
+ @end;
- @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 \
- $ -I/PRODUCTS/java/jdk1.2/include \
- $ -I/PRODUCTS/java/jdk1.2/include/solaris \
- $%IncDirectives %DBDirectives -H -c <Source.cxx> -o <Object.o> > &<tmp_file>
- @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 \
- $ -I/PRODUCTS/java/jdk1.2/include \
- $ -I/PRODUCTS/java/jdk1.2/include/solaris \
- $%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;
-
--- ###### ####### ##### --
--- # # # # # --
--- # # # # --
--- # # ##### # --
--- # # # # --
--- # # # # # --
--- ###### ####### ##### --
-
- @if ( %Station == "ao1" ) then
- @template CMPLRS_DBDirective (%DBDirectory) is
- $ -ptr%DBDirectory/cxx_repository \
- @end;
+ @template CMPLRS_CXX_Object ( %BaseName ) is
+ $%BaseName.o \
+ @end;
- @set %CMPLRS_F77_Command = "f77 ";
- @set %CMPLRS_F77_Options = "-PIC";
+ @template CMPLRS_F77_Object ( %BaseName ) is
+ $%BaseName.o \
+ @end;
- @if ( %DebugMode == "True" ) then
- @set %CMPLRS_CXX_ModeOpt = "-g -DDEB";
- @set %CMPLRS_C_ModeOpt = "-g -DDEB";
- @set %CMPLRS_F77_ModeOpt = "-g";
- @endif;
+ @template CMPLRS_C_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.o %BaseName.m
+ @end;
- @if ( %DebugMode == "False" ) then
- @set %CMPLRS_CXX_ModeOpt = "-O3 -DNo_Exception ";
- @set %CMPLRS_C_ModeOpt = "-O3 -DNo_Exception ";
- @set %CMPLRS_F77_ModeOpt = "-O3";
- @endif;
+ @template CMPLRS_CXX_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.o %BaseName.m
+ @end;
- @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;
+ @template CMPLRS_F77_Production ( %OutputDir, %BaseName ) is
+ $ %BaseName.o %BaseName.m
+ @end;
@endif;
--- ##### ### # --
--- # # # # --
--- # # # --
--- ##### # # --
--- # # # --
--- # # # # --
--- ##### ### ####### --
-
- @if ( %Station == "sil" ) then
- @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;
+ @template CMPLRS_IncDirective (%IncDirectory) is
+ $-I%IncDirectory \
+ @end;
- @set %CMPLRS_C_Command = "cc -signed -n32 -mips3 ";
- @set %CMPLRS_C_Options = "-DIRIX";
+ @if ( %Station != "wnt" ) then
+ @template CMPLRS_ValDirective (%Symbol) is
+ $${%Symbol}\^
+ @end;
+ @template CMPLRS_SetDirective (%Symbol , %Value) is
+ $setenv %Symbol "%Value"\^
+ @end;
+
+ @template CMPLRS_UnitSetDirectives (
+ %IncDirectives ,
+ %OutputDir ) is
+ $set IncDirectives="%IncDirectives"
+ $set OutputDir="%OutputDir"
+ @end;
+
+ @template CMPLRS_C_Header (
+ %Unit_C_Options ,
+ %CMPLRS_C_ModeOpt,
+ %CMPLRS_ExportBehaviour ,
+ %C_PDBName ) is
+ $set Unit_C_Options="%Unit_C_Options"
+ $set C_ModeOpt="%CMPLRS_C_ModeOpt"
+ $set C_Export="%CMPLRS_ExportBehaviour"
+ $set C_PDBName="%C_PDBName"
+ @end;
+
+ @template CMPLRS_CXX_Header (
+ %Unit_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_ExportBehaviour ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CXX_PDBName ) is
+ $set Unit_CXX_Options="%Unit_CXX_Options"
+ $set CXX_ModeOpt="%CMPLRS_CXX_ModeOpt"
+ $set CXX_Export="%CMPLRS_ExportBehaviour"
+ $set CXX_DBMSOpt="%CMPLRS_CXX_DBMSOpt"
+ $set CXX_PDBName="%CXX_PDBName"
+ @end;
+
+ @template CMPLRS_F77_Header (
+ %CMPLRS_F77_ModeOpt ,
+ %F77_PDBName ) is
+ $set F77_ModeOpt="%CMPLRS_F77_ModeOpt"
+ $set F77_PDBName="%F77_PDBName"
+ @end;
- @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;
+ @else
+ @template CMPLRS_ValDirective (%Symbol) is
+ $%%Symbol%\^
+ @end;
+ @template CMPLRS_SetDirective (%Symbol , %Value) is
+ $set %Symbol=%Value\^
+ @end;
+
+ @template CMPLRS_UnitSetDirectives (
+ %IncDirectives ,
+ %OutputDir ) is
+ $set IncDirectives=%IncDirectives
+ $set OutputDir=%OutputDir
+ @end;
+
+ @template CMPLRS_C_Header (
+ %Unit_C_Options ,
+ %CMPLRS_C_ModeOpt,
+ %CMPLRS_ExportBehaviour ,
+ %C_PDBName ) is
+ $set Unit_C_Options=%Unit_C_Options
+ $set C_ModeOpt=%CMPLRS_C_ModeOpt
+ $set C_Export=%CMPLRS_ExportBehaviour
+ $set C_PDBName=%C_PDBName
+ @end;
+
+ @template CMPLRS_CXX_Header (
+ %Unit_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_ExportBehaviour ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CXX_PDBName ) is
+ $set Unit_CXX_Options=%Unit_CXX_Options
+ $set CXX_ModeOpt=%CMPLRS_CXX_ModeOpt
+ $set CXX_Export=%CMPLRS_ExportBehaviour
+ $set CXX_DBMSOpt=%CMPLRS_CXX_DBMSOpt
+ $set CXX_PDBName=%CXX_PDBName
+ @end;
+
+ @template CMPLRS_F77_Header (
+ %CMPLRS_F77_ModeOpt ,
+ %F77_PDBName ) is
+ $set F77_ModeOpt=%CMPLRS_F77_ModeOpt
+ $set F77_PDBName=%F77_PDBName
+ @end;
+
+ @endif ;
+
+ @set %CMPLRS_CXX_COMPILER = %CSF_CXX_COMPILER ;
+ @set %CMPLRS_CXX_SysOptions = %CSF_CXX_SysOptions ;
+ @set %CMPLRS_CXX_Options = %CSF_CXX_Options ;
+ @set %CMPLRS_CXX_INCLUDE = %CSF_CXX_INCLUDE ;
+
+ @set %CMPLRS_C_COMPILER = %CSF_C_COMPILER ;
+ @set %CMPLRS_C_SysOptions = %CSF_C_SysOptions;
+ @set %CMPLRS_C_Options = %CSF_C_Options;
+ @set %CMPLRS_C_INCLUDE = %CSF_C_INCLUDE ;
+
+ @set %CMPLRS_F77_COMPILER = %CSF_F77_COMPILER ;
+ @set %CMPLRS_F77_SysOptions = %CSF_F77_SysOptions;
+ @set %CMPLRS_F77_Options = %CSF_F77_Options;
+
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+ @template CMPLRS_F77_OptLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @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
- $ /usr/lib/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 -woff 3273 -woff 1021 -woff 1188";
- @set %CMPLRS_CXX_Options = "-I/usr/include/CC -DIRIX -DNO_CXX_EXCEPTION";
+ @if ( %Station == "lin" ) then
- @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/PRODUCTS/java1.2.2/include \
- $ -I/PRODUCTS/java1.2.2/include/irix \
- $%IncDirectives %DBDirectives -MDupdate -c <Source.cxx> -o <Object.o>
- @end;
+ @template CMPLRS_C_DTmpFile (%TmpFile) is
+ $>& %TmpFile \
+ @end;
+
+ @template CMPLRS_CXX_DTmpFile (%TmpFile) is
+ $>& %TmpFile \
+ @end;
+
+ @template CMPLRS_F77_DTmpFile (%TmpFile) is
+ $ \
+ @end;
+
+ @if ( %DebugMode == "True" ) then
+ @set %CMPLRS_CXX_ModeOpt = "-g -O0 -DDEB -D_DEBUG";
+ @set %CMPLRS_C_ModeOpt = "-g -O0 -DDEB -D_DEBUG";
+ @set %CMPLRS_F77_ModeOpt = "-g -DDEB -D_DEBUG";
+ @else
+ @set %CMPLRS_CXX_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
+ @set %CMPLRS_C_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
+ @set %CMPLRS_F77_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
+ @endif;
+
+ @set %CMPLRS_CXX_WOKDirectives = "-MD ";
+ @set %CMPLRS_C_WOKDirectives = "-MD ";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+
+ @template CMPLRS_F77_OptLine (
+ %CMPLRS_F77_COMPILER ,
+ %CMPLRS_F77_SysOptions ,
+ %CMPLRS_F77_ModeOpt
+ ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @end;
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+
+
+ @template CMPLRS_C_OptLine (%CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %Entity ) is
+ $Following parameters make up C compilation command in this order:
+ $CMPLRS_C_COMPILER = %CMPLRS_C_COMPILER
+ $CMPLRS_C_SysOptions = %CMPLRS_C_SysOptions
+ $CMPLRS_C_Options = %CMPLRS_C_Options
+ $CMPLRS_Unit_C_Options = %CMPLRS_Unit_C_Options
+ $CMPLRS_C_WOKDirectives= %CMPLRS_C_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+ @template CMPLRS_C_CmdLine ( %CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+-- %C_Export ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %Source ,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile , %Entity ) is
+ $%CMPLRS_C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options %CMPLRS_C_ModeOpt %IncDirectives %CMPLRS_Unit_C_Options %CMPLRS_C_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $set stat = $status
+ $echo '$C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options $INCDIRS %CMPLRS_C_ModeOpt %CMPLRS_Unit_C_Options %CMPLRS_C_WOKDirectives -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/c.compile
+ $if ( $stat == 0 ) then
+ $ if ( -e %OutputDir/%BaseName.d ) then
+ $ sed -e '/:/d' -e 's/\\/ /g' %OutputDir/%BaseName.d | tr ' ' '\012' | sort -u > %OutputDir/%BaseName.m
+ $ endif
+ $endif
+ $set status = $stat
+ @end;
+
+ @template CMPLRS_CXX_OptLine (%CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt , %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Entity ) is
+ $Following parameters make up C++ compilation command in this order:
+ $CMPLRS_CXX_COMPILER = %CMPLRS_CXX_COMPILER
+ $CMPLRS_CXX_SysOptions = %CMPLRS_CXX_SysOptions
+ $CMPLRS_CXX_Options = %CMPLRS_CXX_Options
+ $CMPLRS_CXX_ModeOpt = %CMPLRS_CXX_ModeOpt
+ $CMPLRS_CXX_DBMSOpt = %CMPLRS_CXX_DBMSOpt
+ $CMPLRS_CXX_INCLUDE = %CMPLRS_CXX_INCLUDE
+ $CMPLRS_CXX_WOKDirectives = %CMPLRS_CXX_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+
+ @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt , %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Source,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile , %Entity ) is
+ $%CMPLRS_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CMPLRS_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives %CMPLRS_CXX_WOKDirectives -c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+ $set stat = $status
+ $echo '$CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options $INCDIRS %CMPLRS_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %DBDirectives -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/cxx.compile
+ $if ( $stat == 0 ) then
+ $ if ( -e %OutputDir/%BaseName.d ) then
+ $ sed -e '/:/d' -e 's/\\/ /g' %OutputDir/%BaseName.d | tr ' ' '\012' | sort -u > %OutputDir/%BaseName.m
+ $ endif
+ $endif
+ $if( -e %TmpFile ) grep ':' %TmpFile
+ $/bin/rm -f %TmpFile
+ $set status = $stat
+ @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 %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \
- $ -I/PRODUCTS/java1.2.2/include \
- $ -I/PRODUCTS/java1.2.2/include/irix \
- $ %IncDirectives %DBDirectives -MDupdate %TmpFile \
- $ -c %Source -o %OutputDir/%BaseName.o
- $set stat = $status
- $if ( $stat == 0 ) then
- $ if ( -e %TmpFile ) then
- $ cat %TmpFile | tr ' ' '\012' | sed -e '1d' -e 's%/./%/%g' | grep -v '^#'| sort -u > %OutputDir/%BaseName.m
- $ else
- $ touch %OutputDir/%BaseName.m
- $ endif
- $endif
- $ /bin/rm -f %TmpFile
- $endif
- $set status = $stat
- @end;
@endif;
--- # # ###### # # # # --
--- # # # # # # # # --
--- # # # # # # # # --
--- ####### ###### ##### # # # --
--- # # # # # # # --
--- # # # # # # # --
--- # # # ##### # # --
- @if ( %Station == "hp" ) then
- @template CMPLRS_DBDirective (%DBDirectory) is
- $ -ptr%DBDirectory/ptrepository \
- @end;
-
- @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 -Aa +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;
+ @if ( %Station == "sun" ) then
+ @template CMPLRS_DBDirective (%DBDirectory) is
+ $ -ptr%DBDirectory \
+ @end;
+
+ @template CMPLRS_C_DTmpFile (%TmpFile) is
+ $ \
+ @end;
+
+ @template CMPLRS_CXX_DTmpFile (%TmpFile) is
+ $>& %TmpFile \
+ @end;
+
+ @template CMPLRS_F77_DTmpFile (%TmpFile) is
+ $ \
+ @end;
+
+ @if ( %DebugMode == "True" ) then
+ @set %CMPLRS_CXX_ModeOpt = "-g0 -DDEB +w";
+ @set %CMPLRS_C_ModeOpt = "-g0 -DDEB +w";
+ @set %CMPLRS_F77_ModeOpt = "-g";
+ @else
+ @set %CMPLRS_CXX_ModeOpt = "-O2 -DNo_Exception +w ";
+ @set %CMPLRS_C_ModeOpt = "-O2 -DNo_Exception +w ";
+ @set %CMPLRS_F77_ModeOpt = "-O2";
+ @endif;
+
+ @set %CMPLRS_CXX_WOKDirectives = "-H ";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-mt -DOBJS -I/PRODUCTS/OS5.0/sunpro/include";
+ @endif;
+
+ @template CMPLRS_F77_OptLine (
+ %CMPLRS_F77_COMPILER ,
+ %CMPLRS_F77_SysOptions ,
+ %CMPLRS_F77_ModeOpt
+ ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @end;
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+
+
+ @template CMPLRS_C_OptLine (%CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %Entity ) is
+ $Following parameters make up C compilation command in this order:
+ $CMPLRS_C_COMPILER = %CMPLRS_C_COMPILER
+ $CMPLRS_C_SysOptions = %CMPLRS_C_SysOptions
+ $CMPLRS_C_Options = %CMPLRS_C_Options
+ $CMPLRS_Unit_C_Options = %CMPLRS_Unit_C_Options
+ $CMPLRS_C_WOKDirectives= %CMPLRS_C_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+
+ @template CMPLRS_C_CmdLine ( %CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %Source ,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile , %Entity ) is
+
+ $%CMPLRS_C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options %CMPLRS_C_ModeOpt %IncDirectives %CMPLRS_Unit_C_Options %CMPLRS_C_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $set stat = $status
+ $echo '$C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options $INCDIRS %CMPLRS_C_ModeOpt -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/c.compile
+ $if ( $stat == 0 ) then
+ $ cpp %IncDirectives -Usun -DSOLARIS -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;
+
+ @template CMPLRS_CXX_OptLine (%CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Entity ) is
+ $Following parameters make up C++ compilation command in this order:
+ $CMPLRS_CXX_COMPILER = %CMPLRS_CXX_COMPILER
+ $CMPLRS_CXX_SysOptions = %CMPLRS_CXX_SysOptions
+ $CMPLRS_CXX_Options = %CMPLRS_CXX_Options
+ $CMPLRS_CXX_ModeOpt = %CMPLRS_CXX_ModeOpt
+ $CMPLRS_CXX_DBMSOpt = %CMPLRS_CXX_DBMSOpt
+ $CMPLRS_CXX_INCLUDE = %CMPLRS_CXX_INCLUDE
+ $CMPLRS_CXX_WOKDirectives = %CMPLRS_CXX_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+
+ @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Source,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile , %Entity) is
+ $%CMPLRS_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CMPLRS_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives %CMPLRS_CXX_WOKDirectives -c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+ $set stat = $status
+ $echo '$CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options $INCDIRS %CMPLRS_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/cxx.compile
+ $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;
- @template CMPLRS_CXX_CmdLine (
- %CMPLRS_CXX_Command, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt,
- %CMPLRS_CXX_DBMSOpt, %IncDirectives, %Source, %BaseName, %OutputDir
- ) is
- $%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;
-
-- # # # # ####### --
-- # # # ## # # --
-- # # # # # # # --
-- ## ## # # # --
@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_F77_ModeOpt = "-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;
-
- @ifdefined ( %UnitType ) then
- @if (%UnitType != "executable") then
- @string %CMPLRS_ExportBehaviour = " -D__" %Entity "_DLL";
- @else
- @set %CMPLRS_ExportBehaviour = " -DStandard_EXPORT= ";
- @endif;
- @endif;
+ @template CMPLRS_C_DTmpFile (%TmpFile) is
+ $ ;
+ @end;
+
+ @template CMPLRS_CXX_DTmpFile (%TmpFile) is
+ $ ;
+ @end;
+
+ @template CMPLRS_F77_DTmpFile (%TmpFile) is
+ $ ;
+ @end;
+
+ @if ( %DebugMode == "True" ) then
+ @set %CMPLRS_CXX_ModeOpt = "-DDEB -D_DEBUG";
+ @set %CMPLRS_C_ModeOpt = "-DDEB -D_DEBUG";
+ @set %CMPLRS_F77_ModeOpt = "-DDEB -D_DEBUG";
+ @else
+ @set %CMPLRS_CXX_ModeOpt = "-DNDEBUG -DNo_Exception";
+ @set %CMPLRS_C_ModeOpt = "-DNDEBUG -DNo_Exception";
+ @set %CMPLRS_F77_ModeOpt = "-DNDEBUG -DNo_Exception";
+ @endif;
+
+ @set %CMPLRS_CXX_WOKDirectives = "";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
+ @endif;
+
+ @template CMPLRS_C_Footer (
+ %CMPLRS_C_Options,
+ %CMPLRS_ExportBehaviour ,
+ %IncDirectives,
+ %Unit_C_Options ,
+ %InputDir ,
+ %Source,
+ %BaseName,
+ %OutputDir ) is
+ $set cmplrs_status=%status%;
+ $@acpp.exe -M -m -+ %CMPLRS_C_Options -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives %Unit_C_Options \^
+ $ %InputDir/%Source -o %OutputDir%BaseName.m;
+ $set status=%cmplrs_status%;
+ @end;
+
+ @template CMPLRS_CXX_Footer(
+ %CMPLRS_CXX_Options,
+ %CMPLRS_ExportBehaviour ,
+ %IncDirectives,
+ %Unit_CXX_Options ,
+ %InputDir ,
+ %Source,
+ %BaseName,
+ %OutputDir) is
+ $set cmplrs_status=%status%;
+ $@acpp.exe -M -m -+ %CMPLRS_CXX_Options -D__cplusplus -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives %Unit_CXX_Options \^
+ $ %InputDir/%Source -o %OutputDir%BaseName.m;
+ $set status=%cmplrs_status%;
+ @end;
+
+
+--> wnt
+
+ @template CMPLRS_CXX_OptLine (%CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_ExportBehaviour ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Entity ) is
+ $Following parameters make up C++ compilation command in this order:
+ $CMPLRS_CXX_COMPILER = %CMPLRS_CXX_COMPILER
+ $CMPLRS_CXX_SysOptions = %CMPLRS_CXX_SysOptions
+ $CMPLRS_CXX_Options = %CMPLRS_CXX_Options
+ $CMPLRS_ExportBehaviour = %CMPLRS_ExportBehaviour
+ $CMPLRS_CXX_ModeOpt = %CMPLRS_CXX_ModeOpt
+ $CMPLRS_CXX_DBMSOpt = %CMPLRS_CXX_DBMSOpt
+ $CMPLRS_CXX_INCLUDE = %CMPLRS_CXX_INCLUDE
+ $CMPLRS_CXX_WOKDirectives = %CMPLRS_CXX_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
- @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
+ @template CMPLRS_CXX_CmdLine (
+ %CMPLRS_CXX_COMPILER, %CMPLRS_CXX_SysOptions, %CMPLRS_CXX_Options, %CMPLRS_CXX_ModeOpt,
+ %IncDirectives, %PDBName, %Source,
+ %BaseName, %OutputDir, %CMPLRS_ExportBehaviour
) is
- $%CMPLRS_C_Command %CMPLRS_C_Options %CMPLRS_ExportBehaviour\^
- $ %IncDirectives %CMPLRS_C_ModeOpt \^
- $ -Fd%PDBName -c -Tc %Source -Fo%OutputDir%BaseName.obj;
+ $%CMPLRS_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CMPLRS_ExportBehaviour\^
+ $ %IncDirectives %CMPLRS_CXX_ModeOpt \^
+ $ -Fd%PDBName -c -Tp %Source -Fo%OutputDir%BaseName.obj;
$set cmplrs_status=%status%;
- $@acpp.exe -M -m -+ %CMPLRS_C_Options -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives\^
+ $@acpp.exe -M -m -+ %CMPLRS_CXX_Options -D__cplusplus -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives\^
$ %Source -o %OutputDir%BaseName.m;
$set status=%cmplrs_status%;
@end;
- @set %CMPLRS_CXX_Command = "D:/DevTools/VStudio/VC98/bin/cl -nologo -MD -W3 -GX -Ob1";
- @set %CMPLRS_CXX_Options = "-DWNT -D_WINDOWS -DWIN32";
-
- @string %CMPLRS_CXX_Options += " -ID:/jdk1.2.2/include";
- @string %CMPLRS_CXX_Options += " -ID:/jdk1.2.2/include/win32";
- @string %CMPLRS_CXX_Options += " -I%WOKHOME%/jcas/include";
-
- @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
+ @template CMPLRS_C_OptLine (%CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %CMPLRS_ExportBehaviour ,
+ %Entity ) is
+ $Following parameters make up C compilation command in this order:
+ $CMPLRS_C_COMPILER = %CMPLRS_C_COMPILER
+ $CMPLRS_C_SysOptions = %CMPLRS_C_SysOptions
+ $CMPLRS_C_Options = %CMPLRS_C_Options
+ $CMPLRS_C_ModeOpt = %CMPLRS_C_ModeOpt
+ $CMPLRS_Unit_C_Options = %CMPLRS_Unit_C_Options
+ $CMPLRS_C_WOKDirectives = %CMPLRS_C_WOKDirectives
+ $CMPLRS_ExportBehaviour = %CMPLRS_ExportBehaviour
+ $Dynamic include directives are :
+ $%IncDirectives
@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
+ @template CMPLRS_C_CmdLine (
+ %CMPLRS_C_COMPILER, %CMPLRS_C_SysOptions, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt,
+ %IncDirectives, %PDBName, %Source,
+ %BaseName, %OutputDir, %CMPLRS_ExportBehaviour
) is
- $%CMPLRS_CXX_Command %CMPLRS_CXX_Options %CMPLRS_ExportBehaviour\^
- $ %IncDirectives %CMPLRS_CXX_ModeOpt %CMPLRS_CXX_DBMSOpt\^
- $ -Fd%PDBName -c -Tp %Source -Fo%OutputDir%BaseName.obj;
+ $%CMPLRS_C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options %CMPLRS_ExportBehaviour\^
+ $ %IncDirectives %CMPLRS_C_ModeOpt \^
+ $ -Fd%PDBName -c -Tc %Source -Fo%OutputDir%BaseName.obj;
$set cmplrs_status=%status%;
- $@acpp.exe -M -m -+ %CMPLRS_CXX_Options -D__cplusplus -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives\^
+ $@acpp.exe -M -m -+ %CMPLRS_C_Options -D_DLL -D_MT %CMPLRS_ExportBehaviour %IncDirectives\^
$ %Source -o %OutputDir%BaseName.m;
$set status=%cmplrs_status%;
@end;
- @set %CMPLRS_F77_Command = "C:/Program Files/Microsoft Visual Studio/DF98/bin/fl32 ";
- @set %CMPLRS_F77_Options = "-nologo -libs:dll ";
- @template CMPLRS_F77_OptLine (
- %CMPLRS_F77_Command, %CMPLRS_F77_Options, %CMPLRS_F77_ModeOpt,
- %IncDirectives, %PDBName
- ) is
- $F77 compiler: \^
- $%CMPLRS_F77_Command %CMPLRS_F77_Options %CMPLRS_F77_ModeOpt \
- $%IncDirectives -c <Source.f> -object:<Object.obj> -pdbfile:<Pdbfile.pdb>
- @end;
-
- @template CMPLRS_F77_CmdLine (
- %CMPLRS_F77_Command, %CMPLRS_F77_Options, %CMPLRS_F77_ModeOpt,
- %IncDirectives, %Source, %BaseName, %OutputDir, %TmpFile, %PDBName
- ) is
- $#%CMPLRS_F77_Command %CMPLRS_F77_ModeOpt %CMPLRS_F77_Options -c %Source -object:%OutputDir/%BaseName.obj -pdbfile:%PDBName
- @end;
@endif;
--- # ### # # --
--- # # ## # --
--- # # # # # --
--- # # # # # --
--- # # # # # --
--- # # # ## --
--- ####### ### # # --
-
- @if ( %Station == "lin" ) then
- @if ( %DebugMode == "True" ) then
- @set %CMPLRS_CXX_ModeOpt = "-g -O0 -DDEB -D_DEBUG";
- @set %CMPLRS_C_ModeOpt = "-g -O0 -DDEB -D_DEBUG";
- @set %CMPLRS_F77_ModeOpt = "-g -DDEB -D_DEBUG";
- @else
- @set %CMPLRS_CXX_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
- @set %CMPLRS_C_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
- @set %CMPLRS_F77_ModeOpt = "-O3 -DNDEBUG -DNo_Exception";
- @endif;
-
- @if ( %DBMS == "OBJS" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
- @endif;
- @if ( %DBMS == "DFLT" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
- @endif;
+-- ##### ### # --
+-- # # # # --
+-- # # # --
+-- ##### # # --
+-- # # # --
+-- # # # # --
+-- ##### ### ####### --
- @set %CMPLRS_F77_Command = "/usr/bin/f77 ";
- @set %CMPLRS_F77_Options = "-fPIC";
+ @if ( %Station == "sil" ) then
+ @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;
+
+ @set %CMPLRS_CXX_WOKDirectives = "-MDupdate ";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DOBJS -I/PRODUCTS/OS5.0/include";
+ @endif;
+
+
+ @template CMPLRS_F77_OptLine (
+ %CMPLRS_F77_COMPILER ,
+ %CMPLRS_F77_SysOptions ,
+ %CMPLRS_F77_ModeOpt ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @end;
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+
+ @template CMPLRS_C_OptLine (%CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %Entity ) is
+ $Following parameters make up C compilation command in this order:
+ $CMPLRS_C_COMPILER = %CMPLRS_C_COMPILER
+ $CMPLRS_C_SysOptions = %CMPLRS_C_SysOptions
+ $CMPLRS_C_Options = %CMPLRS_C_Options
+ $CMPLRS_Unit_C_Options = %CMPLRS_Unit_C_Options
+ $CMPLRS_C_WOKDirectives= %CMPLRS_C_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+
+ @template CMPLRS_C_CmdLine ( %CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ --%CMPLRS_C_Export ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %CMPLRS_C_PDBName ,
+ %Source ,
+ %BaseName,
+ %OutputDir, %Entity ) is
+ $%CMPLRS_C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options %CMPLRS_C_ModeOpt %IncDirectives %CMPLRS_Unit_C_Options %CMPLRS_C_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $set cmplrs_status = $status
+ $echo '$C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options $INCDIRS %CMPLRS_C_ModeOpt -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/c.compile
+ $if ( $cmplrs_status == 0 ) then
+ $ /usr/lib/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;
+
+ @template CMPLRS_CXX_OptLine (%CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Entity ) is
+ $Following parameters make up C++ compilation command in this order:
+ $CMPLRS_CXX_COMPILER = %CMPLRS_CXX_COMPILER
+ $CMPLRS_CXX_SysOptions = %CMPLRS_CXX_SysOptions
+ $CMPLRS_CXX_Options = %CMPLRS_CXX_Options
+ $CMPLRS_CXX_ModeOpt = %CMPLRS_CXX_ModeOpt
+ $CMPLRS_CXX_DBMSOpt = %CMPLRS_CXX_DBMSOpt
+ $CMPLRS_CXX_INCLUDE = %CMPLRS_CXX_INCLUDE
+ $CMPLRS_CXX_WOKDirectives = %CMPLRS_CXX_WOKDirectives
+ $Dynamic include directives are :
+ $%IncDirectives
+ @end;
+
+ @template CMPLRS_CXX_CmdLine ( %CMPLRS_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt ,
+ %CMPLRS_CXX_DBMSOpt ,
+ %CMPLRS_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Source,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile, %Entity ) is
+ $%CMPLRS_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CSF_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives %CMPLRS_CXX_WOKDirectives %TmpFile -c %Source -o %OutputDir/%BaseName.o
+ $set stat = $status
+ $echo '$CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options $INCDIRS %CMPLRS_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/cxx.compile
+ $if ( $stat == 0 ) then
+ $ if ( -e %TmpFile ) then
+ $ sed -e '1d' -e 's%/./%/%g' %TmpFile | grep -v '^#'| tr ' ' '\012' | sort -u > %OutputDir/%BaseName.m
+ $ else
+ $ touch %OutputDir/%BaseName.m
+ $ endif
+ $endif
+ $ /bin/rm -f %TmpFile
+ $endif
+ $set status = $stat
+ @end;
- @set %CMPLRS_C_Command = "/usr/bin/gcc -fPIC";
- @set %CMPLRS_C_Options = " -DLIN -DLININTEL -DCSFDB -funsigned-char -Wall";
+ @endif;
- @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 -H -c <Source.c> -o <Object.o> > &<tmp_file>
- @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 %DBDirectives %CMPLRS_C_ModeOpt %IncDirectives -H -c %Source \^
- $-o %OutputDir/%BaseName.o >& %TmpFile
- $set stat = $status
- $if ( $stat == 0 ) then
- $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
- $endif
- $if( -e %TmpFile ) grep ':' %TmpFile
- $/bin/rm -f %TmpFile
- $set status = $stat
- @end;
- @set %CMPLRS_CXX_Command = "/usr/bin/g++ -fPIC";
- @set %CMPLRS_CXX_Options = " -DLIN -DLININTEL -DCSFDB -DNO_CXX_EXCEPTION -funsigned-char -Wall";
+-- # # ###### # # # # --
+-- # # # # # # # # --
+-- # # # # # # # # --
+-- ####### ###### ##### # # # --
+-- # # # # # # # --
+-- # # # # # # # --
+-- # # # ##### # # --
- @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/PRODUCTS/java/jdk1.2.2/include/linux \
- $%IncDirectives %DBDirectives -H -c <Source.cxx> -o <Object.o> > &<tmp_file>
- @end;
+ @if ( %Station == "hp" ) then
+ @template CMPLRS_DBDirective (%DBDirectory) is
+ $ -ptr%DBDirectory/ptrepository \
+ @end;
+
+ @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;
+
+ @set %CMPLRS_CXX_WOKDirectives = "";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DOBJS -I/PRODUCTS/OS5.0/include ";
+ @endif;
+
+ @template CMPLRS_F77_OptLine (
+ %CMPLRS_F77_COMPILER ,
+ %CMPLRS_F77_SysOptions ,
+ %CMPLRS_F77_ModeOpt ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @end;
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+
+ @template CMPLRS_C_CmdLine ( %CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %CMPLRS_C_Export ,
+ %IncDirectives ,
+ %Unit_C_Options ,
+ %C_WOKDirectives ,
+ %C_PDBName ,
+ %Source ,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile ) is
+ $%CMPLRS_C_COMPILER %C_SysOptions %C_Options %C_ModeOpt %C_Export %IncDirectives %Unit_C_Options %C_WOKDirectives %C_PDBName %Files %DTmpFile
+ $if ( $status == 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;
+
+ @template CMPLRS_CXX_CmdLine ( %CSF_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions ,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt , %CMPLRS_CXX_DBMSOpt ,
+ %CSF_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Source,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile ) is
+ $%CSF_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CSF_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives %CMPLRS_CXX_WOKDirectives -c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+ $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;
- @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 \^
- $%CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt \^
- $-I/PRODUCTS/java/jdk1.2.2/include \^
- $-I/PRODUCTS/java/jdk1.2.2/include/linux \^
- $%IncDirectives %DBDirectives -H \^
- $-c %Source -o %OutputDir/%BaseName.o >& %TmpFile
- $set stat = $status
- $if ( $stat == 0 ) then
- $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
- $endif
- $if( -e %TmpFile ) grep ':' %TmpFile
- $/bin/rm -f %TmpFile
- $set status = $stat
- @end;
@endif;
+
-- ####### ### # # --
-- # # # # # --
-- # # # # # --
-- # # ### # # --
@if ( %Station == "aix" ) then
- @if ( %DebugMode == "True" ) then
- @set %CMPLRS_CXX_ModeOpt = "-g -DDEB -D_DEBUG";
- @set %CMPLRS_C_ModeOpt = "-g -DDEB -D_DEBUG";
- @set %CMPLRS_F77_ModeOpt = "-g -DDEB -D_DEBUG";
- @else
- @set %CMPLRS_CXX_ModeOpt = "-O2 ";
- @set %CMPLRS_C_ModeOpt = "-O2 ";
- @set %CMPLRS_F77_ModeOpt = "-O2 ";
- @endif;
-
- @if ( %DBMS == "OBJS" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
- @endif;
-
- @if ( %DBMS == "DFLT" ) then
- @set %CMPLRS_CXX_DBMSOpt = "-DCSFDB";
- @endif;
-
- @set %CMPLRS_F77_Command = "/usr/bin/f77 ";
- @set %CMPLRS_F77_Options = "-fPIC";
-
- @set %CMPLRS_C_Command = "xlC_r";
- @set %CMPLRS_C_Options = " -DAIX -DCSFDB ";
-
- @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> > &<tmp_file>
- @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 %DBDirectives %CMPLRS_C_ModeOpt %IncDirectives -c %Source \^
- $-o %OutputDir/%BaseName.o >& %TmpFile
- $set stat = $status
- $if ( $stat == 0 ) then
- $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
- $endif
- $if( -e %TmpFile ) grep ':' %TmpFile
- $/bin/rm -f %TmpFile
- $set status = $stat
- @end;
-
- @set %CMPLRS_CXX_Command = "xlC_r";
- @set %CMPLRS_CXX_Options = " -DAIX -DCSFDB ";
-
- @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/usr/java_dev2/include \
- $%IncDirectives %DBDirectives -c <Source.cxx> -o <Object.o> > &<tmp_file>
- @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/usr/java_dev2/include \
- $%CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives \^
- $-M -c %Source -o %OutputDir/%BaseName.o
- $set stat = $status
- $if ( $stat == 0 ) then
- $ sed -e 's#%OutputDir/%BaseName.o:##g' %OutputDir/%BaseName.u | sort -u > %OutputDir/%BaseName.m
- $endif
- $#/bin/rm -f %OutputDir/%BaseName.u
- $set status = $stat
- @end;
-
+ @if ( %DebugMode == "True" ) then
+ @set %CMPLRS_CXX_ModeOpt = "-g0 -DDEB -D_DEBUG";
+ @set %CMPLRS_C_ModeOpt = "-g0 -DDEB -D_DEBUG";
+ @set %CMPLRS_F77_ModeOpt = "-g -DDEB -D_DEBUG";
+ @else
+ @set %CMPLRS_CXX_ModeOpt = "-O2 ";
+ @set %CMPLRS_C_ModeOpt = "-O2 ";
+ @set %CMPLRS_F77_ModeOpt = "-O2 ";
+ @endif;
+
+ @set %CMPLRS_CXX_WOKDirectives = "";
+ @set %CMPLRS_C_WOKDirectives = "";
+ @set %CMPLRS_F77_WOKDirectives = "";
+
+ @if ( %DBMS == "OBJS" ) then
+ @set %CMPLRS_CXX_DBMSOpt = "-DOBJS";
+ @endif;
+
+
+
+ @template CMPLRS_F77_OptLine (
+ %CMPLRS_F77_COMPILER ,
+ %CMPLRS_F77_SysOptions ,
+ %CMPLRS_F77_ModeOpt ) is
+ $Following parameters make up F77 compilation command in this order:
+ $CMPLRS_F77_COMPILER = %CMPLRS_F77_COMPILER
+ $CMPLRS_F77_SysOptions = %CMPLRS_F77_SysOptions
+ $CMPLRS_F77_ModeOpt = %CMPLRS_F77_ModeOpt
+ @end;
+
+ @template CMPLRS_F77_CmdLine ( %CMPLRS_F77_COMPILER , %CMPLRS_F77_SysOptions , %CMPLRS_F77_ModeOpt ,
+ %CMPLRS_F77_WOKDirectives , %Source , %OutputDir , %BaseName , %Entity ) is
+ $%CMPLRS_F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt %CMPLRS_F77_WOKDirectives -c %Source -o %OutputDir/%BaseName.o
+ $echo '$F77_COMPILER %CMPLRS_F77_SysOptions %CMPLRS_F77_ModeOpt $INCDIRS -c $SOURCE -o $OBJECT' > %OutputDir/../%Entity/.adm/f77.compile
+ $ touch %OutputDir/%BaseName.m
+ @end;
+
+ @template CMPLRS_C_CmdLine ( %CMPLRS_C_COMPILER ,
+ %CMPLRS_C_SysOptions ,
+ %CMPLRS_C_Options ,
+ %CMPLRS_C_ModeOpt ,
+ %CMPLRS_C_Export ,
+ %IncDirectives ,
+ %CMPLRS_Unit_C_Options ,
+ %CMPLRS_C_WOKDirectives ,
+ %CMPLRS_C_PDBName ,
+ %Files ,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile ) is
+ $%CMPLRS_C_COMPILER %CMPLRS_C_SysOptions %CMPLRS_C_Options %CMPLRS_C_ModeOpt %CMPLRS_C_Export %IncDirectives %CMPLRS_Unit_C_Options %CMPLRS_C_WOKDirectives %CMPLRS_C_PDBName %Files %DTmpFile
+
+ $if ( $status == 0 ) then
+ $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
+ $endif
+ $if( -e %TmpFile ) grep ':' %TmpFile
+ $/bin/rm -f %TmpFile
+ $set status = $stat
+ @end;
+
+
+ @template CMPLRS_CXX_CmdLine ( %CSF_CXX_COMPILER,
+ %CMPLRS_CXX_SysOptions,
+ %CMPLRS_CXX_Options ,
+ %CMPLRS_CXX_ModeOpt , %CMPLRS_CXX_DBMSOpt ,
+ %CSF_CXX_INCLUDE ,
+ %CMPLRS_CXX_WOKDirectives ,
+ %IncDirectives ,
+ %DBDirectives ,
+ %Source,
+ %BaseName,
+ %OutputDir ,
+ %TmpFile ) is
+ $%CSF_CXX_COMPILER %CMPLRS_CXX_SysOptions %CMPLRS_CXX_Options %CSF_CXX_INCLUDE %CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives %CMPLRS_CXX_WOKDirectives -c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+ $set stat = $status
+ $if ( $stat == 0 ) then
+ $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
+ $endif
+ $if( -e %TmpFile ) grep ':' %TmpFile
+ $/bin/rm -f %TmpFile
+ $set status = $stat
+ @end;
@endif;
@if ( ( %UnitType == "idl" || %UnitType == "server" || %UnitType == "executable" ) &&
%Station != "wnt"
) then
- @uses "ORBIX.edl";
+ --@uses "ORBIX.edl";
@if ( %Station == "sun" ) then
- @set %CMPLRS_CXX_Command = "/opt/DEV5_1/SUNWspro/bin/CC -PIC ";
+ @set %CMPLRS_CXX_Command = %CSF_CXX_COMPILER ;
@endif;
- @string %CMPLRS_CXX_Options += " -I" %ORBIX_Home "/include";
+ --@string %CMPLRS_CXX_Options += " -I" %ORBIX_Home "/include ";
@endif;
@endif;
@endif;
-
-- File: CSF.edl
--- Author: Jean GAUTIER
+-- Author: Jean GAUTIER - Jean Rahuel
-- History: Thu Mar 14 19:28:20 1996 Jean GAUTIER Creation
-- Copyright: Matra Datavision 1996
-@ifnotdefined ( %CSF_EDL) then
+-- Symbols for global WOK management
+
+@ifnotdefined ( %CSF_EDL ) then
@set %CSF_EDL = "";
+ @set %CSF_SYMBOLS = "C_COMPILER C_SysOptions C_Options CXX_COMPILER CXX_SysOptions CXX_Options F77_COMPILER F77_SysOptions F77_Options CSF_LINKER CXX_COMPILERLINKER CSF_VirtualDevice LINKER_DBMSOpt LINKER_SysShared LINKER_SysExeC LINKER_SysExeW LINKER_SysOpt LINKER_SysLib LINKER_CheckOpt LINKER_CheckOut LibraryHeaderLib LibraryHeaderOpt JavaHome JavaLibs C_INCLUDE CXX_INCLUDE TCL_INCLUDE JAVA_COMPILER JAVA_JNI JAVA_INCLUDE X11_INCLUDE XMU_INCLUDE MOTIF_INCLUDE OPENGL_INCLUDE SOCKETLibs FPELibs advapi32 gdi32 user32 glu32 opengl32 wsock32 dpsLibs XwLibs OpenGlLibs MotifLibs TclLibs TclTkLibs" ;
+
+-- Standard configuration will be :
+-- ==============================
+-- %CSF_USE_CDL = "Yes"
+-- see "ucreate -h", "uinfo -h", "w_info -h" and "wprocess -h"
+-- For executable units, default is now WITHOUT cdl processing
+-- %CSF_CREATE_FILES = "No"
+-- %CSF_CREATE_CLASSES = "No"
+-- %CSF_CREATE_GENERATED = "No"
+-- %CSF_CREATE_CGEN_FILES = "No"
+-- %CSF_USE_SOURCEINCLUDE = "No"
+-- %CSF_CREATE_COMP = "No"
+-- %CSF_ECHO_COMP = "No"
+-- %CSF_CREATE_DEP = "No"
+-- %CSF_USEFILES_COMP = "No"
+-- %CSF_CREATEOBJECTS = "No";
+-- %CSF_CREATE_LINK = "No"
+-- %CSF_ECHO_LINK = "No"
+-- %CSF_USE_EXTERNLIB = "Yes"
+
+
+
+
+
+-- if "Yes" ===> WOK will "extract" cdl files listed in FILES
+-- "generate" source and include files
+-- listed in GENERATED.files
+-- (not listed in FILES)
+-- if "No" ====> WOK will NOT "extract" cdl files
+-- NOT "generate" cxx, ixx, jxx & hxx files
+-- ( only for management team of CasCade sources :
+-- see "ucreate -h", "uinfo -h", "w_info -h" and "wprocess -h" for new options
+-- For executable units, default was WITHOUT cdl processing )
+-- For executable units, default is now WITH cdl processing )
+ @set %CSF_USE_CDL = "Yes";
+
+-- if "Yes" ===> Will force creation src/UdName/FILES
+-- after reading src/UdName/FILES
+-- extraction process (add .cdl and .cxx)
+-- add EXTERNLIB for toolkits and executables
+-- add PACKAGES for toolkits
+-- if "No" ====> If src/UdName/FILES does not exist,
+-- will create src/UdName/FILES
+-- after reading src/UdName/FILES
+-- will create CLASSES.files
+-- will create GENERATED.files ...
+-- ====> If src/UdName/FILES exists in src/UdName/
+-- will check existences of files
+-- will check CLASSES.files and update if necessary
+-- will check GENERATED.files and update if necessary
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_FILES = "No";
+
+-- if "Yes" ===> Will force creation src/UdName/CLASSES.files
+-- if "No" ====> Will check that files listed in src/UdName/CLASSES.files
+-- exist in src/UdName/ directory.
+-- With standard mode (%CSF_USE_CDL = "Yes"),
+-- if there is modifications of sources files, this file is
+-- updated automatically.
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_CLASSES = "No";
+
+-- if "Yes" ===> Will force creation src/UdName/GENERATED.files
+-- if "No" ====> Will check that files listed in src/UdName/GENERATED.files
+-- exist in drv/UdName/ and inc directories.
+-- With standard mode (%CSF_USE_CDL = "Yes"),
+-- if there is modifications of derivated files, this file is
+-- updated automatically.
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_GENERATED = "No";
+
+-- if "Yes" ===> will do obj.cgen step and generate lex/yacc files
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_CGEN_FILES = "No";
+
+-- if "Yes" ===> will accept .edl files with %WOKStepsDef_UseSourceInclude
+-- defined in src/UdName/UdName_WOKStepsDef.edl
+-- in order to add -I/.../src/UdName at compile time
+-- ( only for management team of CasCade sources )
+ @set %CSF_USE_SOURCEINCLUDE = "No";
+
+-- if "Yes" ===> will create compile .build file in src/UdName/
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_COMP = "Yes";
+
+-- if "Yes" ===> Echo of Compiler commands
+-- ( only for management team of CasCade sources )
+ @set %CSF_ECHO_COMP = "Yes";
+
+-- if "Yes" ===> will create .d files (include dependencies)
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATECOMP_DEP = "Yes";
+
+-- if "Yes" ===> will create OBJECTS.files (list of .o or .so files)
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATEOBJECTS = "Yes";
+
+-- if "Yes" ===> Will use FILES and GENERATED.files for compiling
+-- Not yet implemented
+-- if "No" ====> will use dependencies computed by WOK
+-- but controls that compiled files are listed in FILES,
+-- CLASSES.files or in GENERATED.files
+-- ( only for management team of CasCade sources )
+ @set %CSF_USEFILES_COMP = "No";
+
+-- if "Yes" ===> will create link .build file in src/UdName/
+-- ( only for management team of CasCade sources )
+ @set %CSF_CREATE_LINK = "Yes";
+
+-- if "Yes" ===> Echo of Link commands
+-- ( only for management team of CasCade sources )
+ @set %CSF_ECHO_LINK = "Yes";
+
+-- if "Yes" ===> will use EXTERNLIB file in Toolkits and Executables
+-- will use OBJECTS.files of units listed in PACKAGES in Toolkits
+-- will use OBJECTS.files in Executables
+-- if "No" ====> will use dependencies computed by WOK
+-- only for management team of CasCade sources
+ @set %CSF_USE_EXTERNLIB = "Yes";
+
+ @set %CSF_C_COMPILER = "";
+ @set %CSF_C_SysOptions = "";
+ @set %CSF_C_Options = "";
+
+ @set %CSF_CXX_COMPILER = "";
+ @set %CSF_CXX_SysOptions = "";
+ @set %CSF_CXX_Options = "";
+
+ @set %CSF_F77_COMPILER = "";
+ @set %CSF_F77_SysOptions = "";
+ @set %CSF_F77_Options = "";
+
+ @set %CSF_LINKER = "";
+ @set %CSF_CSF_VirtualDevice = "";
+ @set %CSF_LINKER_DBMSOpt = "";
+ @set %CSF_LINKER_SysShared = "";
+ @set %CSF_LINKER_SysExe = "";
+ @set %CSF_LINKER_SysExeC = "";
+ @set %CSF_LINKER_SysExeW = "";
+ @set %CSF_LINKER_SysOpt = "";
+ @set %CSF_LINKER_SysLib = "";
+ @set %CSF_LINKER_CheckOpt = "";
+ @set %CSF_LINKER_CheckOut = "";
+
+ @set %CSF_LibraryHeaderLib = "";
+ @set %CSF_LibraryHeaderOpt = "";
+
+ @set %CSF_JavaHome = "";
+ @set %CSF_JavaLibs = "";
+
+ @set %CSF_C_INCLUDE = "";
+ @set %CSF_CXX_INCLUDE = "";
+
+ @set %CSF_TCL_HOME = "";
@set %CSF_TCL_INCLUDE = "";
+ @set %CSF_JAVA_INCLUDE = "";
@set %CSF_X11_INCLUDE = "";
+ @set %CSF_X11_INCLUDE_EXTENSION = "";
@set %CSF_XMU_INCLUDE = "";
@set %CSF_MOTIF_INCLUDE = "";
@set %CSF_OPENGL_INCLUDE = "";
@set %CSF_dpsLibs = "" ;
@set %CSF_XwLibs = "" ;
@set %CSF_OpenGlLibs = "" ;
+ @set %CSF_MotifLibs = "" ;
@set %CSF_TclLibs = "" ;
@set %CSF_TclTkLibs = "" ;
@set %CSF_STANDARDDB = "StandardOBJS";
@endif;
+
+
+
+ @if ( %Station == "lin" ) then
+ @if ( %DBMS == "OBJS" ) then
+ @set %CSF_OODBLibs = "";
+ @endif;
+
+ @set %CSF_CXX_COMPILER = "/usr/bin/g++ ";
+ @set %CSF_CXX_SysOptions = "-fPIC -funsigned-char -Wall ";
+ @set %CSF_CXX_Options = "-DLIN -DLININTEL -DNO_CXX_EXCEPTION ";
+
+ @set %CSF_C_COMPILER = "/usr/bin/gcc ";
+ @set %CSF_C_SysOptions = "-fPIC -funsigned-char -Wall";
+ @set %CSF_C_Options = "-DLIN -DLININTEL ";
+
+ @set %CSF_F77_COMPILER = "/usr/bin/f77 ";
+ @set %CSF_F77_SysOptions = "-fPIC ";
+
+ @set %CSF_LINKER = "/usr/bin/ld ";
+ @set %CSF_CXX_COMPILERLINKER = %CSF_CXX_COMPILER ;
+ @set %CSF_LINKER_DBMSOpt = "";
+ @set %CSF_LINKER_SysShared = "-shared ";
+ @set %CSF_LINKER_SysExe = "";
+ @set %CSF_LINKER_SysOpt = "";
+ @set %CSF_LINKER_SysLib = "-ldl -lc ";
+ @set %CSF_LINKER_CheckOpt = "-nostartfiles ";
+ @set %CSF_LINKER_CheckOut = "-o /dev/null ";
+
+ @set %CSF_SOCKETLibs = " -ldl" ;
+
+ @set %CSF_TCL_HOME = "/usr";
+ @set %CSF_TCL_INCLUDE = "-I%CSF_TCL_HOME/include ";
+
+ @set %CSF_JavaHome = "/opt/jdk1.2.2";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/linux ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
+
+ @set %CSF_X11_INCLUDE = "-I/usr/X11R6/include ";
+ @set %CSF_OPENGL_INCLUDE = "-I/usr/X11R6/include ";
+
+ @set %X11_LIB = "/usr/X11R6/lib";
+
+ @string %CSF_XwLibs = "-L" %X11_LIB " -lX11 -lXext -lXmu -lXi ";
+
+ @string %CSF_OpenGlLibs = "-L" %X11_LIB " -lGLU -lGL -lglut " ;
+
+ @string %CSF_TclLibs = "-L" %CSF_TCL_HOME "/lib -Xlinker -rpath -Xlinker " %CSF_TCL_HOME "/lib -ltcl";
+ @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -Xlinker -rpath -Xlinker " %CSF_TCL_HOME "/lib -ltk -L" %X11_LIB " -lX11";
+ @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 -lsunmath -lm -ldl" ;
- @set %CSF_RISCRETURNObject = "/adv_23/KL/dev/ref/src/EngineStarter/risc_return.o" ;
+ @set %CSF_CXX_COMPILER = "/opt/DEV5_1/SUNWspro/bin/CC ";
+ @set %CSF_CXX_SysOptions = "-PIC -xchip=ultra -xarch=v8 -vdelx -Usun " ;
+ @set %CSF_CXX_Options = "-DSOLARIS -DNO_CXX_EXCEPTION " ;
+ @set %CSF_CXX_INCLUDE = "-I/opt/DEV5_1/SUNWspro/SC4.2/include/CC ";
+
+ @set %CSF_C_COMPILER = "/opt/DEV5_1/SUNWspro/bin/cc ";
+ @set %CSF_C_SysOptions = "-K PIC -Usun ";
+ @set %CSF_C_Options = "-DSOLARIS ";
+ @set %CSF_C_INCLUDE = "";
+
+ @set %CSF_F77_COMPILER = "f77 ";
+ @set %CSF_F77_SysOptions = "-PIC";
+
+ @set %CSF_LINKER = "/usr/ccs/bin/ld ";
+ @set %CSF_CXX_COMPILERLINKER = %CSF_CXX_COMPILER ;
+ @if ( %DBMS == "OBJS" ) then
+ @set %CSF_LINKER_DBMSOpt = "-mt ";
+ @endif;
+ @set %CSF_LINKER_SysShared = "-G ";
+ @set %CSF_LINKER_SysExe = "";
+ @set %CSF_LINKER_SysOpt = "-xchip=ultra -xarch=v8 ";
+ @set %CSF_LINKER_SysLib = "";
+ @set %CSF_LINKER_CheckOpt = "";
+ @set %CSF_LINKER_CheckOut = "-o /dev/null ";
+
+ @set %CSF_JavaHome = "/PRODUCTS/java/jdk1.2";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/solaris ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
- @set %PHIGS_LIB = "/opt/SUNWits/Graphics-sw/sunphigs-3.0/lib";
- @set %XGL_LIB = "/opt/SUNWits/Graphics-sw/xgl-3.0/lib";
- @set %MOTIF_LIB = "/usr/dt/lib";
- @set %CSF_TCL_INCLUDE = "/usr/tcltk/include ";
+ @set %CSF_SOCKETLibs = "-lsocket -lnsl -lsunmath -lm -ldl -lC -lc " ;
+ --@set %CSF_RISCRETURNObject = "/adv_23/KL/dev/ref/src/EngineStarter/risc_return.o" ;
+ @set %CSF_RISCRETURNObject = "/missing/missing/risc_return.o" ;
+
+ @string %CSF_JavaLibs = " -L" %CSF_JavaHome "/jre/lib/sparc/ -ljava ";
+
+ @set %CSF_TCL_HOME = "/usr/tcltk";
+ @string %CSF_TCL_INCLUDE = "-I" %CSF_TCL_HOME "/include/itcl ";
+
+ @set %CSF_X11_INCLUDE = "-I/usr/openwin/include/X11 ";
+ @set %CSF_OPENGL_INCLUDE = "-I/usr/openwin/include ";
+
+ @string %CSF_TclLibs = "-L" %CSF_TCL_HOME "/lib -R" %CSF_TCL_HOME "/lib -ltcl ";
+ @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -R" %CSF_TCL_HOME "/lib -ltk ";
@set %X11_LIB = "/usr/openwin/lib";
@string %CSF_dpsLibs = "-L" %X11_LIB " -ldps" ;
@string %CSF_XwLibs = "-L" %X11_LIB " -lX11 -lXext -lXmu";
@string %CSF_OpenGlLibs = "-L" %X11_LIB " -lGLU -lGL " ;
- @string %CSF_MotifLibs = "-L" %MOTIF_LIB " -lXm -L"%X11_LIB " -lXt -lX11 " ;
+ @string %CSF_MotifLibs = "-L/usr/dt/lib -lXm -L" %X11_LIB " -lXt -lX11";
+
+ @endif;
+
+
+
+ @if (%Station == "wnt") then
+
+ @set %CSF_CXX_COMPILER = "D:/DevTools/VStudio/VC98/bin/cl ";
+ @set %CSF_CXX_SysOptions = "-nologo -MD -W3 -GX -Ob1 -Zi ";
+ @set %CSF_CXX_Options = "-DWNT -D_WINDOWS -DWIN32 ";
+
+ @set %CSF_C_COMPILER = "D:/DevTools/VStudio/VC98/bin/cl ";
+ @set %CSF_C_SysOptions = "-nologo -MD -W3 -GX -Ob1 -Zi ";
+ @set %CSF_C_Options = "-DWNT -D_WINDOWS -DWIN32 ";
+
+ @set %CSF_F77_COMPILER = "D:/DevTools/VStudio/DF98/bin/fl32 ";
+ @set %CSF_F77_SysOptions = "-nologo -libs:dll -Zi ";
+
+ @set %CSF_LINKER = "D:/DevTools/VStudio/VC98/bin/link ";
+ @set %CSF_CXX_COMPILERLINKER = %CSF_LINKER ;
+ @set %CSF_VirtualDevice = "Q:";
+ @set %CSF_LINKER_DBMSOpt = "";
+ @set %CSF_LINKER_SysShared = "-subsystem:windows -dll ";
+ @set %CSF_LINKER_SysExe = "CSF_LINKER_SysExeC";
+ @set %CSF_LINKER_SysExeC = "-subsystem:CONSOLE";
+ @set %CSF_LINKER_SysExeW = "-subsystem:WINDOWS";
+ @set %CSF_LINKER_SysOpt = "-nologo -incremental:no -machine:IX86 -debug ";
+ @set %CSF_LINKER_SysLib = "";
+
+ @set %CSF_LibraryHeaderLib = "D:/DevTools/VStudio/VC98/bin/lib ";
+ @set %CSF_LibraryHeaderOpt = "-nologo ";
+
+ @string %CSF_JavaHome = "D:/AppTools/jdk1.2.2";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/win32 ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
+
+ @set %CSF_TCL_HOME = "D:/DevTools/TclTk";
+ @set %CSF_TCL_INCLUDE = "%CSF_TCL_HOME/include ";
+ @set %CSF_TclLibs = "%CSF_TCL_HOME/lib/tcl76i.lib";
+
+ @set %CSF_OpenGlLibs = "opengl32.lib glu32.lib" ;
+
+ @set %CSF_advapi32 = "advapi32.lib" ;
+ @set %CSF_gdi32 = "gdi32.lib" ;
+ @set %CSF_user32 = "user32.lib" ;
+ @set %CSF_glu32 = "glu32.lib" ;
+ @set %CSF_opengl32 = "opengl32.lib" ;
+ @set %CSF_wsock32 = "wsock32.lib" ;
+
- @set %CSF_TclLibs = "-L/usr/tcltk/lib -R /usr/tcltk/lib -ltcl7.5i";
- @set %CSF_TclTkLibs = "-L/usr/tcltk/lib -R /usr/tcltk/lib -ltk4.1i";
@endif;
@if ( %Station == "ao1" ) then
@set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop";
@endif;
- @set %CSF_TCL_INCLUDE = "/usr/tcltk/include ";
+ @set %CSF_C_COMPILER = "cc ";
+ @set %CSF_CXX_COMPILER = "/usr/bin/cxx ";
+ @set %CSF_F77_COMPILER = "";
+
+ @set %CSF_TCL_HOME = "/usr/tcltk";
+ @set %CSF_TCL_INCLUDE = "-I%CSF_TCL_HOME/include ";
+
+ @string %CSF_JavaHome = "/missing/JavaHome";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/ultrix ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
@set %X11_LIB = "/usr/shlib";
@string %CSF_XwLibs = "-L" %X11_LIB " -lX11 -lXext -lXmu";
@set %CSF_dpsLibs = "-ldps" ;
- @set %CSF_TclLibs = "-L/usr/tcltk/lib -rpath /usr/tcltk/lib -ltcl7.5i";
+ @set %CSF_TclLibs = "-L%CSF_TCL_HOME/lib -rpath %CSF_TCL_HOME/lib -ltcl";
@endif;
@if ( %Station == "sil" ) then
@set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.3/lib/ -los -losths -loscol -losmop";
@endif;
+ @set %CSF_C_COMPILER = "cc ";
+ @set %CSF_C_SysOptions = " -signed -n32 -mips3 ";
+
+ @set %CSF_CXX_COMPILER = "/usr/bin/CC ";
+ @set %CSF_CXX_SysOptions = " -signed -n32 -mips3 -no_prelink -woff 3115 -woff 3273 -woff 1021 -woff 1188 ";
+
+
+ @set %CSF_F77_COMPILER = "f77 ";
+
@set %CSF_FPELibs = "-L/usr/lib32 -lfpe" ;
- @set %CSF_TCL_INCLUDE = "/usr/tcltk/include ";
+ @set %CSF_TCL_HOME = "/usr/tcltk.64";
+ @set %CSF_TCL_INCLUDE = "-I%CSF_TCL_HOME/include ";
+
+ @set %CSF_X11_INCLUDE_EXTENSION = " -I/usr/include/X11/extensions ";
+
+
+
+ @string %CSF_JavaHome = "/missing/JavaHome";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/irix ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
+
@set %X11_LIB = "/usr/lib32";
@set %CSF_dpsLibs = "-L/usr/lib32 -ldps" ;
@string %CSF_XwLibs = "-L" %X11_LIB " -lX11 -lXext -lXmu";
@string %CSF_OpenGlLibs = "-L" %X11_LIB " -lGLU -lGL " ;
- @string %CSF_MotifLibs = " -lXm -lXt -lX11 " ;
- @set %CSF_TclLibs = "-L/usr/tcltk.64/lib -rpath /usr/tcltk.64/lib -ltcl7.5i";
- @set %CSF_TclTkLibs = "-L/usr/tcltk.64/lib -rpath /usr/tcltk.64/lib -ltk4.1i";
+ @set %CSF_TclLibs = "-L%CSF_TCL_HOME/lib -rpath %CSF_TCL_HOME/lib -ltcl";
+ @set %CSF_TclTkLibs = "-L%CSF_TCL_HOMElib -rpath %CSF_TCL_HOME/lib -ltk";
@endif;
@if ( %Station == "hp" ) then
@set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop";
@endif;
- @set %CSF_TCL_INCLUDE = "/adv_53/hp/jr/tcltk/include ";
+ @set %CSF_C_COMPILER = "cc ";
+ @set %CSF_CXX_COMPILER = "/opt/aCC/bin/aCC ";
+ @set %CSF_F77_COMPILER = "f77 ";
+
+ @set %CSF_TCL_HOME = "/missing/missing ";
+ @set %CSF_TCL_INCLUDE = "-I%CSF_TCL_HOME/include ";
- @set %CSF_X11_INCLUDE = "/usr/include/X11R6";
- @set %CSF_XMU_INCLUDE = "/usr/contrib/X11R6/include";
- @set %CSF_MOTIF_INCLUDE = "/usr/include/Motif1.2";
- @set %CSF_OPENGL_INCLUDE = "/opt/graphics/OpenGL/include";
+ @set %CSF_X11_INCLUDE = "-I/usr/include/X11R6 ";
+ @set %CSF_XMU_INCLUDE = "-I/usr/contrib/X11R6/include ";
+ @set %CSF_MOTIF_INCLUDE = "-I/usr/include/Motif1.2 ";
+ @set %CSF_OPENGL_INCLUDE = "-I/opt/graphics/OpenGL/include ";
@set %CSF_SOCKETLibs = "" ;
@set %OPENGL_LIB = "/opt/graphics/OpenGL/lib";
- --@string %CSF_XwLibs = "-L" %X11_LIB " -L" %XMU_LIB " -lX11 -lXext -lXmu";
@string %CSF_XwLibs = "-L" %X11_LIB " -lX11 -lXext -L" %XMU_LIB " -lXmu";
@string %CSF_OpenGlLibs = "-L" %OPENGL_LIB " -lGLU -lGL ";
- --@set %CSF_TclLibs = "-L/usr/tcltk/lib/itcl -ltcl7.5i";
- @set %CSF_TclLibs = "-L/adv_53/hp/jr/tcltk/lib -ltcl";
- --@set %CSF_TclTkLibs = "-L/usr/tcltk/lib/itcl -ltk4.1i";
- @set %CSF_TclTkLibs = "-L/adv_53/hp/jr/tcltk/lib -ltk";
- @endif;
-
-@if (%Station == "wnt") then
-
- @set %CSF_advapi32 = "advapi32.lib" ;
- @set %CSF_gdi32 = "gdi32.lib" ;
- @set %CSF_user32 = "user32.lib" ;
- @set %CSF_glu32 = "glu32.lib" ;
- @set %CSF_opengl32 = "opengl32.lib" ;
- @set %CSF_wsock32 = "wsock32.lib" ;
-
- @set %CSF_TCL_INCLUDE = "D:/DevTools/TclTk/include ";
-
- @set %X11_LIB = "";
+ @set %CSF_TclLibs = "-L%CSF_TCL_HOME/lib -ltcl";
+ @set %CSF_TclTkLibs = "-L%CSF_TCL_HOME/lib -ltk";
- @string %CSF_XwLibs = "";
-
- @set %CSF_TclLibs = "D:/DevTools/TclTk/lib/tcl76i.lib";
-
-@endif;
-
- @if ( %Station == "lin" ) then
- @if ( %DBMS == "OBJS" ) then
- @set %CSF_OODBLibs = "";
- @endif;
- @set %CSF_SOCKETLibs = " -ldl" ;
- @set %CSF_TCL_INCLUDE = "/usr/include ";
+ @string %CSF_JavaHome = "/missing/JavaHome";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/hp-ux ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
- @set %X11_LIB = "/usr/X11R6/lib";
---- POP : pour Mesa 3.0 on utilise MesaGL et MesaGLU
---- A partir de Mesa 3.1 on peut utiliser GL et GLU
- @set %CSF_XwLibs = "-L/usr/X11R6/lib -lX11 -lXext -lXmu -lMesaGL -lMesaGLU -lglut -lXi";
---- @set %CSF_XwLibs = "-L/usr/X11R6/lib -lX11 -lXext -lXmu -lGL -lGLU -lglut -lXi";
- @set %CSF_TclLibs = "-L/usr/lib -Xlinker -rpath -Xlinker /usr/lib -ltcl8.0";
- @set %CSF_TclTkLibs = "-L/usr/lib -Xlinker -rpath -Xlinker /usr/lib -ltk8.0 -L/usr/X11R6/lib -lX11";
@endif;
@if ( %Station == "aix" ) then
@set %CSF_OODBLibs = "";
@endif;
+ @set %CSF_C_COMPILER = "xlC_r ";
+ @set %CSF_CXX_COMPILER = "xlC_r ";
+ @set %CSF_F77_COMPILER = "/usr/bin/f77 ";
+
@set %CSF_SOCKETLibs = " " ;
- @set %CSF_TCL_INCLUDE = "/usr/local/include ";
+ @set %CSF_TCL_HOME = "/missing/missing ";
+ @set %CSF_TCL_INCLUDE = "-I%CSF_TCL_HOME/include ";
@set %X11_LIB = "/usr/lpp/X11/lib/R6";
@set %CSF_XwLibs = "-L/usr/lpp/X11/lib/R6 -lX11 -lXext -lXmu ";
@set %OPENGL_LIB = "/usr/lpp/OpenGL/lib";
@string %CSF_OpenGlLibs = "-L" %OPENGL_LIB " -lGLU -lGL ";
- @set %CSF_TclLibs = "-I/usr/local/lib/libtcl8.1.exp ";
- @set %CSF_TclTkLibs = "-I/usr/local/lib/libtk8.1.exp ";
+ @set %CSF_TclLibs = "-I%CSF_TCL_HOME/lib/libtcl.exp ";
+ @set %CSF_TclTkLibs = "-I%CSF_TCL_HOME/lib/libtk.exp ";
+
+
+ @string %CSF_JavaHome = "/missing/JavaHome";
+ @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/aix ";
+ @set %CSF_JAVA_COMPILER = "javac";
+ @set %CSF_JAVA_JNI = "javah";
+
+
@endif;
+ @set %CSF_TCL_HOME = "/PRODUCTS/tcltk-83";
+ @string %CSF_TCL_INCLUDE = %CSF_TCL_HOME "/include ";
+ @string %CSF_TclLibs = "-L" %CSF_TCL_HOME "/lib -R" %CSF_TCL_HOME "/lib -ltcl ";
+ @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -R" %CSF_TCL_HOME "/lib -ltk ";
@endif;