Changeset 3206

Show
Ignore:
Timestamp:
08/01/04 06:06:07 (10 years ago)
Author:
robert
Message:

Added PROFILER support under Linux for gprof and FunctionCheck?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/Make/makedefs

    r2990 r3206  
    338338  endif 
    339339 
    340  
    341340  SHARED            = -shared 
    342341  ifeq ($(SYSARCH),x86_64) 
     
    360359  GIF_LIBS          = -lungif 
    361360  MAKEDIST          = $(TOPDIR)/Make/makerpms 
     361 
     362  ifeq ("$(PROFILER)","gprof") 
     363    DEF += -pg 
     364  endif 
     365 
     366  ifeq ("$(PROFILER)","FunctionCheck") 
     367    DEF += -finstrument-functions 
     368    OTHER_LIBS += -lfnccheck 
     369  endif 
     370 
    362371endif 
    363372