#***************************************************************************** # # FILE NAME: $Id: Makefile,v 1.3 2008-04-02 13:35:13 messineo Exp $ # VERSION: # AUTHOR: Nergal S.r.l. # DATE: # # DESCRIPTION: base Makefile # # REVISION HISTORY: # # Version Date Author Change Description # #*****************************************************************************/ #------------------------------------------------------------------------------ include $(BASEDIR)/PamOffLineSW/Make.def #------------------------------------------------------------------------------ CFLAGS += -I $(PAMOFF_DIR) -I $(TECH_DIR_INC) -I $(ROOT_DIR_INC) -I $(BASEDIR) -I $(EVENT_DIR) -fPIC -DPIC ROOTEVENTDICT = TechmodelDict CXXSRCS = \ TechmodelAlgorithm.cpp \ EventReader.cpp \ PhysEndRunReader.cpp \ CalibCalPulse1Reader.cpp \ CalibCalPulse2Reader.cpp \ CalibTrkBothReader.cpp \ CalibTrk1Reader.cpp \ CalibTrk2Reader.cpp \ CalibTofReader.cpp \ CalibS4Reader.cpp \ CalibCalPedReader.cpp \ Calib1_Ac1Reader.cpp \ Calib2_Ac1Reader.cpp \ Calib1_Ac2Reader.cpp \ Calib2_Ac2Reader.cpp \ CalibCalReader.cpp \ RunHeaderReader.cpp \ RunTrailerReader.cpp \ CalibHeaderReader.cpp \ CalibTrailerReader.cpp \ InitHeaderReader.cpp \ InitTrailerReader.cpp \ EventTrkReader.cpp \ PhysicsReader.cpp \ LogReader.cpp \ VarDumpReader.cpp \ ArrDumpReader.cpp \ TabDumpReader.cpp \ TmtcReader.cpp \ McmdReader.cpp \ ForcedFECmdReader.cpp \ Ac1InitReader.cpp \ CalInitReader.cpp \ TrkInitReader.cpp \ TofInitReader.cpp \ TrgInitReader.cpp \ NdInitReader.cpp \ S4InitReader.cpp \ Ac2InitReader.cpp \ CalAlarmReader.cpp \ Ac1AlarmReader.cpp \ TrkAlarmReader.cpp \ TrgAlarmReader.cpp \ TofAlarmReader.cpp \ S4AlarmReader.cpp \ Ac2AlarmReader.cpp \ TsbTReader.cpp \ TsbBReader.cpp \ $(ROOTEVENTDICT).cpp #------------------------------------------------------------------------------ TARGETLIB = $(TECH_A) #------------------------------------------------------------------------------ libs: $(TARGETLIB) $(TARGETLIB) : ${OBJS} $(AR) -scrv $@ ${OBJS} INCLUDES = -I. -I$(ROOT_DIR)/include -I$(BASEDIR) $(ROOTEVENTDICT).cpp: TechmodelAlgorithm.h EventReader.h LinkDef.h echo $(ROOTCINT) -f $@ -c $^;\ LD_LIBRARY_PATH=$(ROOT_LIB) $(ROOTCINT) -f $@ -c $(INCLUDES) $^ clean: rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d $(ROOTEVENTDICT).{cpp,h} #distclean: clean -include $(DEPEND) #------------------------------------------------------------------------------ include $(BASEDIR)/PamOffLineSW/Make.def.post #------------------------------------------------------------------------------