Changeset 911 in Sophya for trunk/SophyaLib/Mgr/Makefile.h


Ignore:
Timestamp:
Apr 13, 2000, 5:56:03 PM (25 years ago)
Author:
ansari
Message:

Nouveaux flags (SOPHYA_DEBUG,_SGI64) et correction mkmfxxx - Reza 13/4/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Mgr/Makefile.h

    r740 r911  
    177177CPPFLAGS     :=  -I${INC} $(EXTINCPI) -D${MACHEROSD} $(MODULECPPFLAGS)
    178178
     179#  Si la variable d'environnement SOPHYA_DEBUG est definie : Activation des
     180#  compilations conditionnelles pour le debug/bound-checking/... ds le code
     181ifdef SOPHYA_DEBUG
     182  CPPFLAGS   := $(CPPFLAGS) -DSOPHYA_DEBUG
     183endif
     184
    179185# Les options selon les divers compilateurs
    180186# GNU
     
    329335ifeq ($(CXX), KCC)
    330336  CXXFLAGS     :=  --exceptions --rtti  --auto_instantiation --one_instantiation_per_object -D__KCC__
     337  CXXFLAGS  := $(CXXFLAGS) $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS)
     338  CFLAGS := $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS)
    331339# Flag --one_instantiation_per_object mis - Reza 02/03/99
    332340# -DCOMPILER_EXCEPTIONS -D__ANSI_TEMPLATES__  definis ds defs.h
    333341endif
    334342
     343# --- Systeme IRIX64 de Silixon Graphics (SGI)
     344ifeq ($(MACHEROS), IRIX64)
    335345# --- Compilateur natif CC de SGI
    336 ifeq ($(MACHEROS), IRIX64)
    337346  ifeq ($(CXX), CC)
    338     CXXFLAGS     :=  -prelink -D__SGICC__
     347    CFLAGS  := $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS)
     348    CXXFLAGS := -prelink -D__SGICC__ $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS)
    339349    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
    340359  endif
    341360endif
Note: See TracChangeset for help on using the changeset viewer.