File indexing completed on 2025-08-05 08:16:19
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
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
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 endif
0099
0100 libphool_la_LDFLAGS = \
0101 -L$(libdir) \
0102 -L$(OFFLINE_MAIN)/lib \
0103 `root-config --libs`
0104
0105
0106 libsph_onnx_la_SOURCES = \
0107 onnxlib.cc
0108
0109
0110 libsph_onnx_la_LIBADD = \
0111 -lonnxruntime
0112
0113
0114 BUILT_SOURCES = \
0115 testexternals.cc
0116
0117
0118
0119 testexternals_phool_SOURCES = testexternals.cc
0120 testexternals_sph_onnx_SOURCES = testexternals.cc
0121
0122 testexternals_phool_LDADD = \
0123 libphool.la
0124
0125 testexternals_sph_onnx_LDADD = \
0126 libsph_onnx.la
0127
0128 testexternals.cc:
0129 echo "//*** this is a generated file. Do not commit, do not edit" > $@
0130 echo "int main()" >> $@
0131 echo "{" >> $@
0132 echo " return 0;" >> $@
0133 echo "}" >> $@
0134
0135 %_Dict.cc: %.h %LinkDef.h
0136 rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0137
0138
0139 %_Dict_rdict.pcm: %_Dict.cc ;
0140
0141 clean-local:
0142 rm -f *Dict* $(BUILT_SOURCES) *.pcm