Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:12:31

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CPPFLAGS = \
0004   -I$(includedir) \
0005   -I$(OFFLINE_MAIN)/include \
0006   -I$(OFFLINE_MAIN)/include/eigen3 \
0007   -I$(ROOTSYS)/include
0008 
0009 lib_LTLIBRARIES = \
0010    libeicana.la
0011 
0012 AM_CXXFLAGS = -Wall -Werror -msse2
0013 
0014 AM_LDFLAGS = \
0015   -L$(libdir) \
0016   -L$(OFFLINE_MAIN)/lib
0017 
0018 libeicana_la_LIBADD = \
0019   -lfun4all \
0020   -lg4dst \
0021   -lg4eval \
0022   -lphhepmc \
0023   -lg4detectors \
0024   -lgenfit2 \
0025   -lphfield \
0026   -lgenfit2exp \
0027   -lPHGenFit \
0028   -ltrackbase_historic_io
0029 
0030 pkginclude_HEADERS = \
0031   Leptoquarks.h \
0032   LeptoquarksReco.h \
0033   DISKinematicsReco.h \
0034   Quarkonia2LeptonsMC.h\
0035   PidCandidate.h\
0036   PidCandidatev1.h\
0037   TrackProjectionTools.h \
0038   TrackProjectorPlaneECAL.h \
0039   TruthTrackerHepMC.h \
0040   DVMPHelper.h \
0041   ExclusiveReco.h
0042 
0043 # I/O dictionaries have to exist for root5 and root6. For ROOT6 we need
0044 # pcm files in addition. If someone can figure out how to make a list
0045 # so this list of dictionaries is transformed into a list of pcm files
0046 # following a simple naming convention, please change this accordingly and
0047 # let me know
0048 ROOTDICTS = \
0049   PidCandidate_Dict.C \
0050   PidCandidatev1_Dict.C
0051 # for root6 we need pcm and dictionaries but only for
0052 # i/o classes. For root5 we need only dictionaries but
0053 # those for i/o and classes available on the cmd line
0054 # MAKEROOT6 is set in the configure.ac, true for root6
0055 if MAKEROOT6
0056 # this is a tweak to install files in $(libdir), automake refuses
0057 # to install other files in libdir, this construct gets around this
0058 pcmdir = $(libdir)
0059 nobase_dist_pcm_DATA = \
0060   PidCandidate_Dict_rdict.pcm \
0061   PidCandidatev1_Dict_rdict.pcm
0062 else
0063   ROOT5_DICTS = \
0064     DISKinematicsReco_Dict.C \
0065     DVMPHelper_Dict.C \
0066     ExclusiveReco_Dict.C \
0067     Leptoquarks_Dict.C \
0068     LeptoquarksReco_Dict.C \
0069     Quarkonia2LeptonsMC_Dict.C \
0070     TrackProjectionTools_Dict.C \
0071     TrackProjectorPlaneECAL_Dict.C \
0072     TruthTrackerHepMC_Dict.C
0073 endif
0074 
0075 libeicana_la_SOURCES = \
0076   $(ROOTDICTS) \
0077   $(ROOT5_DICTS) \
0078   Leptoquarks.C \
0079   LeptoquarksReco.C \
0080   DISKinematicsReco.C \
0081   Quarkonia2LeptonsMC.C \
0082   PidCandidate.C\
0083   PidCandidatev1.C\
0084   TrackProjectionTools.C \
0085   TrackProjectorPlaneECAL.cc \
0086   TruthTrackerHepMC.C \
0087   DVMPHelper.C \
0088   ExclusiveReco.C
0089 
0090 # Rule for generating table CINT dictionaries.
0091 %_Dict.C: %.h %LinkDef.h
0092         rootcint -f $@ @CINTDEFS@ -c $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0093 
0094 # just to get the dependency                                                                                     
0095 %_Dict_rdict.pcm: %_Dict.C ;
0096 
0097 ################################################
0098 # linking tests
0099 
0100 noinst_PROGRAMS = testexternals
0101 
0102 BUILT_SOURCES = \
0103   testexternals.C
0104 
0105 testexternals_LDADD = \
0106   libeicana.la
0107 
0108 testexternals.C:
0109         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0110         echo "int main()" >> $@
0111         echo "{" >> $@
0112         echo "  return 0;" >> $@
0113         echo "}" >> $@
0114 
0115 clean-local:
0116         rm -f *Dict* $(BUILT_SOURCES) *.pcm