- Timestamp:
- Sep 17, 2003, 2:20:44 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Eval/JET/makefile
r2363 r2437 14 14 # USERFLAGS := -I/.../myincludes 15 15 16 include $( DPCBASEREP)/Include/MakefileUser.h16 include $(SOPHYABASEREP)/Include/MakefileUser.h 17 17 18 18 -
trunk/SophyaExt/CodeMinuit/MakeMinuit
r2403 r2437 1 include $( DPCBASEREP)/Include/MakefileUser.h1 include $(SOPHYABASEREP)/Include/MakefileUser.h 2 2 3 3 -
trunk/SophyaExt/CodeMinuit/Makefile
r2403 r2437 1 include $( DPCBASEREP)/Include/MakefileUser.h1 include $(SOPHYABASEREP)/Include/MakefileUser.h 2 2 3 3 all: -
trunk/SophyaExt/CodeMinuit/code/MakeMinuit
r2403 r2437 1 include $( DPCBASEREP)/Include/MakefileUser.h1 include $(SOPHYABASEREP)/Include/MakefileUser.h 2 2 3 3 -
trunk/SophyaExt/JThreadsC++/Examples/Makefile
r1025 r2437 4 4 5 5 CXX := g++ 6 ifdef EROSCXX7 CXX := $( EROSCXX)6 ifdef SOPHYACXX 7 CXX := $(SOPHYACXX) 8 8 endif 9 9 -
trunk/SophyaExt/JThreadsC++/JTCSrc/Makefile
r1023 r2437 4 4 5 5 CXX := g++ 6 ifdef EROSCXX7 CXX := $( EROSCXX)6 ifdef SOPHYACXX 7 CXX := $(SOPHYACXX) 8 8 endif 9 9 -
trunk/SophyaExt/JThreadsC++/README
r1024 r2437 28 28 29 29 1) Select the compiler through the environment variable 30 EROSCXX30 SOPHYACXX 31 31 2) Build the libray (make in JTCSrc) 32 32 3) Define the path for installation through the … … 35 35 5) Try to build and test the example programs 36 36 (make in Examples/) - The LD_LIBRARY_PATH should 37 contain $JTCBASEREP/`uname`-$ EROSCXX/ShLibs37 contain $JTCBASEREP/`uname`-$SOPHYACXX/ShLibs 38 38 6) The use of GNU make is mandatory 39 39 … … 42 42 using c-shell commands. (uname = OSF1) 43 43 44 Cmd> setenv EROSCXX cxx44 Cmd> setenv SOPHYACXX cxx 45 45 Cmd> setenv JTCBASEREP /usr/local/ 46 46 Cmd> cd JTCSrc -
trunk/SophyaExt/XAstroPack/Maketest
r1811 r2437 1 1 MODULECXXREPNAME := CmvTests 2 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCBASEREP)/Include/MakefileUser.h3 include $(SOPHYABASEREP)/Include/MakefileUser.h 4 4 5 5 LIBNEED := -L$(SLB) -lsophya -L$(LIB) -lFitsIOServer -L$(EXTLIBPATH) -lcfitsio -
trunk/SophyaExt/XephemAstroLib/Makefile
r2395 r2437 1 include $( DPCBASEREP)/Include/MakefileUser.h1 include $(SOPHYABASEREP)/Include/MakefileUser.h 2 2 3 3 all: libxastro.a -
trunk/SophyaLib/Manual/piapp.tex
r2384 r2437 85 85 a copy of the on-line help (accessible through the menu {\tt File/Help}). 86 86 Once the SOPHYA/piapp (or PEIDA++/piapp) environment 87 \footnote{ The environment variables {\tt DPCBASEREP} (or {\tt EROSBASEREP}),88 {\tt EROSCXX} (compiler selector), the shared library path87 \footnote{ The environment variables {\tt SOPHYABASEREP} (or {\tt EROSBASEREP}), 88 {\tt SOPHYACXX} (compiler selector), the shared library path 89 89 {\tt LD\_LIBRARY\_PATH} and the executable search path {\tt PATH} must 90 90 be defined} -
trunk/SophyaLib/Manual/sophya.tex
r2304 r2437 174 174 175 175 \subsection{Environment variables} 176 Two environment variables {\bf DPCBASEREP} and {\bf EROSCXX} are used176 Two environment variables {\bf SOPHYABASEREP} and {\bf SOPHYACXX} are used 177 177 to define the path where the Sophya libraries and executable are installed. 178 {\bf DPCBASEREP} defines the base directory path and {\bf EROSCXX} the179 name of the C++ compiler. The complete path is built using {\bf DPCBASEREP},178 {\bf SOPHYABASEREP} defines the base directory path and {\bf SOPHYACXX} the 179 name of the C++ compiler. The complete path is built using {\bf SOPHYABASEREP}, 180 180 the operating system name (as obtained by the {\tt uname} command), and 181 181 the compiler name. In the example below, we show the complete path … … 183 183 184 184 \begin{itemize} 185 \item \$ DPCBASEREP/Include : Include (.h) files186 \item \$ DPCBASEREP/Linux-g++/Libs : Path for the archive libraries (.a)187 \item \$ DPCBASEREP/Linux-g++/ShLibs : Shared library path (.so)188 \item \$ DPCBASEREP/Linux-g++/Exec : Executable file path185 \item \$SOPHYABASEREP/Include : Include (.h) files 186 \item \$SOPHYABASEREP/Linux-g++/Libs : Path for the archive libraries (.a) 187 \item \$SOPHYABASEREP/Linux-g++/ShLibs : Shared library path (.so) 188 \item \$SOPHYABASEREP/Linux-g++/Exec : Executable file path 189 189 \end{itemize} 190 190 191 191 In order to use the shared libraries, the {\bf LD\_LIBRARY\_PATH} variable 192 192 should contain the Sophya shared library path 193 ({\tt \$ DPCBASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux)193 ({\tt \$SOPHYABASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux) 194 194 195 195 For modules using external libraries, the {\bf EXTLIBDIR} … … 203 203 204 204 \subsection{User makefiles} 205 The file {\tt \$ DPCBASEREP/Include/MakefileUser.h} defines the compilation205 The file {\tt \$SOPHYABASEREP/Include/MakefileUser.h} defines the compilation 206 206 flags and the list of Sophya libraries. It should be included in the 207 207 user's makefile. The default compilation rules assumes that the object (.o) 208 208 and executable files would be put in the following directories: \\ 209 {\tt \$HOME/`uname`-\$ EROSCXX/Objs} \\210 {\tt \$HOME/`uname`-\$ EROSCXX/Exec}.209 {\tt \$HOME/`uname`-\$SOPHYACXX/Objs} \\ 210 {\tt \$HOME/`uname`-\$SOPHYACXX/Exec}. 211 211 In the case of a {\tt Linux} system and using {\tt g++} as the C++ compiler, 212 212 these two directories would be translated to \\ … … 1517 1517 The build procedure expects to find the include files and the libraries in: \\ 1518 1518 {\tt \$EXTLIBDIR/Include/FitsIO } \\ 1519 {\tt \$EXTLIBDIR/`uname`-\$ EROSCXX/Libs} \\1519 {\tt \$EXTLIBDIR/`uname`-\$SOPHYACXX/Libs} \\ 1520 1520 The complete directory tree content for the various external libraries used 1521 1521 by this version of SOPHYA is listed below: … … 1544 1544 grouped in ({\tt libPI.so}). 1545 1545 1546 The environment variables {\bf DPCDEVREP}, {\bf EXTLIBDIR} and {\bf EROSCXX}1546 The environment variables {\bf SOPHYADEVREP}, {\bf EXTLIBDIR} and {\bf SOPHYACXX} 1547 1547 must be defined in order to install the Sophya package. 1548 1548 In the example below, we assume that we want to install Sophya from a … … 1559 1559 \begin{verbatim} 1560 1560 # We select our C++ compiler 1561 csh> setenv EROSCXX g++1561 csh> setenv SOPHYACXX g++ 1562 1562 # Setup the build directory 1563 1563 csh> mkdir /usr/local/Sophya/ 1564 csh> setenv DPCDEVREP /usr/local/Sophya/1564 csh> setenv SOPHYADEVREP /usr/local/Sophya/ 1565 1565 csh> setenv EXTLIBDIR /usr/local/ExtLibs/ 1566 1566 # Use the top level makefile in Mgr/ … … 1620 1620 for the different compilers and systems. (to be included in makefiles) 1621 1621 \item {\bf crerep\_sophya} c-shell script for creating the directory tree 1622 under {\tt \$ DPCBASEREP} and {\tt \$DPCDEVREP}1622 under {\tt \$SOPHYABASEREP} and {\tt \$SOPHYADEVREP} 1623 1623 \item {\bf install\_sophya} c-shell script for installing the Sophya package. 1624 Usually from {\tt \$ DPCDEVREP} to {\tt \$DPCBASEREP}1624 Usually from {\tt \$SOPHYADEVREP} to {\tt \$SOPHYABASEREP} 1625 1625 \item {\bf mkmflien} c-shell script for making symbolic links or copying 1626 include files to {\tt \$ DPCDEVREP/Include} or {\tt \$DPCBASEREP/Include}1626 include files to {\tt \$SOPHYADEVREP/Include} or {\tt \$SOPHYABASEREP/Include} 1627 1627 \item {\bf mkmf} c-shell script for generating module makefiles and the 1628 1628 top level makefile (named GNUmakefile) -
trunk/SophyaLib/Mgr/Makefile
r1881 r2437 21 21 #--- Create directory and copy includes for install 22 22 depend: 23 ifdef DPCDEVREP24 ifdef EROSCXX23 ifdef SOPHYADEVREP 24 ifdef SOPHYACXX 25 25 @echo "Sophya will be installed under:" 26 @echo " $( DPCDEVREP)/Include"27 @echo " $( DPCDEVREP)/`uname`-$(EROSCXX)"26 @echo " $(SOPHYADEVREP)/Include" 27 @echo " $(SOPHYADEVREP)/`uname`-$(SOPHYACXX)" 28 28 if [ -d Mgr ] ; then cd Mgr; \ 29 ./crerep_sophya $( DPCDEVREP) `uname`-$(EROSCXX); \29 ./crerep_sophya $(SOPHYADEVREP) `uname`-$(SOPHYACXX); \ 30 30 ./makefileuser.csh; \ 31 31 ./mkmflien -copy ; \ 32 32 fi 33 33 else 34 @echo "Variable EROSCXX must be define with setenv"34 @echo "Variable SOPHYACXX must be define with setenv" 35 35 endif 36 36 else 37 @echo "Variable DPCDEVREP must be define with setenv"37 @echo "Variable SOPHYADEVREP must be define with setenv" 38 38 endif 39 39 #-------------------------------------------------------------------- -
trunk/SophyaLib/Mgr/Makefile.h
r2435 r2437 9 9 # 10 10 # Makefile variables set are: 11 # - Path to Exec, Include, Libs, Obj directories (from DPCDEVREP env. var.)11 # - Path to Exec, Include, Libs, Obj directories (from SOPHYADEVREP env. var.) 12 12 # i.e. variables LIB, OBJ, EXE, INC 13 13 #--------------------------------------------------------------------------- … … 22 22 23 23 #### C++ 24 ifdef EROSCXX25 CXX := $( EROSCXX)24 ifdef SOPHYACXX 25 CXX := $(SOPHYACXX) 26 26 endif 27 27 … … 30 30 endif 31 31 32 ifeq ($( EROSCXX),egcs++)32 ifeq ($(SOPHYACXX),egcs++) 33 33 # en fait de compilo de egcs++ s'appelle g++ ! 34 34 # comme il faut bien differentier ln -s /usr/bin/g++ /usr/bin/egcs++ … … 49 49 endif 50 50 51 ifeq ($( EROSCXX), egcs++)51 ifeq ($(SOPHYACXX), egcs++) 52 52 CC := egcs 53 53 endif … … 77 77 #- (NE PAS TOUCHER CES LIGNES: generation automatique de MakefileUser.h) 78 78 #- 79 PP := ${ DPCDEVREP}/${MACHDIR}/79 PP := ${SOPHYADEVREP}/${MACHDIR}/ 80 80 LIB := ${PP}/Libs/ 81 81 SLB := ${PP}/ShLibs/ 82 82 OBJ := ${PP}/Objs/ 83 83 EXE := ${PP}/Exec/ 84 INC := ${ DPCDEVREP}/Include/84 INC := ${SOPHYADEVREP}/Include/ 85 85 GLB := /usr/local/lib/ 86 86 #-- … … 141 141 ARFLAGS := -static -o 142 142 ARARGS := ^ 143 EROSCXX := g++143 SOPHYACXX := g++ 144 144 CXX := g++ 145 145 CC := cc -
trunk/SophyaLib/Mgr/Makefile.slb
r2432 r2437 47 47 USECXX4SO := Y 48 48 # On utilise le compilo g++ pour la fabrication des shared libs 49 ifeq ($( EROSCXX), g++)49 ifeq ($(SOPHYACXX), g++) 50 50 override USECXX4SO := Y 51 51 override CMDSHLCXX := $(LINK.cc) -shared … … 54 54 55 55 # On utilise le compilo KCC pour la fabrication des shared libs 56 ifeq ($( EROSCXX), KCC)56 ifeq ($(SOPHYACXX), KCC) 57 57 override USECXX4SO := Y 58 58 override CMDSHLCXX := $(LINK.cc) … … 60 60 61 61 # On utilise le compilo aCC (HP) pour la fabrication des shared libs 62 ifeq ($( EROSCXX), aCC)62 ifeq ($(SOPHYACXX), aCC) 63 63 override USECXX4SO := Y 64 64 override CMDSHLCXX := $(LINK.cc) -b … … 93 93 override FGSHLN := --no-whole-archiv 94 94 override CMDSHLCXX := $(LINK.cc) -shared 95 ifeq ($( EROSCXX), KCC)95 ifeq ($(SOPHYACXX), KCC) 96 96 override CMDSHLCXX := $(LINK.cc) 97 97 endif … … 120 120 override FGSHLN := -notall 121 121 override TILSHL := 122 ifeq ($( EROSCXX), CC)122 ifeq ($(SOPHYACXX), CC) 123 123 override CMDSHLCXX := CC -shared 124 124 endif -
trunk/SophyaLib/Mgr/README
r2284 r2437 58 58 MacOSX/Darwin 10.1 c++/gcc 2.95 (shared-library only) 59 59 60 The environment variables DPCDEVREP EXTLIBDIR EROSCXX must be defined60 The environment variables SOPHYADEVREP EXTLIBDIR SOPHYACXX must be defined 61 61 for building and installing the libraries. 62 62 63 $ EROSCXX is the name of C++ compiler being used.64 $ DPCDEVREP is the path to where the libraries and executables will be put.65 $ DPCDEVREP/Include : header files63 $SOPHYACXX is the name of C++ compiler being used. 64 $SOPHYADEVREP is the path to where the libraries and executables will be put. 65 $SOPHYADEVREP/Include : header files 66 66 The libraries and binaries will be put in subdirectories containing 67 the operating system name and the compiler name: `uname`-$ EROSCXX67 the operating system name and the compiler name: `uname`-$SOPHYACXX 68 68 For example, on a Linux system, using the GNU compiler: 69 69 70 $ DPCDEVREP/Linux-g++/Libs archive librarires71 $ DPCDEVREP/Linux-g++/ShLibs shared libraries72 $ DPCDEVREP/Linux-g++/Exec binaries70 $SOPHYADEVREP/Linux-g++/Libs archive librarires 71 $SOPHYADEVREP/Linux-g++/ShLibs shared libraries 72 $SOPHYADEVREP/Linux-g++/Exec binaries 73 73 74 74 The build procedure expects to find the include files and the libraries 75 75 for cfitsio in : 76 76 $EXTLIBDIR/Include/FitsIO 77 $EXTLIBDIR/`uname`-$ EROSCXX/Libs77 $EXTLIBDIR/`uname`-$SOPHYACXX/Libs 78 78 This would translate to Linux-g++ on a Linux system, using g++. 79 79 $EXTLIBDIR/Linux-g++/Libs … … 83 83 84 84 # We select our C++ compiler 85 csh> setenv EROSCXX g++85 csh> setenv SOPHYACXX g++ 86 86 # Setup the build directory 87 87 csh> mkdir /usr/local/Sophya/ 88 csh> setenv DPCDEVREP /usr/local/Sophya/89 csh> setenv DPCBASEREP /usr/local/Sophya/88 csh> setenv SOPHYADEVREP /usr/local/Sophya/ 89 csh> setenv SOPHYABASEREP /usr/local/Sophya/ 90 90 csh> setenv EXTLIBDIR /usr/local/ExtLibs/ 91 91 … … 174 174 Usage: crerep_sophya <nom des repertoires> [nom_machine-compilateur] 175 175 Example : 176 Cmd> crerep_sophya $ DPCDEVREP OSF1-cxx176 Cmd> crerep_sophya $SOPHYADEVREP OSF1-cxx 177 177 Cmd> crerep_sophya ~/Work/ Linux-g++ 178 178 179 179 * install_sophya 180 Install SOPHYA libraries/include files from dev directory ($ DPCDEVREP)181 to the install ($ DPCBASEREP) directory180 Install SOPHYA libraries/include files from dev directory ($SOPHYADEVREP) 181 to the install ($SOPHYABASEREP) directory 182 182 Copy files Include/*.h Libs/*.a ShLibs/*.so Exec/* 183 183 … … 192 192 193 193 Steps : 194 - mkmflien : Creates symbolic links for all header files in $ DPCDEVREP/Include194 - mkmflien : Creates symbolic links for all header files in $SOPHYADEVREP/Include 195 195 196 196 - mkmflib : Creation of a GNUmakefile in each library module -
trunk/SophyaLib/Mgr/cleantstprg.csh
r2018 r2437 1 1 #!/bin/csh 2 set OBJREP = ${ DPCDEVREP}/`uname`-$EROSCXX/Objs/3 set EXEREP = ${ DPCDEVREP}/`uname`-$EROSCXX/Exec/2 set OBJREP = ${SOPHYADEVREP}/`uname`-$SOPHYACXX/Objs/ 3 set EXEREP = ${SOPHYADEVREP}/`uname`-$SOPHYACXX/Exec/ 4 4 echo ' ---> cleantstprg.csh: Removing Objs/$f.o , Exec/$f ' 5 5 foreach f (*.cc) -
trunk/SophyaLib/Mgr/crerep_sophya
r968 r2437 6 6 echo " - possibilites nom_machine-compilateur" 7 7 echo " [AIX-xlC AIX-g++ HP-UX-aCC HP-UX-g++ OSF1-cxx OSF1-g++ Linux-g++ ...]" 8 if($? EROSCXX) then9 echo " defaut: `uname`-$ EROSCXX"8 if($?SOPHYACXX) then 9 echo " defaut: `uname`-$SOPHYACXX" 10 10 else 11 11 echo " pas de defaut donnez explicitement nom_machine-compilateur" … … 26 26 set diru = $1 27 27 echo "machine-compilateur: ${diru}" 28 else if ($? EROSCXX) then29 echo uname=`uname` EROSCXX = $EROSCXX30 set diru = `uname`-$ EROSCXX28 else if ($?SOPHYACXX) then 29 echo uname=`uname` SOPHYACXX = $SOPHYACXX 30 set diru = `uname`-$SOPHYACXX 31 31 echo "AUTOMATIQUE machine-compilateur: ${diru}" 32 32 else 33 echo "precisez nom_machine-compilateur ou EROSCXX"33 echo "precisez nom_machine-compilateur ou SOPHYACXX" 34 34 exit -1 35 35 endif -
trunk/SophyaLib/Mgr/install_sophya
r1587 r2437 6 6 echo "install_sophya <-s repertoire source> <-d repertoire destination>" 7 7 echo " [-m nom_machine-compilateur]" 8 if($? DPCDEVREP) then9 echo " - defaut repertoire source: $ DPCDEVREP"8 if($?SOPHYADEVREP) then 9 echo " - defaut repertoire source: $SOPHYADEVREP" 10 10 else 11 11 echo " pas de defaut donnez explicitement le repertoire source" 12 12 endif 13 if($? DPCBASEREP) then14 echo " - defaut repertoire destination: $ DPCBASEREP"13 if($?SOPHYABASEREP) then 14 echo " - defaut repertoire destination: $SOPHYABASEREP" 15 15 else 16 16 echo " pas de defaut donnez explicitement le repertoire destination" … … 18 18 echo " - possibilites nom_machine-compilateur" 19 19 echo " [AIX-xlC AIX-g++ HP-UX-aCC HP-UX-g++ OSF1-cxx OSF1-g++ Linux-g++ ...]" 20 if($? EROSCXX) then21 echo " defaut: `uname`-$ EROSCXX"20 if($?SOPHYACXX) then 21 echo " defaut: `uname`-$SOPHYACXX" 22 22 else 23 23 echo " pas de defaut donnez explicitement nom_machine-compilateur" … … 44 44 end 45 45 46 if( ! $?srcdir && $? DPCDEVREP ) then47 echo "defaut srcdir set to DPCDEVREP"48 set srcdir = $ DPCDEVREP46 if( ! $?srcdir && $?SOPHYADEVREP ) then 47 echo "defaut srcdir set to SOPHYADEVREP" 48 set srcdir = $SOPHYADEVREP 49 49 endif 50 if( ! $?dstdir && $? DPCBASEREP ) then51 echo "defaut dstdir set to DPCBASEREP"52 set dstdir = $ DPCBASEREP50 if( ! $?dstdir && $?SOPHYABASEREP ) then 51 echo "defaut dstdir set to SOPHYABASEREP" 52 set dstdir = $SOPHYABASEREP 53 53 endif 54 if( ! $?macomp && $? EROSCXX ) then55 echo "defaut macomp set to uname- EROSCXX"56 set macomp = `uname`-$ EROSCXX54 if( ! $?macomp && $?SOPHYACXX ) then 55 echo "defaut macomp set to uname-SOPHYACXX" 56 set macomp = `uname`-$SOPHYACXX 57 57 endif 58 58 -
trunk/SophyaLib/Mgr/makefile.darwin
r2432 r2437 21 21 #--- Create directory and copy includes for install 22 22 depend: 23 ifdef DPCDEVREP24 ifdef EROSCXX23 ifdef SOPHYADEVREP 24 ifdef SOPHYACXX 25 25 @echo "Sophya will be installed under:" 26 @echo " $( DPCDEVREP)/Include"27 @echo " $( DPCDEVREP)/`uname`-$(EROSCXX)"26 @echo " $(SOPHYADEVREP)/Include" 27 @echo " $(SOPHYADEVREP)/`uname`-$(SOPHYACXX)" 28 28 if [ -d Mgr ] ; then cd Mgr; \ 29 ./crerep_sophya $( DPCDEVREP) `uname`-$(EROSCXX); \29 ./crerep_sophya $(SOPHYADEVREP) `uname`-$(SOPHYACXX); \ 30 30 ./makefileuser.csh; \ 31 31 ./mkmflien -copy ; \ 32 32 fi 33 33 else 34 @echo "Variable EROSCXX must be define with setenv"34 @echo "Variable SOPHYACXX must be define with setenv" 35 35 endif 36 36 else 37 @echo "Variable DPCDEVREP must be define with setenv"37 @echo "Variable SOPHYADEVREP must be define with setenv" 38 38 endif 39 39 #-------------------------------------------------------------------- -
trunk/SophyaLib/Mgr/makefileuser.awk
r218 r2437 1 1 BEGIN {change=0;} 2 /^PP := \$\{ DPCDEVREP\}\/\$\{MACHDIR\}\// {3 print "PP := \$\{ DPCBASEREP\}\/\$\{MACHDIR\}\/";2 /^PP := \$\{SOPHYADEVREP\}\/\$\{MACHDIR\}\// { 3 print "PP := \$\{SOPHYABASEREP\}\/\$\{MACHDIR\}\/"; 4 4 print "PPH := \$\{HOME\}\/\$\{MACHDIR\}\/"; 5 5 change=1; … … 13 13 change=1; 14 14 } 15 /^INC := \$\{ DPCDEVREP\}\/Include\// {16 print "INC := \$\{ DPCBASEREP\}\/Include\/";15 /^INC := \$\{SOPHYADEVREP\}\/Include\// { 16 print "INC := \$\{SOPHYABASEREP\}\/Include\/"; 17 17 change=1; 18 18 } -
trunk/SophyaLib/Mgr/mkmf
r2424 r2437 1 1 #!/bin/csh 2 # $Id: mkmf,v 1.1 8 2003-08-28 14:26:09cmv Exp $2 # $Id: mkmf,v 1.19 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 # Pour debugger … … 98 98 echo '#--- Create directory and copy includes for install' >> GNUmakefile 99 99 echo 'depend:' >> GNUmakefile 100 echo 'ifdef DPCDEVREP' >> GNUmakefile101 echo 'ifdef EROSCXX' >> GNUmakefile100 echo 'ifdef SOPHYADEVREP' >> GNUmakefile 101 echo 'ifdef SOPHYACXX' >> GNUmakefile 102 102 echo ' @echo "Sophya will be installed under:"' >> GNUmakefile 103 echo ' @echo " $( DPCDEVREP)/Include" ' >> GNUmakefile104 echo ' @echo " $( DPCDEVREP)/`uname`-$(EROSCXX)" ' >> GNUmakefile103 echo ' @echo " $(SOPHYADEVREP)/Include" ' >> GNUmakefile 104 echo ' @echo " $(SOPHYADEVREP)/`uname`-$(SOPHYACXX)" ' >> GNUmakefile 105 105 echo ' if [ -d Mgr ] ; then cd Mgr; \' >> GNUmakefile 106 echo ' ./crerep_sophya $( DPCDEVREP) `uname`-$(EROSCXX); \' >> GNUmakefile106 echo ' ./crerep_sophya $(SOPHYADEVREP) `uname`-$(SOPHYACXX); \' >> GNUmakefile 107 107 echo ' ./makefileuser.csh; \' >> GNUmakefile 108 108 echo ' ./mkmflien -copy ; \' >> GNUmakefile 109 109 echo ' fi' >> GNUmakefile 110 110 echo 'else' >> GNUmakefile 111 echo ' @echo "Variable EROSCXX must be define with setenv"' >> GNUmakefile111 echo ' @echo "Variable SOPHYACXX must be define with setenv"' >> GNUmakefile 112 112 echo 'endif' >> GNUmakefile 113 113 echo 'else' >> GNUmakefile 114 echo ' @echo "Variable DPCDEVREP must be define with setenv"' >> GNUmakefile114 echo ' @echo "Variable SOPHYADEVREP must be define with setenv"' >> GNUmakefile 115 115 echo 'endif' >> GNUmakefile 116 116 echo '#--------------------------------------------------------------------' >> GNUmakefile -
trunk/SophyaLib/Mgr/mkmfPI
r2002 r2437 1 1 #!/bin/csh 2 # $Id: mkmfPI,v 1. 9 2002-05-14 15:14:47 ansariExp $2 # $Id: mkmfPI,v 1.10 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 set makefname = 'GNUmakefile' … … 72 72 echo " " >> $makefname 73 73 74 set inc = $ DPCDEVREP/Include74 set inc = $SOPHYADEVREP/Include 75 75 set incext = $EXTLIBDIR/Include 76 76 set nomsys = `uname` -
trunk/SophyaLib/Mgr/mkmflib
r2002 r2437 1 1 #!/bin/csh 2 # $Id: mkmflib,v 1.1 1 2002-05-14 15:14:47 ansariExp $2 # $Id: mkmflib,v 1.12 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 cd ../$1 … … 68 68 echo " " >> GNUmakefile 69 69 70 set inc = $ DPCDEVREP/Include70 set inc = $SOPHYADEVREP/Include 71 71 # set incxx = $inc/CxxInc 72 72 set incext = $EXTLIBDIR/Include -
trunk/SophyaLib/Mgr/mkmflib_save
r511 r2437 1 1 #!/bin/csh 2 # $Id: mkmflib_save,v 1. 2 1999-10-25 16:24:49 ansariExp $2 # $Id: mkmflib_save,v 1.3 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 cd ../$1 … … 44 44 echo " " >> GNUmakefile 45 45 46 set inc = $ DPCDEVREP/Include46 set inc = $SOPHYADEVREP/Include 47 47 set incxx = $inc/CxxInc 48 48 -
trunk/SophyaLib/Mgr/mkmflien
r1834 r2437 1 1 #!/bin/csh 2 # $Id: mkmflien,v 1.1 2 2001-12-19 18:34:11 ansariExp $2 # $Id: mkmflien,v 1.13 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 # WARNING : mkmflien has to be runned FROM Mgr/ … … 7 7 # -clean : after copy/link file are deleted if not existing (empty link) 8 8 # dir_dest : link/copy to dir_dest/ 9 # default : $ DPCDEVREP/Include9 # default : $SOPHYADEVREP/Include 10 10 11 11 ####################### … … 15 15 set cpln = "ln -sf" 16 16 unset clln 17 if( $? DPCDEVREP ) then18 set dst = $ DPCDEVREP/Include17 if( $?SOPHYADEVREP ) then 18 set dst = $SOPHYADEVREP/Include 19 19 endif 20 20 … … 31 31 32 32 if( ! $?dst ) then 33 echo "Variable DPCDEVREP must be set"33 echo "Variable SOPHYADEVREP must be set" 34 34 echo "OR you must give a directory for linking/copying" 35 35 exit -1 -
trunk/SophyaLib/Mgr/mkmfprog
r911 r2437 1 1 #!/bin/csh 2 # $Id: mkmfprog,v 1. 4 2000-04-13 15:56:03 ansariExp $2 # $Id: mkmfprog,v 1.5 2003-09-17 12:19:26 cmv Exp $ 3 3 4 4 # $1 : nom du repertoire … … 78 78 #end 79 79 80 set inc = $ DPCDEVREP/Include80 set inc = $SOPHYADEVREP/Include 81 81 set incext = $EXTLIBDIR/Include 82 82 set nomsys = `uname` -
trunk/SophyaLib/Mgr/mkslbsgi.csh
r1614 r2437 18 18 set XPILIBS = "$LIBXPIPATH $LIBXPILIST" 19 19 20 set LIB = $ DPCDEVREP/IRIX64-CC/Libs/21 set SLB = $ DPCDEVREP/IRIX64-CC/ShLibs/22 set OBJ = $ DPCDEVREP/IRIX64-CC/Objs/20 set LIB = $SOPHYADEVREP/IRIX64-CC/Libs/ 21 set SLB = $SOPHYADEVREP/IRIX64-CC/ShLibs/ 22 set OBJ = $SOPHYADEVREP/IRIX64-CC/Objs/ 23 23 24 24 set EXTLIBPL = -L${EXTLIBDIR}/IRIX64-CC/Libs/ -
trunk/SophyaLib/Mgr/sgienv.csh
r1332 r2437 24 24 echo ' en.csh : setting environment variables for SOPHYA on SGI' 25 25 26 setenv EROSCXX CC26 setenv SOPHYACXX CC 27 27 if ($sgi64 == 'Y') then 28 28 echo ' SGI-64 bits architecture selected ... ' 29 setenv DPCBASEREP /usr/local/Sophya64/$sversion29 setenv SOPHYABASEREP /usr/local/Sophya64/$sversion 30 30 setenv EXTLIBDIR /usr/local/Sophya64/ExtLibs 31 31 setenv SOPHYA_SGI64 1 32 setenv LD_LIBRARY64_PATH .:${LD_LIBRARY64_PATH}:${ DPCBASEREP}/IRIX64-CC/ShLibs32 setenv LD_LIBRARY64_PATH .:${LD_LIBRARY64_PATH}:${SOPHYABASEREP}/IRIX64-CC/ShLibs 33 33 else 34 setenv DPCBASEREP /usr/local/Sophya/$sversion34 setenv SOPHYABASEREP /usr/local/Sophya/$sversion 35 35 setenv EXTLIBDIR /usr/local/Sophya/ExtLibs 36 36 unsetenv SOPHYA_SGI64 37 setenv LD_LIBRARYN32_PATH .:${LD_LIBRARYN32_PATH}:${ DPCBASEREP}/IRIX64-CC/ShLibs37 setenv LD_LIBRARYN32_PATH .:${LD_LIBRARYN32_PATH}:${SOPHYABASEREP}/IRIX64-CC/ShLibs 38 38 endif 39 39 40 set path = ($path $ DPCBASEREP/IRIX64-CC/Exec)40 set path = ($path $SOPHYABASEREP/IRIX64-CC/Exec) 41 41 42 echo ' EROSCXX= ' $EROSCXX43 echo ' DPCBASEREP= ' $DPCBASEREP42 echo ' SOPHYACXX= ' $SOPHYACXX 43 echo ' SOPHYABASEREP= ' $SOPHYABASEREP 44 44 echo ' EXTLIBDIR= ' $EXTLIBDIR 45 45 echo ' LD_LIBRARYN32_PATH= ' $LD_LIBRARYN32_PATH -
trunk/SophyaLib/Mgr/tar_for_web.csh
r2318 r2437 33 33 endif 34 34 end 35 if( ! $? DPCBASEREP ) then36 echo Precisez DPCBASEREP35 if( ! $?SOPHYABASEREP ) then 36 echo Precisez SOPHYABASEREP 37 37 exit -1 38 38 endif 39 if( ! -e $ DPCBASEREP/Include ) then40 echo Pas de repertoire $ DPCBASEREP/Include39 if( ! -e $SOPHYABASEREP/Include ) then 40 echo Pas de repertoire $SOPHYABASEREP/Include 41 41 exit -1 42 42 endif 43 if( ! -e $ DPCBASEREP/${OSCC} ) then44 echo Pas de repertoire $ DPCBASEREP/${OSCC}43 if( ! -e $SOPHYABASEREP/${OSCC} ) then 44 echo Pas de repertoire $SOPHYABASEREP/${OSCC} 45 45 exit -1 46 46 endif 47 47 foreach d ( Libs ShLibs Exec ) 48 if( ! -d $ DPCBASEREP/${OSCC}/$d ) then49 echo repertoire $ DPCBASEREP/${OSCC}/$d inexistant48 if( ! -d $SOPHYABASEREP/${OSCC}/$d ) then 49 echo repertoire $SOPHYABASEREP/${OSCC}/$d inexistant 50 50 exit -1 51 51 endif … … 71 71 set SYS = `echo $OSCC | awk -F"-" '{print $1}'` 72 72 echo "SOURCE = " `pwd` 73 echo " DPCBASEREP = " $DPCBASEREP73 echo "SOPHYABASEREP = " $SOPHYABASEREP 74 74 echo "EXTLIBDIR = " $EXTLIBDIR 75 75 echo "Version = " $VS … … 124 124 ################################################## 125 125 echo '>>>>>>>>' Librairies et executables de Sophya 126 pushd $ DPCBASEREP > /dev/null126 pushd $SOPHYABASEREP > /dev/null 127 127 tar -chf - Include |(cd $tmp/${VS}/.; tar -xf -) 128 128 popd > /dev/null 129 pushd $ DPCBASEREP/${OSCC} > /dev/null129 pushd $SOPHYABASEREP/${OSCC} > /dev/null 130 130 tar -chf - Libs |(cd $tmp/${VS}/.; tar -xf -) 131 131 tar -chf - ShLibs |(cd $tmp/${VS}/.; tar -xf -) -
trunk/SophyaLib/SysTools/cxxcmplnk.cc
r2322 r2437 110 110 string dpcbase; 111 111 char* varenv=NULL; 112 varenv=getenv(" DPCBASEREP");112 varenv=getenv("SOPHYABASEREP"); 113 113 if (varenv) { 114 114 dpcbase = varenv; -
trunk/SophyaPI/DemoPIApp/Makefile
r1338 r2437 1 1 MODULEDECCXXFLAGS := -msg_quiet 2 include $( DPCBASEREP)/Include/MakefileUser.h2 include $(SOPHYABASEREP)/Include/MakefileUser.h 3 3 LIBS = -L$(SLB) -lPI -lextsophya -lsophya -lm 4 4 -
trunk/SophyaPI/PI/Tests/Makefile
r1843 r2437 1 1 MODULECXXREPNAME := PITest 2 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5 -
trunk/SophyaPI/PIext/cxxexecutor.cc
r2322 r2437 648 648 //--------------------------------------------------------------------- 649 649 //os<<"MODULEDECCXXFLAGS := -msg_quiet"<<endl; 650 //os<<"include $( DPCBASEREP)/Include/MakefileUser.h"<<endl;650 //os<<"include $(SOPHYABASEREP)/Include/MakefileUser.h"<<endl; 651 651 //os<<"MYLIBS ="<<endl; 652 652 //os<<"LIBS = -L$(SLB) -lPI -lextsophya -lsophya -lm"<<endl; -
trunk/SophyaProg/Examples/Makefile
r1337 r2437 1 1 MODULECXXREPNAME := Tests 2 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5 -
trunk/SophyaProg/Examples/README
r1969 r2437 1 1 # Programmes exemple pour l'utilisation de Sophya 2 2 3 On suppose que $DPCBASREP/`uname`-$ EROSCXX/Exec est ds le path et4 .:$DPCBASREP/`uname`-$ EROSCXX/ShLibs ds LD_LIBRARY_PATH3 On suppose que $DPCBASREP/`uname`-$SOPHYACXX/Exec est ds le path et 4 .:$DPCBASREP/`uname`-$SOPHYACXX/ShLibs ds LD_LIBRARY_PATH 5 5 6 6 1) ex1.cc -
trunk/SophyaProg/Examples/auto_makefile
r1433 r2437 14 14 # USERFLAGS := -I/.../myincludes 15 15 16 include $( DPCBASEREP)/Include/MakefileUser.h16 include $(SOPHYABASEREP)/Include/MakefileUser.h 17 17 18 18 -
trunk/SophyaProg/Examples/ex_makefile
r1433 r2437 16 16 # USERFLAGS := -I/.../myincludes 17 17 18 include $( DPCBASEREP)/Include/MakefileUser.h18 include $(SOPHYABASEREP)/Include/MakefileUser.h 19 19 20 20 -
trunk/SophyaProg/PMixer/makeprog
r761 r2437 1 1 MODULECXXREPNAME := SkyT 2 2 # MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5 ifdef NOSHLIB -
trunk/SophyaProg/Tests/JTCMakefile
r1043 r2437 1 1 MODULECXXREPNAME := Tests 2 2 MODULEDECCXXFLAGS := -msg_quiet -pthread 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5 # Makefile pour linket avec libJThreadsC++ -
trunk/SophyaProg/Tests/Makefile
r2431 r2437 1 1 MODULECXXREPNAME := Tests 2 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5 -
trunk/SophyaProg/Tests/makepi
r1726 r2437 1 1 MODULECXXREPNAME := Tests 2 2 MODULEDECCXXFLAGS := -msg_quiet 3 include $( DPCDEVREP)/Include/Makefile.h3 include $(SOPHYADEVREP)/Include/Makefile.h 4 4 5 5
Note:
See TracChangeset
for help on using the changeset viewer.