]>
Commit | Line | Data |
---|---|---|
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 | ||
30 | set ( SRCS AliStructFuncType.cxx lhapdf-5.9.1/src/version.cxx lhapdf-5.9.1/src/getdatapath.cxx) | |
31 | ||
32 | set ( HDRS AliStructFuncType.h) | |
33 | ||
34 | set ( DHDR lhapdfLinkDef.h) | |
35 | ||
5657cf19 | 36 | |
4d2f27c1 | 37 | set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "") |
59221a67 | 38 | set ( EINCLUDE LHAPDF/lhapdf-5.9.1 LHAPDF/lhapdf-5.9.1/include LHAPDF/lhapdf-5.9.1/src) |
39 | ||
40 | set ( CSRCS lhapdf-5.9.1/src/binreloc.c ) | |
41 | ||
42 | set ( FSRCS | |
43 | lhapdf-5.9.1/src/alphas.f | |
44 | lhapdf-5.9.1/src/commoninit.f | |
45 | lhapdf-5.9.1/src/description.f | |
46 | lhapdf-5.9.1/src/eks98.f | |
47 | lhapdf-5.9.1/src/eksarp.f | |
48 | lhapdf-5.9.1/src/eps08.f | |
49 | lhapdf-5.9.1/src/eps09.f | |
50 | lhapdf-5.9.1/src/EVLCTEQ.f | |
51 | lhapdf-5.9.1/src/EVLNNPDF.f | |
52 | lhapdf-5.9.1/src/evolution.f | |
53 | lhapdf-5.9.1/src/inputPDF.F | |
54 | lhapdf-5.9.1/src/LHpdflib.F | |
55 | lhapdf-5.9.1/src/parameter.F | |
56 | lhapdf-5.9.1/src/QCDNUM.F | |
57 | lhapdf-5.9.1/src/QCDparams.f | |
58 | lhapdf-5.9.1/src/Smrst.f | |
59 | lhapdf-5.9.1/src/Sqcdnum.f | |
60 | lhapdf-5.9.1/src/Szeus.f | |
61 | lhapdf-5.9.1/src/uncertainties.f | |
62 | lhapdf-5.9.1/src/wrapNNPDF.f | |
63 | lhapdf-5.9.1/src/wrapNNPDF20grid.f | |
64 | lhapdf-5.9.1/src/wrapNNPDF20qedgrid.f | |
65 | lhapdf-5.9.1/src/wrapNNPDFgrid.f | |
66 | lhapdf-5.9.1/src/wrapa02m.f | |
67 | lhapdf-5.9.1/src/wrapabfkwpi.f | |
68 | lhapdf-5.9.1/src/wrapabkm09.f | |
69 | lhapdf-5.9.1/src/wrapabm11.f | |
70 | lhapdf-5.9.1/src/wrapacfgpg.f | |
71 | lhapdf-5.9.1/src/wrapct12.f | |
72 | lhapdf-5.9.1/src/wrapcteq5.f | |
73 | lhapdf-5.9.1/src/wrapcteq6.f | |
74 | lhapdf-5.9.1/src/wrapcteq65.f | |
75 | lhapdf-5.9.1/src/wrapcteq6lg.f | |
76 | lhapdf-5.9.1/src/wrapdgg.f | |
77 | lhapdf-5.9.1/src/wrapdog.f | |
78 | lhapdf-5.9.1/src/wrapEVLCTEQ.f | |
79 | lhapdf-5.9.1/src/wrapevolve.F | |
80 | lhapdf-5.9.1/src/wrapgjr.f | |
81 | lhapdf-5.9.1/src/wrapgrv.f | |
82 | lhapdf-5.9.1/src/wrapgrvg.f | |
83 | lhapdf-5.9.1/src/wrapgrvpi.f | |
84 | lhapdf-5.9.1/src/wrapgsg96.f | |
85 | lhapdf-5.9.1/src/wrapgsg.f | |
86 | lhapdf-5.9.1/src/wraph1.f | |
87 | lhapdf-5.9.1/src/wraphera.f | |
88 | lhapdf-5.9.1/src/wrapheragrid.f | |
89 | lhapdf-5.9.1/src/wraphkn.f | |
90 | lhapdf-5.9.1/src/wraplacg.f | |
91 | lhapdf-5.9.1/src/wrapowpi.f | |
92 | lhapdf-5.9.1/src/wrapmrst.f | |
93 | lhapdf-5.9.1/src/wrapmrst2006.f | |
94 | lhapdf-5.9.1/src/wrapmrst98.f | |
95 | lhapdf-5.9.1/src/wrapmrstqed.f | |
96 | lhapdf-5.9.1/src/wrapQCDNUM3.f | |
97 | lhapdf-5.9.1/src/wrapQCDNUM4.f | |
98 | lhapdf-5.9.1/src/wrapQCDNUM.F | |
99 | lhapdf-5.9.1/src/wrapsasg.f | |
100 | lhapdf-5.9.1/src/wrapmstw.f | |
101 | lhapdf-5.9.1/src/wrapsmrspi.f | |
102 | lhapdf-5.9.1/src/wrapwhitg.f | |
103 | lhapdf-5.9.1/src/wrapzeus.f | |
104 | lhapdf-5.9.1/src/lhaglue.f | |
105 | lhapdf-5.9.1/src/wrapUSER.f | |
106 | lhapdf-5.9.1/src/wrapusergrid.f | |
107 | lhapdf-5.9.1/src/wrapXNN.f | |
108 | ) | |
109 | ||
110 | if( ALICE_TARGET STREQUAL "solarisCC5") | |
111 | set ( PACKFFLAGS "${FFLAGS} -free") | |
112 | elseif( ALICE_TARGET STREQUAL "linuxx8664icc") | |
113 | set ( PACKFFLAGS "${FFLAGS} -nofixed" ) | |
114 | else() | |
e0412b02 | 115 | set ( PACKFFLAGS "${FFLAGS} -ffree-form") |
59221a67 | 116 | endif( ALICE_TARGET STREQUAL "solarisCC5") |
117 | ||
e0412b02 | 118 | set ( PACKFFLAGS "${PACKFFLAGS} -DCTEQ") |
119 | ||
59221a67 | 120 | set( PACKCXXFLAGS "${CXXFLAGS} -DDEFAULTPREFIXPATH=\\\"NONE\\\" -DDEFAULTLHAPATH=\\\"${ALICE_ROOT}/LHAPDF/PDFsets\\\"" ) |
121 | ||
122 | ||
123 | set ( EXPORT AliStructFuncType.h) | |
124 | ||
125 | #--------------------------------------------------------------------------------# | |
126 | # install PDF data | |
127 | install ( DIRECTORY PDFsets | |
128 | DESTINATION LHAPDF | |
129 | PATTERN ".svn" EXCLUDE | |
130 | PATTERN ".d" EXCLUDE | |
131 | PATTERN ".so" EXCLUDE) | |
132 |