https://github.com/root-project/root
Tip revision: 5c1f1b5ce1cf380d4c653f899259f2841c9fcad3 authored by Fons Rademakers on 26 January 2006, 10:19:44 UTC
for patch level source distributions make sure we export the version
for patch level source distributions make sure we export the version
Tip revision: 5c1f1b5
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)
$(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