X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=DPMJET%2FCMakelibdpmjet.pkg;h=de68624726a106091a936be16ea77096b0fd5bad;hb=281613740638839619c51125a647bd06a2a6281a;hp=c17fe5b469b346049c23c065c177723619b895bb;hpb=6db3170859444cc30c9e5a12dad1ed2b28eb1ea6;p=u%2Fmrichter%2FAliRoot.git diff --git a/DPMJET/CMakelibdpmjet.pkg b/DPMJET/CMakelibdpmjet.pkg index c17fe5b469b..de68624726a 100644 --- a/DPMJET/CMakelibdpmjet.pkg +++ b/DPMJET/CMakelibdpmjet.pkg @@ -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")