Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:01

0001 ##############################################
0002 # please add new classes in alphabetical order
0003 
0004 AUTOMAKE_OPTIONS = foreign
0005 
0006 AM_CPPFLAGS = \
0007   -I$(includedir) \
0008   -isystem$(OFFLINE_MAIN)/include  \
0009   -isystem$(ROOTSYS)/include
0010 
0011 AM_LDFLAGS = \
0012   -L$(libdir) \
0013   -L$(ROOTSYS)/lib \
0014   -L$(OFFLINE_MAIN)/lib \
0015   -L$(OFFLINE_MAIN)/lib64
0016 
0017 if USE_ONLINE
0018 
0019 lib_LTLIBRARIES = \
0020   libtpc.la
0021 
0022 pkginclude_HEADERS = \
0023   TpcMap.h
0024 
0025 libtpc_la_SOURCES = \
0026   TpcMap.cc
0027 
0028 noinst_PROGRAMS = \
0029   testexternals_tpc
0030 
0031 else
0032 
0033 lib_LTLIBRARIES = \
0034   libtpc_io.la \
0035   libtpc.la
0036 
0037 pkginclude_HEADERS = \
0038   LaserClusterizer.h \
0039   LaserEventInfo.h \
0040   LaserEventInfov1.h \
0041   LaserEventInfov2.h \
0042   LaserEventIdentifier.h \
0043   LaserEventRejecter.h \
0044   TrainingHitsContainer.h \
0045   TrainingHits.h \
0046   Tpc3DClusterizer.h \
0047   TpcRawDataTree.h \
0048   TpcClusterCleaner.h \
0049   TpcClusterizer.h \
0050   TpcClusterMover.h \
0051   TpcClusterZCrossingCorrection.h \
0052   TpcCombinedRawDataUnpacker.h \
0053   TpcCombinedRawDataUnpackerDebug.h \
0054   TpcDistortionCorrection.h \
0055   TpcDistortionCorrectionContainer.h \
0056   TpcGlobalPositionWrapper.h \
0057   TpcLoadDistortionCorrection.h \
0058   TpcMap.h \
0059   TpcRawWriter.h \
0060   TpcSimpleClusterizer.h
0061 
0062 ROOTDICTS = \
0063   LaserEventInfo_Dict.cc \
0064   LaserEventInfov1_Dict.cc \
0065   LaserEventInfov2_Dict.cc \
0066   TrainingHitsContainer_Dict.cc \
0067   TrainingHits_Dict.cc
0068 
0069 pcmdir = $(libdir)
0070 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0071 
0072 mydatadir = $(datadir)/$(PACKAGE)
0073 dist_mydata_DATA = \
0074   net_model.pt
0075 
0076 # sources for tpc library
0077 libtpc_la_SOURCES = \
0078   LaserClusterizer.cc \
0079   LaserEventInfov1.cc \
0080   LaserEventInfov2.cc \
0081   LaserEventIdentifier.cc \
0082   LaserEventRejecter.cc \
0083   TpcRawDataTree.cc \
0084   Tpc3DClusterizer.cc \
0085   TpcClusterCleaner.cc \
0086   TpcClusterizer.cc \
0087   TpcCombinedRawDataUnpacker.cc \
0088   TpcCombinedRawDataUnpackerDebug.cc \
0089   TpcGlobalPositionWrapper.cc \
0090   TpcLoadDistortionCorrection.cc \
0091   TpcMap.cc \
0092   TpcRawWriter.cc \
0093   TpcSimpleClusterizer.cc \
0094   TpcClusterMover.cc \
0095   TpcClusterZCrossingCorrection.cc \
0096   TpcDistortionCorrection.cc
0097 
0098 libtpc_la_LIBADD = \
0099   libtpc_io.la \
0100   -lffarawobjects \
0101   -lc10 \
0102   -ltorch_cpu \
0103   -ltorch \
0104   -ltrack \
0105   -lmicromegas_io \
0106   -lfun4all \
0107   -lphool \
0108   -lSpectrum \
0109   -lpthread
0110 
0111 # sources for io library
0112 libtpc_io_la_SOURCES = \
0113   $(ROOTDICTS) \
0114   LaserEventInfov1.cc \
0115   LaserEventInfov2.cc \
0116   TrainingHitsContainer.cc \
0117   TrainingHits.cc
0118 
0119 libtpc_io_la_LIBADD = \
0120   -lg4detectors_io
0121 
0122 noinst_PROGRAMS = \
0123   testexternals_tpc_io \
0124   testexternals_tpc
0125 
0126 endif
0127 
0128 # Rule for generating table CINT dictionaries.
0129 %_Dict.cc: %.h %LinkDef.h
0130         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0131 
0132 #just to get the dependency
0133 %_Dict_rdict.pcm: %_Dict.cc ;
0134 
0135 ################################################
0136 # linking tests
0137 
0138 BUILT_SOURCES = testexternals.cc
0139 
0140 testexternals_tpc_io_SOURCES = testexternals.cc
0141 testexternals_tpc_io_LDADD = libtpc_io.la
0142 
0143 testexternals_tpc_SOURCES = testexternals.cc
0144 testexternals_tpc_LDADD = libtpc.la
0145 
0146 testexternals.cc:
0147         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0148         echo "int main()" >> $@
0149         echo "{" >> $@
0150         echo "  return 0;" >> $@
0151         echo "}" >> $@
0152 
0153 ################################################
0154 
0155 clean-local:
0156         rm -f *Dict* *.pcm $(BUILT_SOURCES)