25c013ca1675b3cc42e04d3073502f72ac21c7f7
[u/mrichter/AliRoot.git] / PYTHIA8 / CMakelibpythia8.pkg
1 # -*- mode: CMake -*-
2 #--------------------------------------------------------------------------------#
3 # Package File for pythia8                                                       #
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
29 set ( SRCS  
30     pythia8145/src/Analysis.cxx 
31     pythia8145/src/Basics.cxx 
32     pythia8145/src/BeamParticle.cxx 
33     pythia8145/src/BeamRemnants.cxx 
34     pythia8145/src/BeamShape.cxx 
35     pythia8145/src/BoseEinstein.cxx 
36     pythia8145/src/Event.cxx 
37     pythia8145/src/FragmentationFlavZpT.cxx 
38     pythia8145/src/FragmentationSystems.cxx 
39     pythia8145/src/HadronLevel.cxx 
40     pythia8145/src/Info.cxx 
41     pythia8145/src/LesHouches.cxx 
42     pythia8145/src/MiniStringFragmentation.cxx 
43     pythia8145/src/MultipleInteractions.cxx 
44     pythia8145/src/ParticleData.cxx 
45     pythia8145/src/ParticleDecays.cxx 
46     pythia8145/src/PartonDistributions.cxx 
47     pythia8145/src/PartonLevel.cxx 
48     pythia8145/src/PartonSystems.cxx 
49     pythia8145/src/PhaseSpace.cxx 
50     pythia8145/src/ProcessContainer.cxx 
51     pythia8145/src/ProcessLevel.cxx 
52     pythia8145/src/Pythia.cxx 
53     pythia8145/src/PythiaStdlib.cxx 
54     pythia8145/src/ResonanceDecays.cxx 
55     pythia8145/src/ResonanceWidths.cxx 
56     pythia8145/src/Settings.cxx 
57     pythia8145/src/SigmaCompositeness.cxx 
58     pythia8145/src/SigmaEW.cxx 
59     pythia8145/src/SigmaExtraDim.cxx 
60     pythia8145/src/SigmaGeneric.cxx 
61     pythia8145/src/SigmaHiggs.cxx 
62     pythia8145/src/SigmaLeftRightSym.cxx 
63     pythia8145/src/SigmaLeptoquark.cxx 
64     pythia8145/src/SigmaNewGaugeBosons.cxx 
65     pythia8145/src/SigmaOnia.cxx 
66     pythia8145/src/SigmaProcess.cxx 
67     pythia8145/src/SigmaQCD.cxx 
68     pythia8145/src/SigmaSUSY.cxx 
69     pythia8145/src/SigmaTotal.cxx 
70     pythia8145/src/SpaceShower.cxx 
71     pythia8145/src/StandardModel.cxx 
72     pythia8145/src/StringFragmentation.cxx 
73     pythia8145/src/SusyCouplings.cxx 
74     pythia8145/src/SusyLesHouches.cxx 
75     pythia8145/src/TimeShower.cxx 
76     pythia8145/src/UserHooks.cxx 
77     pythia8145/src/SusyResonanceWidths.cxx 
78     )
79
80 set (EINCLUDE PYTHIA8/pythia8145/include)
81
82 if( ALICE_TARGET STREQUAL "macosxicc")
83         
84         string (REGEX REPLACE "-O[^ ]*" "" "$(FFLAGS}")
85
86 endif( ALICE_TARGET STREQUAL "macosxicc")
87
88 string(REPLACE "-Weffc++" "" PACKCXXFLAGS ${CXXFLAGS})
89
90 string(REPLACE "-Weffc++" "" PACKDCXXFLAGS ${CXXFLAGSNO})