Updating info for ACORDE and TRD
[u/mrichter/AliRoot.git] / FMD / CMakelibFMDbase.pkg
1 # -*- mode: CMake -*-
2 #----------------------------------------------------------------------------#
3 # Package File for FMDbase                                                   #
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   AliFMDIndex.cxx
30         AliFMDBaseDigit.cxx
31         AliFMDDigit.cxx
32         AliFMDSDigit.cxx
33         AliFMDBoolMap.cxx
34         AliFMDUShortMap.cxx
35         AliFMDCalibPedestal.cxx
36         AliFMDCalibGain.cxx
37         AliFMDCalibSampleRate.cxx
38         AliFMDCalibStripRange.cxx
39         AliFMDAltroMapping.cxx
40         AliFMDParameters.cxx
41         AliFMDGeometry.cxx
42         AliFMDRing.cxx
43         AliFMDDetector.cxx
44         AliFMD1.cxx
45         AliFMD2.cxx
46         AliFMD3.cxx
47         AliFMDPreprocessor.cxx
48         AliFMDQAChecker.cxx
49         AliFMDGeometryBuilder.cxx
50         AliFMDSurveyToAlignObjs.cxx)
51
52 string (REPLACE ".cxx" ".h" HDRS  "${SRCS}")
53 set ( HDRS ${HDRS} AliFMDCalibFwd.h )
54 set ( DHDR  FMDbaseLinkDef.h)
55
56 set ( EINCLUDE   RAW STEER/STEER STEER/CDB STEER/ESD STEER/STEERBase)
57
58 set ( EXPORT 
59         AliFMDBaseDigit.h
60         AliFMDDigit.h
61         AliFMDCalibFwd.h
62         AliFMDParameters.h
63         AliFMDGeometry.h
64         AliFMDRing.h
65         AliFMDDetector.h 
66         AliFMDBoolMap.h 
67         AliFMDUShortMap.h )
68
69 if( ALICE_TARGET STREQUAL "win32gcc")
70         
71   set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEER -lCDB -lESD -lSTEERBase -lRAWDatabase -L${ROOTLIBDIR} -lGeom)
72
73 endif( ALICE_TARGET STREQUAL "win32gcc")
74
75 # --------------------------------------------------------------------
76 # Extra stuff 
77
78 # Install OCDB data 
79 install (
80   DIRECTORY ../OCDB/FMD 
81   DESTINATION OCDB
82   PATTERN ".svn" EXCLUDE)
83
84
85 install (DIRECTORY scripts 
86          DESTINATION FMD
87          PATTERN ".svn" EXCLUDE 
88          PATTERN ".d"   EXCLUDE 
89          PATTERN ".so"  EXCLUDE)
90
91 install (FILES Config.C
92                MakeFMDFullMisAlignment.C
93                MakeFMDResMisAlignment.C
94                MakeFMDZeroMisAlignment.C
95                Reconstruct.C
96                Simulate.C
97                ViewFMD.C
98          DESTINATION FMD)
99
100 #
101 # EOF
102 #