Changeset 911 in Sophya
- Timestamp:
- Apr 13, 2000, 5:56:03 PM (25 years ago)
- Location:
- trunk/SophyaLib/Mgr
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Mgr/Makefile.h
r740 r911 177 177 CPPFLAGS := -I${INC} $(EXTINCPI) -D${MACHEROSD} $(MODULECPPFLAGS) 178 178 179 # Si la variable d'environnement SOPHYA_DEBUG est definie : Activation des 180 # compilations conditionnelles pour le debug/bound-checking/... ds le code 181 ifdef SOPHYA_DEBUG 182 CPPFLAGS := $(CPPFLAGS) -DSOPHYA_DEBUG 183 endif 184 179 185 # Les options selon les divers compilateurs 180 186 # GNU … … 329 335 ifeq ($(CXX), KCC) 330 336 CXXFLAGS := --exceptions --rtti --auto_instantiation --one_instantiation_per_object -D__KCC__ 337 CXXFLAGS := $(CXXFLAGS) $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 338 CFLAGS := $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 331 339 # Flag --one_instantiation_per_object mis - Reza 02/03/99 332 340 # -DCOMPILER_EXCEPTIONS -D__ANSI_TEMPLATES__ definis ds defs.h 333 341 endif 334 342 343 # --- Systeme IRIX64 de Silixon Graphics (SGI) 344 ifeq ($(MACHEROS), IRIX64) 335 345 # --- Compilateur natif CC de SGI 336 ifeq ($(MACHEROS), IRIX64)337 346 ifeq ($(CXX), CC) 338 CXXFLAGS := -prelink -D__SGICC__ 347 CFLAGS := $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 348 CXXFLAGS := -prelink -D__SGICC__ $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 339 349 LINK.cc := CC $(CPPFLAGS) -D__SGICC__ $(DBGFLAG) $(OPTFLAG) 350 # sur SGI, les libs/executables ont deux formats 32 et 64 bits (trois avec o32) 351 # -n32 Generates a (new) 32-bit object default to -mips3 if -mips4 has not been specified 352 # -64 Generates a 64-bit object - defaults to -mips4 if -mips3 has not been specified 353 # La variable d'environnement SOPHYA_SGI64 controle cette option 354 ifdef SOPHYA_SGI64 355 CFLAGS := -64 $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 356 CXXFLAGS := -64 -prelink -D__SGICC__ $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS) 357 LINK.cc := CC -64 $(CPPFLAGS) -D__SGICC__ $(DBGFLAG) $(OPTFLAG) 358 endif 340 359 endif 341 360 endif -
trunk/SophyaLib/Mgr/mkmfPI
r868 r911 1 1 #!/bin/csh 2 # $Id: mkmfPI,v 1. 4 2000-04-10 17:37:51ansari Exp $2 # $Id: mkmfPI,v 1.5 2000-04-13 15:56:03 ansari Exp $ 3 3 4 4 set makefname = 'GNUmakefile' … … 72 72 set inc = $DPCDEVREP/Include 73 73 set incext = $EXTLIBDIR/Include 74 set nomsys = `uname` 74 75 75 76 foreach f ( $ccfiles ) 76 gcc -MM - I$inc -I$incext $f \77 gcc -MM -D$nomsys -I$inc -I$incext $f \ 77 78 | sed -e 's/.*\.o/\$(OBJ)&/' \ 78 79 | sed -e 's?'$inc/'?$(INC)?g' \ -
trunk/SophyaLib/Mgr/mkmflib
r868 r911 1 1 #!/bin/csh 2 # $Id: mkmflib,v 1. 7 2000-04-10 17:37:51ansari Exp $2 # $Id: mkmflib,v 1.8 2000-04-13 15:56:03 ansari Exp $ 3 3 4 4 cd ../$1 … … 69 69 # set incxx = $inc/CxxInc 70 70 set incext = $EXTLIBDIR/Include 71 set nomsys = `uname` 71 72 72 73 foreach f ( *.cc ) 73 74 grep -q '^'$f'$' exclude && continue 74 gcc -MM - I$inc -I$incext $f \75 gcc -MM -D$nomsys -I$inc -I$incext $f \ 75 76 | sed -e 's/.*\.o/\$(OBJ)&/' \ 76 77 | sed -e 's?'$inc/'?$(INC)?g' \ … … 80 81 foreach f ( *.c ) 81 82 grep -q '^'$f'$' exclude && continue 82 gcc -MM - I$inc -I$incext $f \83 gcc -MM -D$nomsys -I$inc -I$incext $f \ 83 84 | sed -e 's/.*\.o/\$(OBJ)&/' \ 84 85 | sed -e 's?'$inc/'?$(INC)?g' \ -
trunk/SophyaLib/Mgr/mkmfprog
r868 r911 1 1 #!/bin/csh 2 # $Id: mkmfprog,v 1. 3 2000-04-10 17:37:51ansari Exp $2 # $Id: mkmfprog,v 1.4 2000-04-13 15:56:03 ansari Exp $ 3 3 4 4 # $1 : nom du repertoire … … 80 80 set inc = $DPCDEVREP/Include 81 81 set incext = $EXTLIBDIR/Include 82 82 set nomsys = `uname` 83 83 84 84 foreach f ( *.cc ) 85 gcc -MM - I$inc -I$incext $f \85 gcc -MM -D$nomsys -I$inc -I$incext $f \ 86 86 | grep -v $incext \ 87 87 | sed -e 's/.*\.o/\$(OBJ)&/' \
Note:
See TracChangeset
for help on using the changeset viewer.