) 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;
%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
@set %CMPLRS_F77_Options = "-fPIC";
@set %CMPLRS_C_Command = "/usr/bin/gcc -fPIC";
- @set %CMPLRS_C_Options = "-DLIN -DLININTEL -DCSFDB -funsigned-char -Wall";
+ @set %CMPLRS_C_Options = " -DLIN -DLININTEL -DCSFDB -funsigned-char -Wall";
@template CMPLRS_C_OptLine (
%CMPLRS_C_Command, %CMPLRS_C_Options, %CMPLRS_C_ModeOpt, %IncDirectives
@end;
@set %CMPLRS_CXX_Command = "/usr/bin/g++ -fPIC";
- @set %CMPLRS_CXX_Options = "-DLIN -DLININTEL -DCSFDB -DNO_CXX_EXCEPTION -funsigned-char -Wall";
+ @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,
) 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
@if ( %Station == "aix" ) then
@if ( %DebugMode == "True" ) then
- @set %CMPLRS_CXX_ModeOpt = "-g0 -DDEB -D_DEBUG";
- @set %CMPLRS_C_ModeOpt = "-g0 -DDEB -D_DEBUG";
+ @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 ";
) 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;
%CMPLRS_CXX_DBMSOpt, %IncDirectives, %DBDirectives, %Source,
%BaseName, %OutputDir, %TmpFile
) is
+ $cd %OutputDir
$%CMPLRS_CXX_Command %CMPLRS_CXX_Options \^
+ $-I/usr/java_dev2/include \
$%CMPLRS_CXX_DBMSOpt %CMPLRS_CXX_ModeOpt %IncDirectives %DBDirectives \^
- $-c %Source -o %OutputDir/%BaseName.o >& %TmpFile
+ $-M -c %Source -o %OutputDir/%BaseName.o
$set stat = $status
$if ( $stat == 0 ) then
- $ sed -e 's/ //g' -e '/:/d' %TmpFile | sort -u > %OutputDir/%BaseName.m
+ $ sed -e 's#%OutputDir/%BaseName.o:##g' %BaseName.u | sort -u > %OutputDir/%BaseName.m
$endif
- $if( -e %TmpFile ) grep ':' %TmpFile
- $/bin/rm -f %TmpFile
+ $/bin/rm -f %BaseName.u
$set status = $stat
@end;
+
+
@endif;
@if ( defined( %UnitType ) ) then
@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 " ;
@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";
@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";
@ifnotdefined ( %JAVA_EDL ) then
@set %JAVA_EDL = "";
- @set %JAVA_Home = "/PRODUCTS/java/jdk1.2.2.2";
+ @set %JAVA_Home = "/PRODUCTS/java/jdk1.2.2";
@if ( %Station == "sun" ) then
@set %JAVA_Home = "/PRODUCTS/java/jdk1.2.2";
@endif;
@if ( %Station == "sil" ) then
- @set %JAVA_Home = "/PRODUCTS/java/jdk1.2";
+ @set %JAVA_Home = "/PRODUCTS/java1.2.2";
@endif;
@if ( %Station == "lin" ) then
- @set %JAVA_Home = "/PRODUCTS/java/jdk1.2.2";
+ @set %JAVA_Home = "/PRODUCTS/java/jdk1.2";
@endif;
@if ( %Station == "wnt" ) then
@set %JAVA_Home = "D:/jdk1.2.2";
@endif;
+ @if ( %Station == "aix" ) then
+ @set %JAVA_Home = "/usr/java_dev2";
+ @endif;
@string %JAVA_Command = %JAVA_Home "/bin/javac";
@string %JAVA_HeaderCommand = %JAVA_Home "/bin/javah";