fix mem leak and compiler warning
[u/mrichter/AliRoot.git] / ANALYSIS / libANALYSISalice.pkg
1 #-*- Mode: Makefile -*-
2
3 SRCS =  AliAnalysisTaskSE.cxx AliAnalysisTaskME.cxx \
4         AliAnalysisTaskESDfilter.cxx AliAnalysisTaskKineFilter.cxx \
5         AliKineTrackCuts.cxx AliESDtrackCuts.cxx AliESDv0Cuts.cxx \
6         AliEventPoolOTF.cxx AliEventPoolLoop.cxx AliEventPoolSparse.cxx
7
8 CHECKALIEN = $(shell root-config --has-alien)
9 ifeq (yes,$(CHECKALIEN))
10 PACKCXXFLAGS := $(CXXFLAGS) -DWITHALIEN
11 endif
12
13 CHECKXML = $(shell root-config --has-xml)
14 ifeq (yes,$(CHECKXML))
15 PACKCXXFLAGS += $(CXXFLAGS) -DWITHXML
16 CINTFLAGS += -DWITHXML
17 SRCS += AliTagAnalysis.cxx AliXMLCollection.cxx
18 endif
19
20
21 HDRS:= $(SRCS:.cxx=.h) 
22
23 DHDR= ANALYSISaliceLinkDef.h
24
25 EXPORT:=$(SRCS:.cxx=.h)
26
27 ifeq (win32gcc,$(ALICE_TARGET))
28 PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
29                          -lANALYSIS -lSTEERBase -lAOD -lESD \
30                          -L$(shell root-config --libdir) -lTreePlayer -lXMLIO
31 endif
32
33