forked from sPHENIX-Collaboration/coresoftware
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
122 lines (99 loc) · 2.63 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = \
-I$(includedir) \
-I$(OFFLINE_MAIN)/include \
-I`root-config --incdir`
AM_LDFLAGS = \
-L$(libdir) \
-L$(OFFLINE_MAIN)/lib \
-L$(OPT_SPHENIX)/lib
lib_LTLIBRARIES = \
libphhepmc_io.la \
libphhepmc.la
pkginclude_HEADERS = \
Fun4AllHepMCInputManager.h \
Fun4AllHepMCPileupInputManager.h \
Fun4AllHepMCOutputManager.h \
Fun4AllOscarInputManager.h \
HepMCFlowAfterBurner.h \
PHGenIntegral.h \
PHGenIntegralv1.h \
PHHepMCGenEvent.h \
PHHepMCGenEventv1.h \
PHHepMCGenEventMap.h \
PHHepMCGenHelper.h
libphhepmc_la_LDFLAGS = \
${AM_LDFLAGS} \
`root-config --libs`
libphhepmc_la_LIBADD = \
libphhepmc_io.la \
-lphool \
-lSubsysReco \
-lboost_iostreams \
-lfun4all \
-lflowafterburner \
-lgsl \
-lgslcblas
ROOT_DICTS = \
PHGenIntegral_Dict.cc \
PHGenIntegralv1_Dict.cc \
PHHepMC_io_Dict.cc \
PHHepMCGenEvent_Dict.cc \
PHHepMCGenEventv1_Dict.cc \
PHHepMCGenEventMap_Dict.cc
pcmdir = $(libdir)
nobase_dist_pcm_DATA = \
PHGenIntegral_Dict_rdict.pcm \
PHGenIntegralv1_Dict_rdict.pcm \
PHHepMC_io_Dict_rdict.pcm \
PHHepMCGenEvent_Dict_rdict.pcm \
PHHepMCGenEventv1_Dict_rdict.pcm \
PHHepMCGenEventMap_Dict_rdict.pcm
libphhepmc_la_SOURCES = \
Fun4AllHepMCInputManager.cc \
Fun4AllHepMCPileupInputManager.cc \
Fun4AllHepMCOutputManager.cc \
Fun4AllOscarInputManager.cc \
HepMCFlowAfterBurner.cc \
PHHepMCGenHelper.cc \
PHHepMCParticleSelectorDecayProductChain.cc
libphhepmc_io_la_SOURCES = \
$(ROOT_DICTS) \
PHHepMCGenEvent.cc \
PHHepMCGenEventv1.cc \
PHHepMCGenEventMap.cc \
PHGenIntegral.cc \
PHGenIntegralv1.cc
libphhepmc_io_la_LDFLAGS = \
${AM_LDFLAGS} \
`root-config --libs`
libphhepmc_io_la_LIBADD = \
-lphool \
-lHepMC \
-lCLHEP
BUILT_SOURCES = \
testexternals.cc
noinst_PROGRAMS = \
testexternals_libphhepmc \
testexternals_libphhepmc_io
testexternals_libphhepmc_SOURCES = testexternals.cc
testexternals_libphhepmc_LDADD = libphhepmc.la
testexternals_libphhepmc_io_SOURCES = testexternals.cc
testexternals_libphhepmc_io_LDADD = libphhepmc_io.la
testexternals.cc:
echo "//*** this is a generated file. Do not commit, do not edit" > $@
echo "int main()" >> $@
echo "{" >> $@
echo " return 0;" >> $@
echo "}" >> $@
# Rule for generating table CINT dictionaries.
%_Dict.cc: %.h %LinkDef.h
rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
#just to get the dependency
%_Dict_rdict.pcm: %_Dict.cc ;
PHHepMC_io_Dict.cc: \
$(OFFLINE_MAIN)/include/HepMC/*.h \
PHHepMC_ioLinkDef.h
rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
clean-local:
rm -f *Dict* $(BUILT_SOURCES) *.pcm