Cmake for new lhapdf version
[u/mrichter/AliRoot.git] / LHAPDF / CMakeliblhapdf5_9_1.pkg
CommitLineData
59221a67 1# -*- mode: cmake -*-
2
3#--------------------------------------------------------------------------------#
4# Package File for lhapdf #
5# Author : Johny Jose (johny.jose@cern.ch) #
6# Variables Defined : #
7# #
8# SRCS - C++ source files #
9# HDRS - C++ header files #
10# DHDR - ROOT Dictionary Linkdef header file #
11# CSRCS - C source files #
12# CHDRS - C header files #
13# EINCLUDE - Include directories #
14# EDEFINE - Compiler definitions #
15# ELIBS - Extra libraries to link #
16# ELIBSDIR - Extra library directories #
17# PACKFFLAGS - Fortran compiler flags for package #
18# PACKCXXFLAGS - C++ compiler flags for package #
19# PACKCFLAGS - C compiler flags for package #
20# PACKSOFLAGS - Shared library linking flags #
21# PACKLDFLAGS - Module linker flags #
22# PACKBLIBS - Libraries to link (Executables only) #
23# EXPORT - Header files to be exported #
24# CINTHDRS - Dictionary header files #
25# CINTAUTOLINK - Set automatic dictionary generation #
26# ARLIBS - Archive Libraries and objects for linking (Executables only) #
27# SHLIBS - Shared Libraries and objects for linking (Executables only) #
28#--------------------------------------------------------------------------------#
29
30set ( SRCS AliStructFuncType.cxx lhapdf-5.9.1/src/version.cxx lhapdf-5.9.1/src/getdatapath.cxx)
31
32set ( HDRS AliStructFuncType.h)
33
34set ( DHDR lhapdfLinkDef.h)
35
36set ( EINCLUDE LHAPDF/lhapdf-5.9.1 LHAPDF/lhapdf-5.9.1/include LHAPDF/lhapdf-5.9.1/src)
37
38set ( CSRCS lhapdf-5.9.1/src/binreloc.c )
39
40set ( FSRCS
41 lhapdf-5.9.1/src/alphas.f
42 lhapdf-5.9.1/src/commoninit.f
43 lhapdf-5.9.1/src/description.f
44 lhapdf-5.9.1/src/eks98.f
45 lhapdf-5.9.1/src/eksarp.f
46 lhapdf-5.9.1/src/eps08.f
47 lhapdf-5.9.1/src/eps09.f
48 lhapdf-5.9.1/src/EVLCTEQ.f
49 lhapdf-5.9.1/src/EVLNNPDF.f
50 lhapdf-5.9.1/src/evolution.f
51 lhapdf-5.9.1/src/inputPDF.F
52 lhapdf-5.9.1/src/LHpdflib.F
53 lhapdf-5.9.1/src/parameter.F
54 lhapdf-5.9.1/src/QCDNUM.F
55 lhapdf-5.9.1/src/QCDparams.f
56 lhapdf-5.9.1/src/Smrst.f
57 lhapdf-5.9.1/src/Sqcdnum.f
58 lhapdf-5.9.1/src/Szeus.f
59 lhapdf-5.9.1/src/uncertainties.f
60 lhapdf-5.9.1/src/wrapNNPDF.f
61 lhapdf-5.9.1/src/wrapNNPDF20grid.f
62 lhapdf-5.9.1/src/wrapNNPDF20qedgrid.f
63 lhapdf-5.9.1/src/wrapNNPDFgrid.f
64 lhapdf-5.9.1/src/wrapa02m.f
65 lhapdf-5.9.1/src/wrapabfkwpi.f
66 lhapdf-5.9.1/src/wrapabkm09.f
67 lhapdf-5.9.1/src/wrapabm11.f
68 lhapdf-5.9.1/src/wrapacfgpg.f
69 lhapdf-5.9.1/src/wrapct12.f
70 lhapdf-5.9.1/src/wrapcteq5.f
71 lhapdf-5.9.1/src/wrapcteq6.f
72 lhapdf-5.9.1/src/wrapcteq65.f
73 lhapdf-5.9.1/src/wrapcteq6lg.f
74 lhapdf-5.9.1/src/wrapdgg.f
75 lhapdf-5.9.1/src/wrapdog.f
76 lhapdf-5.9.1/src/wrapEVLCTEQ.f
77 lhapdf-5.9.1/src/wrapevolve.F
78 lhapdf-5.9.1/src/wrapgjr.f
79 lhapdf-5.9.1/src/wrapgrv.f
80 lhapdf-5.9.1/src/wrapgrvg.f
81 lhapdf-5.9.1/src/wrapgrvpi.f
82 lhapdf-5.9.1/src/wrapgsg96.f
83 lhapdf-5.9.1/src/wrapgsg.f
84 lhapdf-5.9.1/src/wraph1.f
85 lhapdf-5.9.1/src/wraphera.f
86 lhapdf-5.9.1/src/wrapheragrid.f
87 lhapdf-5.9.1/src/wraphkn.f
88 lhapdf-5.9.1/src/wraplacg.f
89 lhapdf-5.9.1/src/wrapowpi.f
90 lhapdf-5.9.1/src/wrapmrst.f
91 lhapdf-5.9.1/src/wrapmrst2006.f
92 lhapdf-5.9.1/src/wrapmrst98.f
93 lhapdf-5.9.1/src/wrapmrstqed.f
94 lhapdf-5.9.1/src/wrapQCDNUM3.f
95 lhapdf-5.9.1/src/wrapQCDNUM4.f
96 lhapdf-5.9.1/src/wrapQCDNUM.F
97 lhapdf-5.9.1/src/wrapsasg.f
98 lhapdf-5.9.1/src/wrapmstw.f
99 lhapdf-5.9.1/src/wrapsmrspi.f
100 lhapdf-5.9.1/src/wrapwhitg.f
101 lhapdf-5.9.1/src/wrapzeus.f
102 lhapdf-5.9.1/src/lhaglue.f
103 lhapdf-5.9.1/src/wrapUSER.f
104 lhapdf-5.9.1/src/wrapusergrid.f
105 lhapdf-5.9.1/src/wrapXNN.f
106)
107
108if( ALICE_TARGET STREQUAL "solarisCC5")
109 set ( PACKFFLAGS "${FFLAGS} -free")
110elseif( ALICE_TARGET STREQUAL "linuxx8664icc")
111 set ( PACKFFLAGS "${FFLAGS} -nofixed" )
112else()
113 set ( PACKFFLAGS "${FFLAGS} -ffree-form -DCTEQ")
114endif( ALICE_TARGET STREQUAL "solarisCC5")
115
116set( PACKCXXFLAGS "${CXXFLAGS} -DDEFAULTPREFIXPATH=\\\"NONE\\\" -DDEFAULTLHAPATH=\\\"${ALICE_ROOT}/LHAPDF/PDFsets\\\"" )
117
118
119set ( EXPORT AliStructFuncType.h)
120
121#--------------------------------------------------------------------------------#
122# install PDF data
123install ( DIRECTORY PDFsets
124 DESTINATION LHAPDF
125 PATTERN ".svn" EXCLUDE
126 PATTERN ".d" EXCLUDE
127 PATTERN ".so" EXCLUDE)
128