Fixed coding convention issues as given by the automatic
[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)
57
58 if( ALICE_TARGET STREQUAL "win32gcc")
59         
60   set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEER -lCDB -lESD -lSTEERBase -lRAWDatabase -L${ROOTLIBDIR} -lGeom)
61
62 endif( ALICE_TARGET STREQUAL "win32gcc")
63
64 # --------------------------------------------------------------------
65 # Extra stuff 
66
67 # Install OCDB data 
68 install (DIRECTORY ../OCDB/FMD DESTINATION OCDB)
69
70 install (DIRECTORY scripts 
71          DESTINATION FMD
72          PATTERN ".svn" EXCLUDE 
73          PATTERN ".d"   EXCLUDE 
74          PATTERN ".so"  EXCLUDE)
75
76 install (FILES Config.C
77                MakeFMDFullMisAlignment.C
78                MakeFMDResMisAlignment.C
79                MakeFMDZeroMisAlignment.C
80                Reconstruct.C
81                Simulate.C
82                ViewFMD.C
83          DESTINATION FMD)
84
85 #
86 # EOF
87 #