https://github.com/root-project/root
Tip revision: 39967e6bf736268509af1cb5f9f233d51db3a634 authored by Pere Mato on 08 October 2015, 09:43:42 UTC
Update ROOT version files to v6.04/04.
Update ROOT version files to v6.04/04.
Tip revision: 39967e6
Module.mk
# Module.mk for cont module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODNAME := cont
MODDIR := $(ROOT_SRCDIR)/core/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
CONTDIR := $(MODDIR)
CONTDIRS := $(CONTDIR)/src
CONTDIRI := $(CONTDIR)/inc
##### libCont (part of libCore) #####
CONTL := $(MODDIRI)/LinkDef.h
CONTH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
CONTS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
CONTO := $(call stripsrc,$(CONTS:.cxx=.o))
CONTDEP := $(CONTO:.o=.d) $(CONTDO:.o=.d)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(CONTH))
# include all dependency files
INCLUDEFILES += $(CONTDEP)
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(CONTDIRI)/%.h
cp $< $@
all-$(MODNAME): $(CONTO)
clean-$(MODNAME):
@rm -f $(CONTO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(CONTDEP)
distclean:: distclean-$(MODNAME)
# Optimize dictionary with stl containers.
$(COREDO): NOOPT = $(OPT)