1 |
#***************************************************************************** |
2 |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:26 mocchiut Exp $ |
4 |
# VERSION: |
5 |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: |
7 |
# |
8 |
# DESCRIPTION: base Makefile |
9 |
# |
10 |
# REVISION HISTORY: |
11 |
# |
12 |
# Version Date Author Change Description |
13 |
# |
14 |
#*****************************************************************************/ |
15 |
|
16 |
|
17 |
#------------------------------------------------------------------------------ |
18 |
include $(BASEDIR)/PamOffLineSW/Make.def |
19 |
#------------------------------------------------------------------------------ |
20 |
|
21 |
|
22 |
CFLAGS += -I $(PAMOFF_DIR) -I $(TECH_DIR_INC) -I $(ROOT_DIR_INC) -I $(BASEDIR) -I $(EVENT_DIR) -fPIC -DPIC |
23 |
|
24 |
ROOTEVENTDICT = TechmodelDict |
25 |
|
26 |
CXXSRCS = \ |
27 |
TechmodelAlgorithm.cpp \ |
28 |
EventReader.cpp \ |
29 |
PhysEndRunReader.cpp \ |
30 |
CalibCalPulse1Reader.cpp \ |
31 |
CalibCalPulse2Reader.cpp \ |
32 |
CalibTrkBothReader.cpp \ |
33 |
CalibTrk1Reader.cpp \ |
34 |
CalibTrk2Reader.cpp \ |
35 |
CalibTofReader.cpp \ |
36 |
CalibS4Reader.cpp \ |
37 |
CalibCalPedReader.cpp \ |
38 |
Calib1_Ac1Reader.cpp \ |
39 |
Calib2_Ac1Reader.cpp \ |
40 |
Calib1_Ac2Reader.cpp \ |
41 |
Calib2_Ac2Reader.cpp \ |
42 |
CalibCalReader.cpp \ |
43 |
RunHeaderReader.cpp \ |
44 |
RunTrailerReader.cpp \ |
45 |
CalibHeaderReader.cpp \ |
46 |
CalibTrailerReader.cpp \ |
47 |
InitHeaderReader.cpp \ |
48 |
InitTrailerReader.cpp \ |
49 |
EventTrkReader.cpp \ |
50 |
PhysicsReader.cpp \ |
51 |
LogReader.cpp \ |
52 |
VarDumpReader.cpp \ |
53 |
ArrDumpReader.cpp \ |
54 |
TabDumpReader.cpp \ |
55 |
TmtcReader.cpp \ |
56 |
McmdReader.cpp \ |
57 |
ForcedFECmdReader.cpp \ |
58 |
Ac1InitReader.cpp \ |
59 |
CalInitReader.cpp \ |
60 |
TrkInitReader.cpp \ |
61 |
TofInitReader.cpp \ |
62 |
TrgInitReader.cpp \ |
63 |
NdInitReader.cpp \ |
64 |
S4InitReader.cpp \ |
65 |
Ac2InitReader.cpp \ |
66 |
CalAlarmReader.cpp \ |
67 |
Ac1AlarmReader.cpp \ |
68 |
TrkAlarmReader.cpp \ |
69 |
TrgAlarmReader.cpp \ |
70 |
TofAlarmReader.cpp \ |
71 |
S4AlarmReader.cpp \ |
72 |
Ac2AlarmReader.cpp \ |
73 |
TsbTReader.cpp \ |
74 |
TsbBReader.cpp \ |
75 |
$(ROOTEVENTDICT).cpp |
76 |
|
77 |
|
78 |
#------------------------------------------------------------------------------ |
79 |
|
80 |
TARGETLIB = $(TECH_A) |
81 |
|
82 |
#------------------------------------------------------------------------------ |
83 |
|
84 |
|
85 |
libs: $(TARGETLIB) |
86 |
|
87 |
$(TARGETLIB) : ${OBJS} |
88 |
$(AR) -scrv $@ ${OBJS} |
89 |
|
90 |
|
91 |
INCLUDES = -I. -I$(ROOT_DIR)/include -I$(BASEDIR) |
92 |
|
93 |
|
94 |
$(ROOTEVENTDICT).cpp: TechmodelAlgorithm.h EventReader.h LinkDef.h |
95 |
echo $(ROOTCINT) -f $@ -c $^;\ |
96 |
LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^ |
97 |
|
98 |
clean: |
99 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h} |
100 |
|
101 |
#distclean: clean |
102 |
|
103 |
-include $(DEPEND) |
104 |
|
105 |
|
106 |
#------------------------------------------------------------------------------ |
107 |
include $(BASEDIR)/PamOffLineSW/Make.def.post |
108 |
#------------------------------------------------------------------------------ |