Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:39

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CPPFLAGS = \
0004   -I$(includedir) \
0005   -isystem$(OFFLINE_MAIN)/include  \
0006   -isystem`root-config --incdir`
0007 
0008 lib_LTLIBRARIES = \
0009    libzdcinfo_io.la \
0010    libzdcinfo.la
0011 
0012 AM_LDFLAGS = \
0013   -L$(libdir) \
0014   -L$(OFFLINE_MAIN)/lib
0015 
0016 libzdcinfo_io_la_LIBADD = \
0017   -lphool
0018 
0019 libzdcinfo_la_LIBADD = \
0020   libzdcinfo_io.la \
0021   -lfun4all \
0022   -lcalo_io \
0023   -lcdbobjects \
0024   -lffamodules \
0025   -lglobalvertex_io
0026 
0027 pkginclude_HEADERS = \
0028   Zdcinfo.h \
0029   Zdcinfov1.h \
0030   Zdcinfov2.h \
0031   ZdcReco.h
0032 
0033 ROOTDICTS = \
0034   Zdcinfo_Dict.cc \
0035   Zdcinfov1_Dict.cc \
0036   Zdcinfov2_Dict.cc
0037 
0038 pcmdir = $(libdir)
0039 # more elegant way to create pcm files (without listing them)
0040 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0041 
0042 libzdcinfo_io_la_SOURCES = \
0043   $(ROOTDICTS) \
0044   Zdcinfo.cc \
0045   Zdcinfov1.cc \
0046   Zdcinfov2.cc
0047 
0048 
0049 libzdcinfo_la_SOURCES = \
0050   ZdcReco.cc
0051 
0052 # Rule for generating table CINT dictionaries.
0053 %_Dict.cc: %.h %LinkDef.h
0054         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0055 
0056 #just to get the dependency
0057 %_Dict_rdict.pcm: %_Dict.cc ;
0058 
0059 ################################################
0060 # linking tests
0061 
0062 noinst_PROGRAMS = \
0063   testexternals_zdcinfo_io \
0064   testexternals_zdcinfo
0065 
0066 BUILT_SOURCES = \
0067   testexternals.cc
0068 
0069 testexternals_zdcinfo_io_SOURCES = testexternals.cc
0070 testexternals_zdcinfo_io_LDADD = libzdcinfo_io.la
0071 
0072 testexternals_zdcinfo_SOURCES = testexternals.cc
0073 testexternals_zdcinfo_LDADD = libzdcinfo.la
0074 
0075 testexternals.cc:
0076         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0077         echo "int main()" >> $@
0078         echo "{" >> $@
0079         echo "  return 0;" >> $@
0080         echo "}" >> $@
0081 
0082 clean-local:
0083         rm -f *Dict* $(BUILT_SOURCES) *.pcm