Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:02

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CXXFLAGS = `geant4-config --cflags`
0004 
0005 # List of shared libraries to produce
0006 lib_LTLIBRARIES = \
0007     libphg4gdml.la 
0008 
0009 AM_CPPFLAGS = \
0010   -I$(includedir) \
0011   -I$(OFFLINE_MAIN)/include \
0012   -isystem$(ROOTSYS)/include \
0013   -isystem$(XERCESCROOT)/include \
0014   -I$(OPT_SPHENIX)/include
0015 
0016 libphg4gdml_la_LDFLAGS = \
0017   -L$(libdir) \
0018   -L$(OFFLINE_MAIN)/lib \
0019   -L$(XERCESCROOT)/lib \
0020   -L$(OPT_SPHENIX)/lib \
0021   `geant4-config --libs`
0022 
0023 
0024 libphg4gdml_la_LIBADD = \
0025   -lphool \
0026   -lSubsysReco \
0027   -lfun4all 
0028 
0029 libphg4gdml_la_SOURCES = \
0030   PHG4GDMLWrite.cc \
0031   PHG4GDMLWriteDefine.cc \
0032   PHG4GDMLWriteMaterials.cc \
0033   PHG4GDMLWriteSolids.cc \
0034   PHG4GDMLWriteSetup.cc \
0035   PHG4GDMLWriteParamvol.cc \
0036   PHG4GDMLWriteStructure.cc \
0037   PHG4GDMLUtility.cc
0038 
0039 
0040 ##############################################
0041 # please add new classes in alphabetical order
0042 
0043 pkginclude_HEADERS = \
0044   PHG4GDMLUtility.hh \
0045   PHG4GDMLConfig.hh
0046 
0047 ################################################
0048 # linking tests
0049 
0050 BUILT_SOURCES = \
0051   testexternals.cc
0052 
0053 noinst_PROGRAMS = \
0054   testexternals_g4gdml 
0055 
0056 testexternals_g4gdml_SOURCES = testexternals.cc
0057 testexternals_g4gdml_LDADD = libphg4gdml.la
0058 
0059 
0060 testexternals.cc:
0061         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0062         echo "int main()" >> $@
0063         echo "{" >> $@
0064         echo "  return 0;" >> $@
0065         echo "}" >> $@
0066 
0067 ##############################################
0068 # please add new classes in alphabetical order
0069 
0070 clean-local:
0071         rm -f *Dict* $(BUILT_SOURCES)
0072