Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-17 09:20:17

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   MbdDefs.h \
0039   MbdEvent.h \
0040   MbdGeom.h \
0041   MbdGeomV1.h \
0042   MbdGeomV2.h \
0043   MbdOut.h \
0044   MbdOutV1.h \
0045   MbdOutV2.h \
0046   MbdPmtContainer.h \
0047   MbdPmtContainerV1.h \
0048   MbdPmtHit.h \
0049   MbdPmtHitV1.h \
0050   MbdRawContainer.h \
0051   MbdRawContainerV1.h \
0052   MbdRawHit.h \
0053   MbdRawHitV1.h \
0054   MbdReturnCodes.h \
0055   MbdRunningStats.h \
0056   MbdCalib.h \
0057   MbdSig.h
0058 
0059 else
0060 pkginclude_HEADERS = \
0061   MbdDefs.h \
0062   MbdOut.h \
0063   MbdOutV1.h \
0064   MbdOutV2.h \
0065   MbdPmtContainer.h \
0066   MbdPmtContainerV1.h \
0067   MbdPmtSimContainerV1.h \
0068   MbdPmtHit.h \
0069   MbdPmtHitV1.h \
0070   MbdPmtSimHitV1.h \
0071   MbdRawContainer.h \
0072   MbdRawContainerV1.h \
0073   MbdRawHit.h \
0074   MbdRawHitV1.h \
0075   MbdRunningStats.h \
0076   MbdSig.h \
0077   MbdEvent.h \
0078   MbdCalib.h \
0079   MbdReco.h \
0080   MbdGeom.h \
0081   MbdGeomV1.h \
0082   MbdGeomV2.h \
0083   MbdReturnCodes.h
0084 endif
0085 
0086 if USE_ONLINE
0087 ROOTDICTS = \
0088   MbdGeom_Dict.cc \
0089   MbdGeomV1_Dict.cc \
0090   MbdGeomV2_Dict.cc \
0091   MbdOut_Dict.cc \
0092   MbdOutV1_Dict.cc \
0093   MbdOutV2_Dict.cc \
0094   MbdPmtContainer_Dict.cc \
0095   MbdPmtContainerV1_Dict.cc \
0096   MbdPmtHit_Dict.cc \
0097   MbdPmtHitV1_Dict.cc \
0098   MbdRawContainer_Dict.cc \
0099   MbdRawContainerV1_Dict.cc \
0100   MbdRawHit_Dict.cc \
0101   MbdRawHitV1_Dict.cc
0102 
0103 else
0104 ROOTDICTS = \
0105   MbdOut_Dict.cc \
0106   MbdOutV1_Dict.cc \
0107   MbdOutV2_Dict.cc \
0108   MbdGeom_Dict.cc \
0109   MbdGeomV1_Dict.cc \
0110   MbdGeomV2_Dict.cc \
0111   MbdPmtHit_Dict.cc \
0112   MbdPmtHitV1_Dict.cc \
0113   MbdPmtSimHitV1_Dict.cc \
0114   MbdPmtContainer_Dict.cc \
0115   MbdPmtContainerV1_Dict.cc \
0116   MbdPmtSimContainerV1_Dict.cc \
0117   MbdRawHit_Dict.cc \
0118   MbdRawHitV1_Dict.cc \
0119   MbdRawContainer_Dict.cc \
0120   MbdRawContainerV1_Dict.cc
0121 endif
0122 
0123 pcmdir = $(libdir)
0124 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0125 
0126 if USE_ONLINE
0127 libmbd_io_la_SOURCES = \
0128   $(ROOTDICTS) \
0129   MbdEvent.cc \
0130   MbdGeomV1.cc \
0131   MbdGeomV2.cc \
0132   MbdOut.cc \
0133   MbdOutV1.cc \
0134   MbdOutV2.cc \
0135   MbdPmtHit.cc \
0136   MbdPmtHitV1.cc \
0137   MbdPmtContainer.cc \
0138   MbdPmtContainerV1.cc \
0139   MbdRawHit.cc \
0140   MbdRawHitV1.cc \
0141   MbdRawContainer.cc \
0142   MbdRawContainerV1.cc \
0143   MbdRunningStats.cc \
0144   MbdCalib.cc \
0145   MbdSig.cc
0146 
0147 else
0148 libmbd_io_la_SOURCES = \
0149   $(ROOTDICTS) \
0150   MbdGeomV1.cc \
0151   MbdGeomV2.cc \
0152   MbdOut.cc \
0153   MbdOutV1.cc \
0154   MbdOutV2.cc \
0155   MbdPmtHit.cc \
0156   MbdPmtHitV1.cc \
0157   MbdPmtSimHitV1.cc \
0158   MbdPmtContainer.cc \
0159   MbdPmtContainerV1.cc \
0160   MbdPmtSimContainerV1.cc \
0161   MbdRawHit.cc \
0162   MbdRawHitV1.cc \
0163   MbdRawContainer.cc \
0164   MbdRawContainerV1.cc \
0165   MbdRunningStats.cc \
0166   MbdSig.cc
0167 
0168 libmbd_la_SOURCES = \
0169   MbdEvent.cc \
0170   MbdCalib.cc \
0171   MbdReco.cc \
0172   MbdRunningStats.cc \
0173   MbdSig.cc
0174 
0175 endif
0176 
0177 if USE_ONLINE
0178 libmbd_io_la_LIBADD = \
0179   -lphool \
0180   -lcdbobjects
0181 
0182 else
0183 libmbd_io_la_LIBADD = \
0184   -lcalo_io \
0185   -lphool
0186 
0187 libmbd_la_LIBADD = \
0188   libmbd_io.la \
0189   -lcdbobjects \
0190   -lffamodules \
0191   -lffaobjects \
0192   -lffarawobjects \
0193   -lglobalvertex_io \
0194   -lphool \
0195   -lphg4hit \
0196   -lSubsysReco
0197 
0198 endif
0199 
0200 # Rule for generating table CINT dictionaries.
0201 %_Dict.cc: %.h %LinkDef.h
0202         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0203 
0204 #just to get the dependency
0205 %_Dict_rdict.pcm: %_Dict.cc ;
0206 
0207 
0208 ################################################
0209 # linking tests
0210 
0211 BUILT_SOURCES = \
0212   testexternals.cc
0213 
0214 if USE_ONLINE
0215 noinst_PROGRAMS = \
0216   testexternals_io
0217 
0218 else
0219 
0220 noinst_PROGRAMS = \
0221   testexternals \
0222   testexternals_io
0223 
0224 testexternals_SOURCES = testexternals.cc
0225 testexternals_LDADD = libmbd.la
0226 
0227 endif
0228 
0229 testexternals_io_SOURCES = testexternals.cc
0230 testexternals_io_LDADD = libmbd_io.la
0231 
0232 testexternals.cc:
0233         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0234         echo "int main()" >> $@
0235         echo "{" >> $@
0236         echo "  return 0;" >> $@
0237         echo "}" >> $@
0238 
0239 ##############################################
0240 # please add new classes in alphabetical order
0241 
0242 clean-local:
0243         rm -f *Dict* $(BUILT_SOURCES) *.pcm
0244