Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:14:49

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 lib_LTLIBRARIES = libProto4HCalTowerCalib.la
0004 
0005 AM_CPPFLAGS = \
0006     -DCGAL_DISABLE_ROUNDING_MATH_CHECK \
0007     -I$(includedir) \
0008     -I$(OFFLINE_MAIN)/include/eigen3 \
0009     -I$(OFFLINE_MAIN)/include \
0010     -I$(ROOTSYS)/include \
0011     -I$(G4_MAIN)/include/Geant4 \
0012     -I$(G4_MAIN)/include \
0013     -I$(OPT_SPHENIX)/include
0014 
0015 AM_LDFLAGS = \
0016     -L$(libdir) \
0017     -L$(OFFLINE_MAIN)/lib
0018 
0019 AM_CXXFLAGS = -Wall -Werror -msse2
0020 
0021 libProto4HCalTowerCalib_la_LDFLAGS = \
0022   -L$(libdir) \
0023   -L$(OFFLINE_MAIN)/lib
0024 
0025 libProto4HCalTowerCalib_la_LIBADD = \
0026   -lfun4all \
0027   -lg4dst \
0028   -lPrototype4
0029 
0030 # I/O dictionaries have to exist for root5 and root6. For ROOT6 we need
0031 # pcm files in addition. If someone can figure out how to make a list
0032 # so this list of dictionaries is transformed into a list of pcm files
0033 # following a simple naming convention, please change this accordingly and
0034 # let me know
0035 ROOTDICTS = \
0036     Proto4TowerCalib_Dict.C
0037 
0038 # for root6 we need pcm and dictionaries but only for
0039 # i/o classes. For root5 we need only dictionaries but
0040 # those for i/o and classes available on the cmd line
0041 # MAKEROOT6 is set in the configure.ac, true for root6
0042 if MAKEROOT6
0043 # this is a tweak to install files in $(libdir), automake refuses
0044 # to install other files in libdir, this construct gets around this
0045 pcmdir = $(libdir)
0046 nobase_dist_pcm_DATA = \
0047   Proto4TowerCalib_Dict_rdict.pcm
0048 else
0049   ROOT5TBDICTS = 
0050 endif
0051 
0052 libProto4HCalTowerCalib_la_SOURCES = \
0053   $(ROOTDICTS) \
0054   $(ROOT5TBDICTS) \
0055   Proto4TowerCalib.C
0056 
0057 ##############################################
0058 # please add new classes in alphabetical order
0059 
0060 pkginclude_HEADERS = \
0061   Proto4TowerCalib.h
0062 
0063 # Rule for generating table CINT dictionaries.
0064 %_Dict.C: %.h %LinkDef.h
0065         rootcint -f $@ @CINTDEFS@ -c $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0066 
0067 #just to get the dependency
0068 %_Dict_rdict.pcm: %_Dict.C ;
0069 
0070 ################################################
0071 # linking tests
0072 
0073 noinst_PROGRAMS = testexternals
0074 
0075 BUILT_SOURCES = \
0076   testexternals.C
0077 
0078 testexternals_LDADD = \
0079   libProto4HCalTowerCalib.la
0080 
0081 testexternals.C:
0082         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0083         echo "int main()" >> $@
0084         echo "{" >> $@
0085         echo "  return 0;" >> $@
0086         echo "}" >> $@
0087 
0088 clean-local:
0089         rm -f *Dict* testexternals.C