Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-19 09:21:37

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CXXFLAGS = `geant4-config --cflags`
0004 
0005 lib_LTLIBRARIES = \
0006     libg4histos.la
0007 
0008 AM_LDFLAGS = \
0009   -L$(libdir) \
0010   -L$(OFFLINE_MAIN)/lib
0011 
0012 libg4histos_la_LDFLAGS = \
0013    -L$(libdir) \
0014    -L$(OFFLINE_MAIN)/lib \
0015    -lcalo_io \
0016    -lfun4all \
0017    -lg4detectors_io \
0018    -lphg4hit
0019 
0020 
0021 AM_CPPFLAGS = \
0022   -I$(includedir) \
0023   -isystem$(OFFLINE_MAIN)/include \
0024   -isystem$(ROOTSYS)/include
0025 
0026 noinst_HEADERS = \
0027   G4RootHitContainer.h \
0028   G4RootRawTower.h \
0029   G4RootRawTowerContainer.h
0030 
0031 pkginclude_HEADERS = \
0032   G4CellNtuple.h \
0033   G4EdepNtuple.h \
0034   G4EvtTree.h \
0035   G4HitNtuple.h \
0036   G4HitTTree.h \
0037   G4RawTowerTTree.h \
0038   G4SnglNtuple.h \
0039   G4SnglTree.h \
0040   G4VtxNtuple.h
0041 
0042 ROOTDICTS = \
0043   G4RootHitContainer_Dict.cc \
0044   G4RootRawTowerContainer_Dict.cc \
0045   G4RootRawTower_Dict.cc \
0046   G4RootScintillatorSlatContainer_Dict.cc \
0047   G4RootScintillatorSlat_Dict.cc \
0048   G4RootScintillatorTowerContainer_Dict.cc \
0049   G4RootScintillatorTower_Dict.cc
0050 
0051 pcmdir = $(libdir)
0052 # more elegant way to create pcm files (without listing them)
0053 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0054 
0055 libg4histos_la_SOURCES = \
0056   $(ROOTDICTS) \
0057   G4CellNtuple.cc \
0058   G4EdepNtuple.cc \
0059   G4HitNtuple.cc \
0060   G4HitTTree.cc \
0061   G4RawTowerTTree.cc \
0062   G4RootHitContainer.cc \
0063   G4RootRawTower.cc \
0064   G4RootRawTowerContainer.cc \
0065   G4RootScintillatorSlat.cc \
0066   G4RootScintillatorSlatContainer.cc \
0067   G4ScintillatorSlatTTree.cc \
0068   G4RootScintillatorTower.cc \
0069   G4RootScintillatorTowerContainer.cc \
0070   G4ScintillatorTowerTTree.cc \
0071   G4SnglNtuple.cc \
0072   G4SnglTree.cc \
0073   G4TowerNtuple.cc \
0074   G4VtxNtuple.cc
0075 
0076 # Rule for generating table CINT dictionaries.
0077 %_Dict.cc: %.h %LinkDef.h
0078         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0079 
0080 #just to get the dependency
0081 %_Dict_rdict.pcm: %_Dict.cc ;
0082 
0083 ################################################
0084 # linking tests
0085 
0086 noinst_PROGRAMS = \
0087   testexternals
0088 
0089 BUILT_SOURCES = testexternals.cc
0090 
0091 testexternals_SOURCES = testexternals.cc
0092 testexternals_LDADD = libg4histos.la
0093 
0094 testexternals.cc:
0095         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0096         echo "int main()" >> $@
0097         echo "{" >> $@
0098         echo "  return 0;" >> $@
0099         echo "}" >> $@
0100 
0101 
0102 clean-local:
0103         rm -f *Dict* $(BUILT_SOURCES) *.pcm