Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:19:17

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CXXFLAGS = `geant4-config --cflags`
0004 
0005 # List of shared libraries to produce
0006 lib_LTLIBRARIES = \
0007     libg4intt_io.la \
0008     libg4intt.la
0009 
0010 AM_CPPFLAGS = \
0011     -I$(includedir) \
0012     -isystem$(OFFLINE_MAIN)/include \
0013     -isystem$(ROOTSYS)/include
0014 
0015 # set in configure.in to check if gcc version >= 4.8
0016 #if GCC_GE_48
0017 #  AM_CXXFLAGS = -std=c++11
0018 #endif
0019 
0020 AM_LDFLAGS = \
0021     -L$(libdir) \
0022     -L$(ROOTSYS)/lib \
0023     -L$(OFFLINE_MAIN)/lib
0024 
0025 pkginclude_HEADERS = \
0026   InttDeadMap.h \
0027   InttDeadMapv1.h \
0028   PHG4InttDeadMapLoader.h \
0029   PHG4InttDefs.h \
0030   PHG4InttDigitizer.h  \
0031   PHG4InttHitReco.h \
0032   PHG4InttSubsystem.h
0033 
0034 ROOTDICTS = \
0035   InttDeadMap_Dict.cc \
0036   InttDeadMapv1_Dict.cc
0037 
0038 pcmdir = $(libdir)
0039 nobase_dist_pcm_DATA = \
0040   InttDeadMap_Dict_rdict.pcm \
0041   InttDeadMapv1_Dict_rdict.pcm
0042 
0043 # sources for intt library
0044 libg4intt_la_SOURCES = \
0045   PHG4InttDeadMapLoader.cc \
0046   PHG4InttDetector.cc \
0047   PHG4InttDigitizer.cc \
0048   PHG4InttDisplayAction.cc \
0049   PHG4InttFPHXParameterisation.cc \
0050   PHG4InttHitReco.cc \
0051   PHG4InttSteppingAction.cc \
0052   PHG4InttSubsystem.cc
0053 
0054 libg4intt_la_LIBADD = \
0055   libg4intt_io.la \
0056   -lg4detectors \
0057   -lg4tracking_io \
0058   -lintt \
0059   -lintt_io
0060 
0061 # sources for io library
0062 libg4intt_io_la_SOURCES = \
0063   $(ROOTDICTS) \
0064   InttDeadMap.cc \
0065   InttDeadMapv1.cc
0066 
0067 libg4intt_io_la_LIBADD = \
0068   -lphool \
0069   -lg4detectors_io 
0070 
0071 
0072 # Rule for generating table CINT dictionaries.
0073 %_Dict.cc: %.h %LinkDef.h
0074         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0075 
0076 #just to get the dependency
0077 %_Dict_rdict.pcm: %_Dict.cc ;
0078 
0079 ################################################
0080 # linking tests
0081 
0082 BUILT_SOURCES = testexternals.cc
0083 
0084 noinst_PROGRAMS = \
0085   testexternals_g4intt \
0086   testexternals_g4intt_io
0087 
0088 testexternals_g4intt_SOURCES = testexternals.cc
0089 testexternals_g4intt_LDADD = libg4intt.la
0090 
0091 testexternals_g4intt_io_SOURCES = testexternals.cc
0092 testexternals_g4intt_io_LDADD = libg4intt_io.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 # please add new classes in alphabetical order
0103 
0104 clean-local:
0105         rm -f *Dict* $(BUILT_SOURCES)