Revision 4f52a00091cb1482dbd90d7c225768c4080d51fa authored by Philippe Canal on 25 August 2011, 22:28:35 UTC, committed by Philippe Canal on 25 August 2011, 22:28:35 UTC
The generic collection proxy's Commit method no longer uses the environment object, so Allocate no longer need to mark it as used. This prevents a memory leak in the handling of associative containers stored in a TTree. git-svn-id: http://root.cern.ch/svn/root/branches/v5-28-00-patches@40716 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent d587879
Module.mk
# Module.mk for unix module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODNAME := unix
MODDIR := $(ROOT_SRCDIR)/core/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
UNIXDIR := $(MODDIR)
UNIXDIRS := $(UNIXDIR)/src
UNIXDIRI := $(UNIXDIR)/inc
##### libUnix (part of libCore) #####
UNIXL := $(MODDIRI)/LinkDef.h
UNIXDS := $(call stripsrc,$(MODDIRS)/G__Unix.cxx)
UNIXDO := $(UNIXDS:.cxx=.o)
UNIXDH := $(UNIXDS:.cxx=.h)
UNIXH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
UNIXS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
UNIXO := $(call stripsrc,$(UNIXS:.cxx=.o))
UNIXDEP := $(UNIXO:.o=.d) $(UNIXDO:.o=.d)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(UNIXH))
# include all dependency files
INCLUDEFILES += $(UNIXDEP)
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(UNIXDIRI)/%.h
cp $< $@
$(UNIXDS): $(UNIXH) $(UNIXL) $(ROOTCINTTMPDEP)
$(MAKEDIR)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(UNIXH) $(UNIXL)
all-$(MODNAME): $(UNIXO) $(UNIXDO)
clean-$(MODNAME):
@rm -f $(UNIXO) $(UNIXDO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(UNIXDEP) $(UNIXDS) $(UNIXDH)
distclean:: distclean-$(MODNAME)
Computing file changes ...