]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - DPMJET/CMakelibdpmjet.pkg
1) Updated AddTask for efficiency with different filterbit notation, 2) Added an...
[u/mrichter/AliRoot.git] / DPMJET / CMakelibdpmjet.pkg
index c17fe5b469b346049c23c065c177723619b895bb..de68624726a106091a936be16ea77096b0fd5bad 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: CMake -*-
 #--------------------------------------------------------------------------------#
 # Package File for dpmjet                                                        #
 # Author : Johny Jose (johny.jose@cern.ch)                                       #
@@ -31,24 +32,24 @@ string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
 set ( DHDR dpmjetLinkDef.h)
 
-set ( FSRCS  dpmjet3.0-5.f phojet1.12-35c3.f user3.0-5.f openfile.f)
 
-if( ALICE_TARGET MATCHES "macosx")
-               
-               set ( CSRCS ${CSRCS}  ../PYTHIA6/pythia6_common_address.c)
+set(FLUPRO $ENV{FLUPRO})
 
-    set ( FSRCS ${FSRCS}  ../PYTHIA6/pythia6_common_block_address.F ../PYTHIA6/tpythia6_called_from_cc.F ../PYTHIA6/pythia6214.f ../PYTHIA6/pydummy.f ../PYTHIA6/pdf_alice.F)
+if(FLUPRO)
 
-endif(ALICE_TARGET MATCHES "macosx")
+  set ( FSRCS dpmjet3.0-5F.f phojet1.12-35c4.f user3.0-5F.f openfile.f) 
+  set ( ELIBS  libflukahp.a)
+  set ( ELIBSDIR  ${FLUPRO})  
 
-if( F77 STREQUAL "g95")
-       
-       string (REGEX REPLACE "-O[^ ]*" "" PACKFFLAGS ${FFLAGS})
+else(FLUPRO)
 
-endif( F77 STREQUAL "g95")
+  set ( FSRCS dpmjet3.0-5.f phojet1.12-35c3.f user3.0-5.f openfile.f)   
 
-if( ALICE_TARGET STREQUAL "win32gcc")
-       
-               set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lmicrocern)
+endif(FLUPRO)
 
-endif( ALICE_TARGET STREQUAL "win32gcc")
+if( ALICE_TARGET MATCHES "macosx")
+               
+  set ( CSRCS ${CSRCS}  ../PYTHIA6/pythia6_common_address.c)
+  set ( FSRCS ${FSRCS}  ../PYTHIA6/pythia6_common_block_address.F ../PYTHIA6/tpythia6_called_from_cc.F ../PYTHIA6/pythia6214.f ../PYTHIA6/pydummy.f ../PYTHIA6/pdf_alice.F)
+
+endif(ALICE_TARGET MATCHES "macosx")