Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:50

0001 ##############################################
0002 # please add new classes in alphabetical order
0003 
0004 AUTOMAKE_OPTIONS = foreign
0005 
0006 # List of shared libraries to produce
0007 if USE_ONLINE
0008 lib_LTLIBRARIES = \
0009   libmbd_io.la
0010 else
0011 lib_LTLIBRARIES = \
0012   libmbd_io.la \
0013   libmbd.la
0014 endif
0015 
0016 if USE_ONLINE
0017 AM_CPPFLAGS = \
0018   -DONLINE \
0019   -I$(includedir) \
0020   -I$(OFFLINE_MAIN)/include \
0021   -I${G4_MAIN}/include \
0022   -isystem$(ROOTSYS)/include
0023 else
0024 AM_CPPFLAGS = \
0025   -I$(includedir) \
0026   -I$(OFFLINE_MAIN)/include \
0027   -I${G4_MAIN}/include \
0028   -isystem$(ROOTSYS)/include
0029 endif
0030 
0031 AM_LDFLAGS = \
0032   -L$(libdir) \
0033   -L$(OFFLINE_MAIN)/lib64 \
0034   -L$(OFFLINE_MAIN)/lib
0035 
0036 if USE_ONLINE
0037 pkginclude_HEADERS = \
0038   BbcGeom.h \
0039   BbcGeomV1.h \
0040   MbdDefs.h \
0041   MbdEvent.h \
0042   MbdGeom.h \
0043   MbdGeomV1.h \
0044   MbdGeomV2.h \
0045   MbdOut.h \
0046   MbdOutV1.h \
0047   MbdOutV2.h \
0048   MbdPmtContainer.h \
0049   MbdPmtContainerV1.h \
0050   MbdPmtHit.h \
0051   MbdPmtHitV1.h \
0052   MbdReturnCodes.h \
0053   MbdRunningStats.h \
0054   MbdCalib.h \
0055   MbdSig.h
0056 
0057 else
0058 pkginclude_HEADERS = \
0059   BbcDefs.h \
0060   MbdDefs.h \
0061   BbcOut.h \
0062   BbcOutV1.h \
0063   MbdOut.h \
0064   MbdOutV1.h \
0065   MbdOutV2.h \
0066   BbcPmtContainer.h \
0067   BbcPmtContainerV1.h \
0068   BbcPmtHit.h \
0069   BbcPmtHitV1.h \
0070   MbdPmtContainer.h \
0071   MbdPmtContainerV1.h \
0072   MbdPmtSimContainerV1.h \
0073   MbdPmtHit.h \
0074   MbdPmtHitV1.h \
0075   MbdPmtSimHitV1.h \
0076   BbcPmtInfoContainerV1.h \
0077   BbcPmtInfoV1.h \
0078   MbdRunningStats.h \
0079   MbdSig.h \
0080   MbdEvent.h \
0081   MbdCalib.h \
0082   MbdReco.h \
0083   BbcGeom.h \
0084   BbcGeomV1.h \
0085   MbdGeom.h \
0086   MbdGeomV1.h \
0087   MbdGeomV2.h \
0088   BbcReturnCodes.h \
0089   MbdReturnCodes.h \
0090   BbcVertex.h \
0091   BbcVertexv1.h \
0092   BbcVertexv2.h \
0093   BbcVertexMap.h \
0094   BbcVertexMapv1.h
0095 endif
0096 
0097 if USE_ONLINE
0098 ROOTDICTS = \
0099   BbcGeom_Dict.cc \
0100   BbcGeomV1_Dict.cc \
0101   MbdGeom_Dict.cc \
0102   MbdGeomV1_Dict.cc \
0103   MbdGeomV2_Dict.cc \
0104   MbdOut_Dict.cc \
0105   MbdOutV1_Dict.cc \
0106   MbdOutV2_Dict.cc \
0107   MbdPmtContainer_Dict.cc \
0108   MbdPmtContainerV1_Dict.cc \
0109   MbdPmtHit_Dict.cc \
0110   MbdPmtHitV1_Dict.cc
0111 
0112 else
0113 ROOTDICTS = \
0114   BbcOut_Dict.cc \
0115   BbcOutV1_Dict.cc \
0116   BbcGeom_Dict.cc \
0117   BbcGeomV1_Dict.cc \
0118   BbcPmtHit_Dict.cc \
0119   BbcPmtHitV1_Dict.cc \
0120   BbcPmtContainer_Dict.cc \
0121   BbcPmtContainerV1_Dict.cc \
0122   BbcPmtInfoV1_Dict.cc \
0123   BbcPmtInfoContainerV1_Dict.cc \
0124   BbcVertex_Dict.cc \
0125   BbcVertexv1_Dict.cc \
0126   BbcVertexv2_Dict.cc \
0127   BbcVertexMap_Dict.cc \
0128   BbcVertexMapv1_Dict.cc \
0129   MbdOut_Dict.cc \
0130   MbdOutV1_Dict.cc \
0131   MbdOutV2_Dict.cc \
0132   MbdGeom_Dict.cc \
0133   MbdGeomV1_Dict.cc \
0134   MbdGeomV2_Dict.cc \
0135   MbdPmtHit_Dict.cc \
0136   MbdPmtHitV1_Dict.cc \
0137   MbdPmtSimHitV1_Dict.cc \
0138   MbdPmtContainer_Dict.cc \
0139   MbdPmtContainerV1_Dict.cc \
0140   MbdPmtSimContainerV1_Dict.cc
0141 endif
0142 
0143 pcmdir = $(libdir)
0144 
0145 if USE_ONLINE
0146 nobase_dist_pcm_DATA = \
0147   BbcGeom_Dict_rdict.pcm \
0148   BbcGeomV1_Dict_rdict.pcm \
0149   MbdGeom_Dict_rdict.pcm \
0150   MbdGeomV1_Dict_rdict.pcm \
0151   MbdGeomV2_Dict_rdict.pcm \
0152   MbdOut_Dict_rdict.pcm \
0153   MbdOutV1_Dict_rdict.pcm \
0154   MbdOutV2_Dict_rdict.pcm \
0155   MbdPmtHit_Dict_rdict.pcm \
0156   MbdPmtHitV1_Dict_rdict.pcm \
0157   MbdPmtSimHitV1_Dict_rdict.pcm \
0158   MbdPmtContainer_Dict_rdict.pcm \
0159   MbdPmtContainerV1_Dict_rdict.pcm \
0160   MbdPmtSimContainerV1_Dict_rdict.pcm
0161 
0162 else
0163 nobase_dist_pcm_DATA = \
0164   BbcOut_Dict_rdict.pcm \
0165   BbcOutV1_Dict_rdict.pcm \
0166   BbcGeom_Dict_rdict.pcm \
0167   BbcGeomV1_Dict_rdict.pcm \
0168   BbcPmtHit_Dict_rdict.pcm \
0169   BbcPmtHitV1_Dict_rdict.pcm \
0170   BbcPmtContainer_Dict_rdict.pcm \
0171   BbcPmtContainerV1_Dict_rdict.pcm \
0172   BbcPmtInfoV1_Dict_rdict.pcm \
0173   BbcPmtInfoContainerV1_Dict_rdict.pcm \
0174   BbcVertex_Dict_rdict.pcm \
0175   BbcVertexv1_Dict_rdict.pcm \
0176   BbcVertexv2_Dict_rdict.pcm \
0177   BbcVertexMap_Dict_rdict.pcm \
0178   BbcVertexMapv1_Dict_rdict.pcm \
0179   MbdOut_Dict_rdict.pcm \
0180   MbdOutV1_Dict_rdict.pcm \
0181   MbdOutV2_Dict_rdict.pcm \
0182   MbdGeom_Dict_rdict.pcm \
0183   MbdGeomV1_Dict_rdict.pcm \
0184   MbdGeomV2_Dict_rdict.pcm \
0185   MbdPmtHit_Dict_rdict.pcm \
0186   MbdPmtHitV1_Dict_rdict.pcm \
0187   MbdPmtSimHitV1_Dict_rdict.pcm \
0188   MbdPmtContainer_Dict_rdict.pcm \
0189   MbdPmtContainerV1_Dict_rdict.pcm \
0190   MbdPmtSimContainerV1_Dict_rdict.pcm
0191 endif
0192 
0193 if USE_ONLINE
0194 libmbd_io_la_SOURCES = \
0195   $(ROOTDICTS) \
0196   MbdEvent.cc \
0197   BbcGeomV1.cc \
0198   MbdGeomV1.cc \
0199   MbdGeomV2.cc \
0200   MbdOut.cc \
0201   MbdOutV1.cc \
0202   MbdOutV2.cc \
0203   MbdPmtHit.cc \
0204   MbdPmtHitV1.cc \
0205   MbdPmtContainer.cc \
0206   MbdPmtContainerV1.cc \
0207   MbdRunningStats.cc \
0208   MbdCalib.cc \
0209   MbdSig.cc
0210 
0211 else
0212 libmbd_io_la_SOURCES = \
0213   $(ROOTDICTS) \
0214   BbcGeomV1.cc \
0215   BbcOut.cc \
0216   BbcOutV1.cc \
0217   BbcPmtHit.cc \
0218   BbcPmtHitV1.cc \
0219   BbcPmtContainer.cc \
0220   BbcPmtContainerV1.cc \
0221   BbcPmtInfoV1.cc \
0222   BbcPmtInfoContainerV1.cc \
0223   MbdGeomV1.cc \
0224   MbdGeomV2.cc \
0225   MbdOut.cc \
0226   MbdOutV1.cc \
0227   MbdOutV2.cc \
0228   MbdPmtHit.cc \
0229   MbdPmtHitV1.cc \
0230   MbdPmtSimHitV1.cc \
0231   MbdPmtContainer.cc \
0232   MbdPmtContainerV1.cc \
0233   MbdPmtSimContainerV1.cc \
0234   MbdRunningStats.cc \
0235   MbdSig.cc \
0236   BbcVertexv1.cc \
0237   BbcVertexv2.cc \
0238   BbcVertexMap.cc \
0239   BbcVertexMapv1.cc
0240 
0241 libmbd_la_SOURCES = \
0242   MbdEvent.cc \
0243   MbdCalib.cc \
0244   MbdReco.cc
0245 
0246 endif
0247 
0248 if USE_ONLINE
0249 libmbd_io_la_LIBADD = \
0250   -lphool \
0251   -lcdbobjects
0252 
0253 else
0254 libmbd_io_la_LIBADD = \
0255   -lcalo_io \
0256   -lphool
0257 
0258 libmbd_la_LIBADD = \
0259   libmbd_io.la \
0260   -lphool \
0261   -lffamodules \
0262   -lffarawobjects \
0263   -lcdbobjects \
0264   -lSubsysReco \
0265   -lglobalvertex_io
0266 
0267 endif
0268 
0269 # Rule for generating table CINT dictionaries.
0270 %_Dict.cc: %.h %LinkDef.h
0271         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0272 
0273 #just to get the dependency
0274 %_Dict_rdict.pcm: %_Dict.cc ;
0275 
0276 
0277 ################################################
0278 # linking tests
0279 
0280 BUILT_SOURCES = \
0281   testexternals.cc
0282 
0283 if USE_ONLINE
0284 noinst_PROGRAMS = \
0285   testexternals_io
0286 
0287 else
0288 
0289 noinst_PROGRAMS = \
0290   testexternals \
0291   testexternals_io
0292 
0293 testexternals_SOURCES = testexternals.cc
0294 testexternals_LDADD = libmbd.la
0295 
0296 endif
0297 
0298 testexternals_io_SOURCES = testexternals.cc
0299 testexternals_io_LDADD = libmbd_io.la
0300 
0301 testexternals.cc:
0302         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0303         echo "int main()" >> $@
0304         echo "{" >> $@
0305         echo "  return 0;" >> $@
0306         echo "}" >> $@
0307 
0308 ##############################################
0309 # please add new classes in alphabetical order
0310 
0311 clean-local:
0312         rm -f *Dict* $(BUILT_SOURCES) *.pcm
0313