Changeset 21791 for Makefile.PL

Show
Ignore:
Timestamp:
08/05/08 20:08:56 (4 months ago)
Author:
gbacon
Message:

Add prof make target for profiling build.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Makefile.PL

    r21773 r21791  
    7575 
    7676$ENV{CABAL_CONFIG_FILE} = $cabal_local_config; 
    77 system($cabal => 'install', '--user', '-p', @deps); 
     77system($cabal => 'install', '--user', @deps); 
    7878 
    7979do "Configure.PL"; 
     
    166166 
    167167pugs$Config{_exe} :: pugs_requirements build_perl5 
     168        ./Configure.PL 
    168169        \$(RM_F) dist/build/pugs/pugs$Config{_exe} 
    169170        \$(RM_F) Pugs.cabal 
     
    172173        ./Setup$Config{_exe} build 
    173174        \$(CP) dist/build/pugs/pugs$Config{_exe} . 
     175 
     176prof :: pugs-prof$Config{_exe} 
     177 
     178pugs-prof$Config{_exe} :: pugs_requirements build_perl5 
     179        $cabal install --user -p @deps 
     180        PUGS_NO_THREADS=true ./Configure.PL 
     181        \$(RM_F) dist/build/pugs/pugs$Config{_exe} 
     182        \$(RM_F) Pugs.cabal 
     183        \$(CP) Pugs.cabal.in Pugs.cabal 
     184        ./Setup$Config{_exe} configure --user -p --enable-executable-profiling 
     185        ./Setup$Config{_exe} build 
     186        \$(CP) dist/build/pugs/pugs$Config{_exe} ./pugs-prof$Config{_exe} 
    174187 
    175188install ::