Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-17 09:19:50

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CPPFLAGS = \
0004   -I$(includedir) \
0005   -isystem$(OFFLINE_MAIN)/include \
0006   -isystem`root-config --incdir`
0007 
0008 AM_LDFLAGS = \
0009   -L$(libdir) \
0010   -L$(OFFLINE_MAIN)/lib \
0011   -L$(OFFLINE_MAIN)/lib64
0012 
0013 pcmdir = $(libdir)
0014 
0015 if USE_ONLINE
0016 lib_LTLIBRARIES = \
0017   libphool.la
0018 
0019 ROOTDICTS = \
0020   PHObject_Dict.cc
0021 
0022 # more elegant way to create pcm files (without listing them)
0023 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0024 
0025 libphool_la_SOURCES = \
0026   $(ROOTDICTS) \
0027   PHObject.cc
0028 
0029 pkginclude_HEADERS =  \
0030   PHObject.h \
0031   phool.h
0032 
0033 noinst_PROGRAMS = \
0034   testexternals_phool
0035 
0036 else
0037 
0038 lib_LTLIBRARIES = \
0039   libphool.la \
0040   libsph_onnx.la
0041 
0042 ROOTDICTS = \
0043   PHObject_Dict.cc \
0044   PHTimeStamp_Dict.cc
0045 
0046 # more elegant way to create pcm files (without listing them)
0047 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0048 
0049 libphool_la_SOURCES = \
0050   $(ROOTDICTS) \
0051   PHCompositeNode.cc \
0052   PHFlag.cc \
0053   PHNode.cc \
0054   PHNodeIOManager.cc \
0055   PHNodeIntegrate.cc \
0056   PHNodeIterator.cc \
0057   PHNodeReset.cc \
0058   PHObject.cc \
0059   PHRandomSeed.cc \
0060   PHTimer.cc \
0061   PHTimeServer.cc \
0062   PHTimeStamp.cc \
0063   recoConsts.cc
0064 
0065 pkginclude_HEADERS =  \
0066   getClass.h \
0067   onnxlib.h \
0068   PHCompositeNode.h \
0069   PHDataNode.h \
0070   PHDataNodeIterator.h \
0071   PHFlag.h \
0072   PHIODataNode.h \
0073   PHIOManager.h \
0074   PHNode.h \
0075   PHNodeIOManager.h \
0076   PHNodeIntegrate.h \
0077   PHNodeOperation.h \
0078   PHNodeReset.h \
0079   PHNodeIterator.h \
0080   PHObject.h \
0081   phool.h \
0082   phooldefs.h \
0083   PHRandomSeed.h \
0084   PHPointerList.h \
0085   PHPointerListIterator.h \
0086   PHTimer.h \
0087   PHTimeServer.h \
0088   PHTimeStamp.h \
0089   PHTypedNodeIterator.h \
0090   recoConsts.h \
0091   RunnumberRange.h \
0092   sphenix_constants.h
0093 
0094 noinst_PROGRAMS = \
0095   testexternals_phool \
0096   testexternals_sph_onnx
0097 
0098 bin_PROGRAMS = \
0099   onnxtest
0100 
0101 endif
0102 
0103 libphool_la_LDFLAGS = \
0104   -L$(libdir) \
0105   -L$(OFFLINE_MAIN)/lib \
0106   `root-config --libs`
0107 
0108 
0109 libsph_onnx_la_SOURCES = \
0110   onnxlib.cc
0111 
0112 
0113 libsph_onnx_la_LIBADD = \
0114   -lonnxruntime
0115 
0116 
0117 BUILT_SOURCES = \
0118   testexternals.cc
0119 
0120 onnxtest_SOURCES = onnxtest.cc
0121 
0122 onnxtest_LDADD = \
0123   libsph_onnx.la
0124 
0125 testexternals_phool_SOURCES = testexternals.cc
0126 testexternals_sph_onnx_SOURCES = testexternals.cc
0127 
0128 testexternals_phool_LDADD = \
0129   libphool.la
0130 
0131 testexternals_sph_onnx_LDADD = \
0132   libsph_onnx.la
0133 
0134 testexternals.cc:
0135         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0136         echo "int main()" >> $@
0137         echo "{" >> $@
0138         echo "  return 0;" >> $@
0139         echo "}" >> $@
0140 
0141 %_Dict.cc: %.h %LinkDef.h
0142         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0143 
0144 #just to get the dependency
0145 %_Dict_rdict.pcm: %_Dict.cc ;
0146 
0147 clean-local:
0148         rm -f *Dict* $(BUILT_SOURCES) *.pcm