https://github.com/root-project/root
Tip revision: 5f3232eeb23fbe2ef04a27ffbdf9f99e2edfbf25 authored by Unknown Author on 22 September 2004, 21:10:32 UTC
This commit was manufactured by cvs2svn to create tag 'v4-00-08f'.
This commit was manufactured by cvs2svn to create tag 'v4-00-08f'.
Tip revision: 5f3232e
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
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c -DG__API $(METAUTILSH) $(METAUTILSL)
$(METAUTILSDO): $(METAUTILSDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $(METAUTILSDO) -c $(METAUTILSDS)
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