Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:11:06

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 ACLOCAL_AMFLAGS = -I m4
0004 #creating one lib (libMBDStudy) with 2 class or object on it 
0005 
0006 lib_LTLIBRARIES = \
0007   libMBDStudy.la
0008 
0009 AM_CPPFLAGS = \
0010   -I$(includedir) \
0011   -I$(OFFLINE_MAIN)/include \
0012   -I`root-config --incdir`
0013 
0014 AM_LDFLAGS = \
0015   -L$(libdir) \
0016   -L$(OFFLINE_MAIN)/lib
0017 
0018 include_HEADERS = \
0019   MbdLaser.h \
0020   MBDStudy.h
0021 
0022 ROOTDICTS = \
0023   MbdLaser_Dict.C \
0024   MBDStudy_Dict.C
0025 
0026 pcmdir = $(libdir)
0027 nobase_dist_pcm_DATA = \
0028   MbdLaser_Dict_rdict.pcm \
0029   MBDStudy_Dict_rdict.pcm
0030 
0031 libMBDStudy_la_SOURCES = \
0032   $(ROOTDICTS) \
0033   MbdLaser.cc \
0034   MBDStudy.cc
0035 #digital library we need 
0036 libMBDStudy_la_LIBADD = \
0037   -lphool \
0038   -lSubsysReco \
0039   -lg4detectors \
0040   -lmbd_io \
0041   -lglobalvertex_io \
0042   -lphg4hit
0043 
0044 libMBDStudy_la_LDFLAGS = \
0045   -L$(libdir) \
0046   -L$(OFFLINE_MAIN)/lib \
0047   `root-config --libs`
0048 
0049 # Rule for generating CINT dictionaries from class headers.
0050 %_Dict.C: %.h %LinkDef.h
0051         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0052 
0053 
0054 #just to get the dependency
0055 %_Dict_rdict.pcm: %_Dict.C ;
0056 
0057 
0058 ##########################################
0059 # linking tests
0060 BUILT_SOURCES = \
0061   testexternals.C
0062 
0063 noinst_PROGRAMS = \
0064   testexternals
0065 
0066 testexternals_SOURCES = testexternals.C
0067 #creating one lib (libMBDStudy) with 2 class or object on it 
0068 testexternals_LDADD = \
0069   libMBDStudy.la
0070 
0071 testexternals.C:
0072         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0073         echo "int main()" >> $@
0074         echo "{" >> $@
0075         echo "  return 0;" >> $@
0076         echo "}" >> $@
0077 
0078 
0079 clean-local:
0080         rm -f *Dict* $(BUILT_SOURCES) *.pcm
0081