Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:15:19

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   libtrackpid.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   TrackPidAssoc.h 
0021 
0022 ROOTDICTS = \
0023   TrackPidAssoc_Dict.cc 
0024 
0025 pcmdir = $(libdir)
0026 nobase_dist_pcm_DATA = \
0027   TrackPidAssoc_Dict_rdict.pcm
0028 
0029 # sources for io library
0030 libtrackpid_la_SOURCES = \
0031   $(ROOTDICTS) \
0032   TrackPidAssoc.cc 
0033 
0034 libtrackpid_la_LIBADD = \
0035   -lphool \
0036   -lSubsysReco \
0037   -ltrackbase_historic_io 
0038 
0039 
0040 ##added on Apr. 19, 2021 by Weihu
0041 libtrackpid_la_LDFLAGS = \
0042   -L$(libdir) \
0043   -L$(OFFLINE_MAIN)/lib \
0044   -lcalo_io \
0045   -lfun4all \
0046   -lg4detectors_io \
0047   -lphg4hit \
0048   -lg4dst \
0049   -lg4eval 
0050 
0051 # Rule for generating table CINT dictionaries.
0052 %_Dict.cc: %.h %LinkDef.h
0053         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0054 
0055 #just to get the dependency
0056 %_Dict_rdict.pcm: %_Dict.cc ;
0057 
0058 ################################################
0059 # linking tests
0060 
0061 BUILT_SOURCES = testexternals.cc
0062 
0063 noinst_PROGRAMS = \
0064   testexternals_trackpid
0065 
0066 #testexternals_track_util_SOURCES = testexternals.cc
0067 #testexternals_track_util_LDADD = libtrack_util.la
0068 
0069 testexternals_trackpid_SOURCES = testexternals.cc
0070 testexternals_trackpid_LDADD = libtrackpid.la
0071 
0072 testexternals.cc:
0073         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0074         echo "int main()" >> $@
0075         echo "{" >> $@
0076         echo "  return 0;" >> $@
0077         echo "}" >> $@
0078 
0079 ################################################
0080 
0081 clean-local:
0082         rm -f *Dict* $(BUILT_SOURCES) *.pcm