Changeset 2437 in Sophya for trunk/SophyaLib/Mgr
- Timestamp:
- Sep 17, 2003, 2:20:44 PM (22 years ago)
- Location:
- trunk/SophyaLib/Mgr
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
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 -)
Note:
See TracChangeset
for help on using the changeset viewer.