From f0fccb84f30fd4abcdeddee4e22de5211211b6f9 Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 4 Jul 2003 22:31:32 +0000 Subject: [PATCH] Makefile.am, Makefile.in, VS6.0 projects and workspaces *.tcl, templates, FILES --- src/WOKBuilderDef/CSF.edl | 278 ++++++++++++++++++++++++-------------- 1 file changed, 173 insertions(+), 105 deletions(-) diff --git a/src/WOKBuilderDef/CSF.edl b/src/WOKBuilderDef/CSF.edl index f154f8b..6f50d04 100755 --- a/src/WOKBuilderDef/CSF.edl +++ b/src/WOKBuilderDef/CSF.edl @@ -1,25 +1,132 @@ --- WOK Build process configuration file. --- This file contains the definiton of parameters used during compilation --- and link process launched by the commands umake or wprocess. --- The items you have to modify are surrounded py a comment beginning with the --- string "--<> - @set %CSF_WOKHOME = "/adv_11/KAS/BAG/wok-dev" ; --->> END TODO +-- 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_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" + + + @set %CSF_WOKHOME = "$WOKHOME" ; + + +-- 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 = "Yes"; + +-- 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 = "Yes"; + +-- 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 = ""; @@ -102,32 +209,26 @@ @set %CSF_STANDARDDB = "StandardOBJS"; @endif; - -- - -- For Linux platforms - -- + + + @if ( %Station == "lin" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = ""; @endif; - --<< TODO : If applicable , modify the location of the C++ compiler. @set %CSF_CXX_COMPILER = "/usr/bin/g++ "; - -->> END TODO - + --- @set %CSF_CXX_COMPILER = "/PRODUCTS/Linux/gcc-3.2/bin/g++ "; @set %CSF_CXX_SysOptions = "-fPIC -funsigned-char -Wall "; @set %CSF_CXX_Options = "-DLIN -DLININTEL -DNO_CXX_EXCEPTION "; - --<< TODO : If applicable , modify the location of the c compiler. @set %CSF_C_COMPILER = "/usr/bin/gcc "; - -->> END TODO - - @set %CSF_C_SysOptions = "-fPIC -funsigned-char -Wall"; + ---@set %CSF_C_COMPILER = "/PRODUCTS/Linux/gcc-3.2/bin/gcc "; + @set %CSF_C_SysOptions = "-fPIC -funsigned-char -Wall "; @set %CSF_C_Options = "-DLIN -DLININTEL "; - --<< TODO : If applicable , modify the location of the Fortran compiler. - @set %CSF_F77_COMPILER = "/usr/bin/f77 "; - -->> END TODO - + @set %CSF_F77_COMPILER = "/usr/bin/g77 "; + ----@set %CSF_F77_COMPILER = "/PRODUCTS/Linux/gcc-3.2/bin/g77 "; @set %CSF_F77_SysOptions = "-fPIC "; @set %CSF_LINKER = "/usr/bin/ld "; @@ -137,20 +238,15 @@ @set %CSF_LINKER_SysExe = ""; @set %CSF_LINKER_SysOpt = ""; @set %CSF_LINKER_SysLib = "-ldl -lc "; - @set %CSF_LINKER_CheckOpt = "-nostartfiles "; + @set %CSF_LINKER_CheckOpt = "-nostartfiles"; @set %CSF_LINKER_CheckOut = "-o /dev/null "; + @set %CSF_SOCKETLibs = " -ldl" ; - --<< TODO : If applicable , modify the root location where TCL is installed." @set %CSF_TCL_HOME = "/usr"; - -->> END TODO - @string %CSF_TCL_INCLUDE = %CSF_TCL_HOME "/include "; - --<< TODO : If applicable , modify the root location where Java is installed." - @set %CSF_JavaHome = "/opt/jdk1.2.2"; - -->> END TODO - + @set %CSF_JavaHome = "/PRODUCTS/java/jdk_lin1.3.1"; @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/linux "; @set %CSF_JAVA_COMPILER = "javac"; @set %CSF_JAVA_JNI = "javah"; @@ -168,27 +264,19 @@ @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -ltk -L" %X11_LIB " -lX11"; @endif; - -- - -- For SunOS platforms - -- + @if ( %Station == "sun" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/sunpro/lib/ -los -losthr -loscol -losmop"; @endif; - --<< TODO : If applicable , modify the location of the C++ compiler. - @set %CSF_CXX_COMPILER = "/opt/DEV5_1/SUNWspro/bin/CC"; - -->> END TODO - +-- @set %CSF_CXX_COMPILER = "/home/forte/SUNWspro/bin/CC "; + @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 " ; - --yan @string %CSF_CXX_INCLUDE += " -I/opt/DEV5_1/SUNWspro/SC4.2/include/CC "; - @string %CSF_CXX_INCLUDE += " -I" %CSF_CXX_COMPILER "/../../SC4.2/include/CC "; + @string %CSF_CXX_INCLUDE += " -I/opt/DEV5_1/SUNWspro/SC4.2/include/CC "; - --<< TODO : If applicable , modify the location of the c compiler. @set %CSF_C_COMPILER = "/opt/DEV5_1/SUNWspro/bin/cc "; - -->> END TODO - @set %CSF_C_SysOptions = "-K PIC -Usun "; @set %CSF_C_Options = "-DSOLARIS "; @@ -207,62 +295,51 @@ @set %CSF_LINKER_CheckOpt = ""; @set %CSF_LINKER_CheckOut = "-o /dev/null "; - --<< TODO : If applicable , modify the root location where Java is installed." - @set %CSF_JavaHome = "/PRODUCTS/java/jdk1.2"; - -->> END TODO - + @set %CSF_JavaHome = "/PRODUCTS/java/j2sdk1_3_1"; @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/solaris "; - @string %CSF_JavaLibs = " -L" %CSF_JavaHome "/jre/lib/sparc/ -ljava "; @set %CSF_JAVA_COMPILER = "javac"; @set %CSF_JAVA_JNI = "javah"; - @set %CSF_SOCKETLibs = "-lsocket -lnsl -lsunmath -lm -ldl -lc " ; - @set %CSF_RISCRETURNObject = "/missing/missing/risc_return.o" ; - --<< TODO : If applicable , modify the root location where TCL is installed." - @set %CSF_TCL_HOME = "/PRODUCTS/tcltk-83"; - -->> END TODO + @set %CSF_SOCKETLibs = "-lsocket -lnsl -lsunmath -lm -ldl -lc" ; + --@set %CSF_RISCRETURNObject = "/adv_23/KL/dev/ref/src/EngineStarter/risc_return.o" ; + --@set %CSF_RISCRETURNObject = "/missing/missing/risc_return.o" ; + @set %CSF_RISCRETURNObject = "/dn04/KAS/C40/Gallery/src/EngineStarter/risc_return.o" ; + @string %CSF_JavaLibs = " -L" %CSF_JavaHome "/jre/lib/sparc/ -ljava "; + @set %CSF_TCL_HOME = "/PRODUCTS/tcltk-83"; + --@set %CSF_TCL_HOME = "/usr/tcltk"; @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 "; - - @set %X11_LIB = "/usr/openwin/lib"; - @set %CSF_X11_INCLUDE = "-I/usr/openwin/include/X11 "; + @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_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/usr/dt/lib -lXm -L" %X11_LIB " -lXt -lX11"; - + @set %CSF_EUCF77Libs = "-L/opt/DEV4_2/SUNWspro/lib -lF77 -lM77 -lsunmath -lcurses"; + @set %CSF_F77Libs = "-L/opt/DEV4_2/SUNWspro/lib -lF77 -lM77 -lsunmath -lcurses"; @endif; - -- - -- For Windows platform. The lines below works with MS Visual Studio installed on D:/DevTools - -- + @if (%Station == "wnt") then - --<< TODO : If applicable , modify the root location where C++ compiler is installed." @set %CSF_CXX_COMPILER = "D:/DevTools/VStudio/VC98/bin/cl "; - -->> END TODO - @set %CSF_CXX_SysOptions = "-nologo -MD -W3 -GX -Ob1 -Zi "; @set %CSF_CXX_Options = "-DWNT -D_WINDOWS -DWIN32 "; - --<< TODO : If applicable , modify the root location where c compiler is installed (same as above)." @set %CSF_C_COMPILER = "D:/DevTools/VStudio/VC98/bin/cl "; - -->> END TODO - @set %CSF_C_SysOptions = "-nologo -MD -W3 -GX -Ob1 -Zi "; @set %CSF_C_Options = "-DWNT -D_WINDOWS -DWIN32 "; - --<< TODO : If applicable , modify the root location where the Fortran compiler is installed." @set %CSF_F77_COMPILER = "D:/DevTools/VStudio/DF98/bin/fl32 "; - -->> END TODO - @set %CSF_F77_SysOptions = "-nologo -libs:dll -Zi "; @set %CSF_LINKER = "D:/DevTools/VStudio/VC98/bin/link "; @@ -279,18 +356,15 @@ @set %CSF_LibraryHeaderLib = "D:/DevTools/VStudio/VC98/bin/lib "; @set %CSF_LibraryHeaderOpt = "-nologo "; - --<< TODO : If applicable , modify the root location where Java is installed." - @string %CSF_JavaHome = "D:/AppTools/jdk1.2.2"; - -->> END TODO - + @string %CSF_JavaHome = "D:/AppTools/jdk1.3.1"; @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"; @string %CSF_TCL_INCLUDE = %CSF_TCL_HOME "/include "; - @string %CSF_TclLibs = %CSF_TCL_HOME "/lib/tcl76i.lib"; - + @string %CSF_TclLibs = %CSF_TCL_HOME "/lib/tcl83.lib"; + @string %CSF_TclTkLibs = %CSF_TCL_HOME "/lib/tk83.lib"; @set %CSF_OpenGlLibs = "opengl32.lib glu32.lib" ; @set %CSF_advapi32 = "advapi32.lib" ; @@ -303,9 +377,6 @@ @endif; - -- - -- The Dec Ultrix platform is not supported - -- @if ( %Station == "ao1" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop"; @@ -331,54 +402,52 @@ @string %CSF_TclTkLibs = %CSF_TCL_HOME "/lib -rpath " %CSF_TCL_HOME "/lib -ltcl"; @endif; - -- - -- The IRIX platform is not currently supported - -- @if ( %Station == "sil" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.3/lib/ -los -losths -loscol -losmop"; @endif; + + @set %CSF_LINKER_SysShared = " -shared "; @set %CSF_C_COMPILER = "cc "; @set %CSF_C_SysOptions = " -signed -n32 -mips3 "; @set %CSF_C_Options = "-DIRIX "; @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_CXX_Options = "-DIRIX -DNO_CXX_EXCEPTION " ; + @set %CSF_CXX_SysOptions = " -signed -n32 -mips3 -no_prelink -woff 3115 -woff 3273 -woff 1021 -woff 1188"; + @set %CSF_CXX_Options = "-I/usr/include/CC -DIRIX -DNO_CXX_EXCEPTION " ; - @set %CSF_F77_COMPILER = "f77 "; - @set %CSF_LINKER_SysShared = " -shared "; + @set %CSF_F77_COMPILER = "f77 "; + @set %CSF_F77_SysOptions = "-n32 -mips3"; @set %CSF_FPELibs = "-L/usr/lib32 -lfpe" ; @set %CSF_TCL_HOME = "/usr/tcltk.64"; - @string %CSF_TCL_INCLUDE = %CSF_TCL_HOME "/include "; + @string %CSF_TCL_INCLUDE = "/usr/tcltk/include/itcl "; @set %CSF_X11_INCLUDE_EXTENSION = " -I/usr/include/X11/extensions "; - @string %CSF_JavaHome = "/missing/JavaHome"; + @string %CSF_JavaHome = "/PRODUCTS/java/j2sdk1_3_sil"; @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_XextLibs = "-lXext"; @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 = "-L" %X11_LIB " -lXm -lXt -lX11 "; - @string %CSF_TclLibs = "-L" %CSF_TCL_HOME "/lib -rpath " %CSF_TCL_HOME "/lib -ltcl"; - @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -rpath " %CSF_TCL_HOME "/lib -ltk"; + @string %CSF_TclLibs = " -L/usr/tcltk.64/lib/itcl -rpath /usr/tcltk.64/lib -ltcl7.5i -L/usr/lib32"; + @string %CSF_TclTkLibs = "-L/usr/tcltk.64/lib/itcl -rpath /usr/tcltk.64/lib -ltk4.1i -L/usr/lib32 -lX11"; @endif; - -- - -- The HP-UX platform is not currently supported - -- @if ( %Station == "hp" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = " -L/PRODUCTS/OS4.0.2/lib/ -los -losthr -loscol -losmop"; @@ -413,6 +482,8 @@ @string %CSF_TclLibs = "-L" %CSF_TCL_HOME "/lib -ltcl"; @string %CSF_TclTkLibs = "-L" %CSF_TCL_HOME "/lib -ltk"; + + @string %CSF_JavaHome = "/missing/JavaHome"; @string %CSF_JAVA_INCLUDE = "-I" %CSF_JavaHome "/include -I" %CSF_JavaHome "/include/hp-ux "; @set %CSF_JAVA_COMPILER = "javac"; @@ -421,9 +492,6 @@ @endif; - -- - -- The AIX platform is not currently supported - -- @if ( %Station == "aix" ) then @if ( %DBMS == "OBJS" ) then @set %CSF_OODBLibs = ""; -- 2.39.5