Add new functionalities (Laurent)
[u/mrichter/AliRoot.git] / TAmpt / CMakelibampt.pkg
CommitLineData
4d40833e 1# -*- mode: CMake -*-
f7c02fbf 2#--------------------------------------------------------------------------------#
3# Package File for #
4# Author : Johny Jose (johny.jose@cern.ch) #
5# Variables Defined : #
6# #
7# SRCS - C++ source files #
8# HDRS - C++ header files #
9# DHDR - ROOT Dictionary Linkdef header file #
10# CSRCS - C source files #
11# CHDRS - C header files #
12# EINCLUDE - Include directories #
13# EDEFINE - Compiler definitions #
14# ELIBS - Extra libraries to link #
15# ELIBSDIR - Extra library directories #
16# PACKFFLAGS - Fortran compiler flags for package #
17# PACKCXXFLAGS - C++ compiler flags for package #
18# PACKCFLAGS - C compiler flags for package #
19# PACKSOFLAGS - Shared library linking flags #
20# PACKLDFLAGS - Module linker flags #
21# PACKBLIBS - Libraries to link (Executables only) #
22# EXPORT - Header files to be exported #
23# CINTHDRS - Dictionary header files #
24# CINTAUTOLINK - Set automatic dictionary generation #
25# ARLIBS - Archive Libraries and objects for linking (Executables only) #
26# SHLIBS - Shared Libraries and objects for linking (Executables only) #
27#--------------------------------------------------------------------------------#
28
29set ( SRCS AMPT/AliAmptRndm.cxx)
30
31string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
32
33set ( DHDR amptLinkDef.h)
34
35set ( FSRCS AMPT/ampt.f AMPT/amptset.f AMPT/amptsetdef.f AMPT/amptsub.f AMPT/art1f.f AMPT/hijing1.383_ampt.f AMPT/hipyset1.35.f AMPT/linana.f AMPT/profile.f AMPT/zpc.f)
36
37if( ALICE_TARGET STREQUAL "macosxicc")
38
39 string ( REGEX REPLACE "-O[^ ]*" "" PACKFFLAGS ${FFLAGS})
40
41endif( ALICE_TARGET STREQUAL "macosxicc")