Bringing CMakeLists under svn maintenance
[u/mrichter/AliRoot.git] / HERWIG / CMakelibherwig.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for herwig                                                        #
3 # Author : Johny Jose (johny.jose@cern.ch)                                       #
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 set ( SRCS AliHerwigRndm.cxx)
29
30 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
31
32 set ( DHDR herwigLinkDef.h)
33
34 set ( CSRCS  main.c herwig6_address.c)
35
36 set ( FSRCS  herwig6_called_from_cc.f herwig6_common_block_address.f herwig6510.f hwlhin.f str.f jimmy/cernmisc/jmabend.F jimmy/cernmisc/jmdbs4.F jimmy/cernmisc/jmdbsir3.F jimmy/cernmisc/jmdbska.F jimmy/cernmisc/jmlnoc.F jimmy/cernmisc/jmmlpt.F jimmy/cernmisc/jmmlst.F jimmy/cernmisc/jmucpy.F jimmy/divon4/addbnd.F jimmy/divon4/bfgs.F jimmy/divon4/bndopt.F jimmy/divon4/bndtst.F jimmy/divon4/bounds.F jimmy/divon4/bucmve.F jimmy/divon4/bufopt.F jimmy/divon4/delbnd.F jimmy/divon4/delete.F jimmy/divon4/delslv.F jimmy/divon4/divon.F jimmy/divon4/dvcopy.F jimmy/divon4/dvdot.F jimmy/divon4/dvnbkd.F jimmy/divon4/exmbuc.F jimmy/divon4/feasmv.F jimmy/divon4/feqn.F jimmy/divon4/fun.F jimmy/divon4/genpnt.F jimmy/divon4/grdcmp.F jimmy/divon4/intgrl.F jimmy/divon4/ldlsol.F jimmy/divon4/locsch.F jimmy/divon4/modchl.F jimmy/divon4/mulchk.F jimmy/divon4/mxstep.F jimmy/divon4/newptq.F jimmy/divon4/nmdchl.F jimmy/divon4/nocut.F jimmy/divon4/nodaud.F jimmy/divon4/orthvc.F jimmy/divon4/partn.F jimmy/divon4/quad.F jimmy/divon4/quasi.F jimmy/divon4/ranums.F jimmy/divon4/recparz.F jimmy/divon4/rlen.F jimmy/divon4/settol.F jimmy/divon4/shrnk.F jimmy/divon4/split.F jimmy/divon4/treaud.F jimmy/divon4/tredmp.F jimmy/divon4/tstext.F jimmy/divon4/usrint.F jimmy/divon4/usrtrm.F jimmy/jimmy/dfun.F jimmy/jimmy/dvnopt.F jimmy/jimmy/eikfun.F jimmy/jimmy/eikon.F jimmy/jimmy/epfun.F jimmy/jimmy/hwmsct.F jimmy/jimmy/hwnsct.F jimmy/jimmy/jimmin.F jimmy/jimmy/jmarea.F jimmy/jimmy/jmefin.F jimmy/jimmy/jmfact.F jimmy/jimmy/jmgamz.F jimmy/jimmy/jmgrid.F jimmy/jimmy/jminit.F jimmy/jimmy/jmkern.F jimmy/jimmy/jmknif.F jimmy/jimmy/jmpn.F jimmy/jimmy/jmrndm.F jimmy/jimmy/jmsn.F jimmy/jimmy/jmsnfn.F jimmy/jimmy/jmxs1.F jimmy/jimmy/qcdres.F)
37
38 if( ALICE_TARGET STREQUAL "win32gcc")
39         
40                 set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -llhapdf)
41
42 endif( ALICE_TARGET STREQUAL "win32gcc")