https://github.com/root-project/root
Tip revision: 3762b520c8fdb94351bd121c07c6a60d44c2ed3c authored by Unknown Author on 14 July 2006, 17:21:33 UTC
This commit was manufactured by cvs2svn to create tag 'v5-12-00'.
This commit was manufactured by cvs2svn to create tag 'v5-12-00'.
Tip revision: 3762b52
Module.mk
# Module.mk for utilities for libMeta and rootcint
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Philippe Canal 9/1/2004
MODDIR := metautils
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
METAUTILSDIR := $(MODDIR)
METAUTILSDIRS := $(METAUTILSDIR)/src
METAUTILSDIRI := $(METAUTILSDIR)/inc
##### $(METAUTILSO) #####
METAUTILSH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
METAUTILSS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
METAUTILSO := $(METAUTILSS:.cxx=.o)
METAUTILSL := $(MODDIRI)/LinkDef.h
METAUTILSDS := $(MODDIRS)/G__MetaUtils.cxx
METAUTILSDO := $(METAUTILSDS:.cxx=.o)
METAUTILSDH := $(METAUTILSDS:.cxx=.h)
METAUTILSDEP := $(METAUTILSO:.o=.d) $(METAUTILSDO:.o=.d)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(METAUTILSH))
# include all dependency files
INCLUDEFILES += $(METAUTILSDEP)
##### local rules #####
include/%.h: $(METAUTILSDIRI)/%.h
cp $< $@
# $(ROOTCINTTMP) not yet known at this stage, use explicit path of rootcint_tmp
$(METAUTILSDS): $(METAUTILSH) $(METAUTILSL) utils/src/rootcint_tmp$(EXEEXT)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c -DG__API $(METAUTILSH) $(METAUTILSL)
all-metautils: $(METAUTILSO) $(METAUTILSDO)
clean-metautils:
@rm -f $(METAUTILSO) $(METAUTILSDO)
clean:: clean-metautils
distclean-metautils: clean-metautils
@rm -f $(METAUTILSDEP) $(METAUTILSDS) $(METAUTILSDH)
distclean:: distclean-metautils