Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:12:12

0001 ##############################################
0002 # please add new classes in alphabetical order
0003 
0004 AUTOMAKE_OPTIONS = foreign
0005 
0006 # list of shared libraries to produce
0007 lib_LTLIBRARIES = \
0008   libelectronid.la
0009 
0010 AM_CPPFLAGS = \
0011   -I$(includedir) \
0012   -I$(OFFLINE_MAIN)/include \
0013   -I$(ROOTSYS)/include
0014 
0015 AM_LDFLAGS = \
0016   -L$(libdir) \
0017   -L$(OFFLINE_MAIN)/lib
0018 
0019 pkginclude_HEADERS = \
0020   ElectronID.h
0021 
0022 ROOTDICTS = \
0023   ElectronID_Dict.cc 
0024 
0025 pcmdir = $(libdir)
0026 nobase_dist_pcm_DATA = \
0027   ElectronID_Dict_rdict.pcm
0028 
0029 # sources for io library
0030 libelectronid_la_SOURCES = \
0031   $(ROOTDICTS) \
0032   ElectronID.cc
0033 
0034 libelectronid_la_LIBADD = \
0035   -lphool \
0036   -lSubsysReco \
0037   -ltrackbase_historic_io 
0038 
0039 ##added on Apr. 19, 2021 by Weihu
0040 libelectronid_la_LDFLAGS = \
0041   -L$(libdir) \
0042   -L$(OFFLINE_MAIN)/lib \
0043   -L$(ROOTSYS)/lib \
0044   -lcalo_io \
0045   -lfun4all \
0046   -lg4detectors_io \
0047   -lphg4hit \
0048   -lg4dst \
0049   -lg4eval \
0050   -lTMVA \
0051   -ltrackpid 
0052 
0053 # Rule for generating table CINT dictionaries.
0054 %_Dict.cc: %.h %LinkDef.h
0055         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0056 
0057 #just to get the dependency
0058 %_Dict_rdict.pcm: %_Dict.cc ;
0059 
0060 ################################################
0061 # linking tests
0062 
0063 BUILT_SOURCES = testexternals.cc
0064 
0065 noinst_PROGRAMS = \
0066   testexternals_electronid
0067 
0068 testexternals_electronid_SOURCES = testexternals.cc
0069 testexternals_electronid_LDADD = libelectronid.la
0070 
0071 testexternals.cc:
0072         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0073         echo "int main()" >> $@
0074         echo "{" >> $@
0075         echo "  return 0;" >> $@
0076         echo "}" >> $@
0077 
0078 ################################################
0079 
0080 clean-local:
0081         rm -f *Dict* $(BUILT_SOURCES) *.pcm