https://github.com/root-project/root
Tip revision: 76be6de18dcbe8d887847d63ccba200af4390992 authored by Fons Rademakers on 19 May 2008, 09:32:27 UTC
tag patch release v5-18-00c.
tag patch release v5-18-00c.
Tip revision: 76be6de
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
##### extra rules ######
$(METAUTILSO): PCHCXXFLAGS =