/[PAMELA software]/chewbacca/PamOffLineSW/techmodel/Makefile
ViewVC logotype

Contents of /chewbacca/PamOffLineSW/techmodel/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jul 29 16:13:14 2009 UTC (15 years, 4 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10RED, v9r00, v9r01, HEAD
Changes since 1.3: +2 -3 lines
More compilation bugs fixed

1 #*****************************************************************************
2 #
3 # FILE NAME: $Id: Makefile,v 1.3 2009/07/29 15:47:18 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 ifeq ($(verbose),)
89 @$(AR) -scrv $@ ${OBJS} &>/dev/null
90 else
91 $(AR) -scrv $@ ${OBJS}
92 endif
93
94 INCLUDES = -I. -I$(ROOT_DIR)/include -I$(BASEDIR)
95
96
97 $(ROOTEVENTDICT).cpp: TechmodelAlgorithm.h EventReader.h LinkDef.h
98 ifeq ($(verbose),)
99 LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^
100 else
101 echo $(ROOTCINT) -f $@ -c $^;\
102 LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c $(INCLUDES) $^
103 endif
104
105 clean:
106 ifeq ($(verbose),)
107 @rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h}
108 else
109 rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h}
110 endif
111
112 #distclean: clean
113
114 #-include $(DEPEND)
115
116
117 #------------------------------------------------------------------------------
118 include $(BASEDIR)/PamOffLineSW/Make.def.post
119 #------------------------------------------------------------------------------

  ViewVC Help
Powered by ViewVC 1.1.23