https://github.com/root-project/root
Tip revision: b337a495651291eb0f439e157d82a480b1e72d64 authored by Unknown Author on 21 June 2000, 08:23:00 UTC
This commit was manufactured by cvs2svn to create tag 'v2-25-00'.
This commit was manufactured by cvs2svn to create tag 'v2-25-00'.
Tip revision: b337a49
Module.mk
# Module.mk for eg module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := eg
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
EGDIR := $(MODDIR)
EGDIRS := $(EGDIR)/src
EGDIRI := $(EGDIR)/inc
##### libEG #####
EGL := $(MODDIRI)/LinkDef.h
EGDS := $(MODDIRS)/G__EG.cxx
EGDO := $(EGDS:.cxx=.o)
EGDH := $(EGDS:.cxx=.h)
EGH1 := $(wildcard $(MODDIRI)/T*.h)
EGH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
EGS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
EGO := $(EGS:.cxx=.o)
EGDEP := $(EGO:.o=.d)
EGLIB := $(LPATH)/libEG.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(EGH))
ALLLIBS += $(EGLIB)
# include all dependency files
INCLUDEFILES += $(EGDEP)
##### local rules #####
include/%.h: $(EGDIRI)/%.h
cp $< $@
$(EGLIB): $(EGO) $(EGDO) $(MAINLIBS) $(EGLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libEG.$(SOEXT) $@ "$(EGO) $(EGDO)" \
"$(EGLIBEXTRA)"
$(EGDS): $(EGH1) $(EGL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
@$(ROOTCINTTMP) -f $@ -c $(EGH1) $(EGL)
$(EGDO): $(EGDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $@ -c $<
all-eg: $(EGLIB)
clean-eg:
@rm -f $(EGO) $(EGDO)
clean:: clean-eg
distclean-eg: clean-eg
@rm -f $(EGDEP) $(EGDS) $(EGDH) $(EGLIB)
distclean:: distclean-eg