https://github.com/root-project/root
Tip revision: 775bb0c380d9179ae0c1e206f2404ecf007bf613 authored by Rene Brun on 03 December 2007, 16:00:13 UTC
Tag development release v5-17-06
Tag development release v5-17-06
Tip revision: 775bb0c
Module.mk
# Module.mk for vmc module
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 12/4/2002
MODDIR := vmc
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
VMCDIR := $(MODDIR)
VMCDIRS := $(VMCDIR)/src
VMCDIRI := $(VMCDIR)/inc
##### libVMC #####
VMCL := $(MODDIRI)/LinkDef.h
VMCDS := $(MODDIRS)/G__VMC.cxx
VMCDO := $(VMCDS:.cxx=.o)
VMCDH := $(VMCDS:.cxx=.h)
VMCH1 := $(wildcard $(MODDIRI)/T*.h)
VMCH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
VMCS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
VMCO := $(VMCS:.cxx=.o)
VMCDEP := $(VMCO:.o=.d) $(VMCDO:.o=.d)
VMCLIB := $(LPATH)/libVMC.$(SOEXT)
VMCMAP := $(VMCLIB:.$(SOEXT)=.rootmap)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(VMCH))
ALLLIBS += $(VMCLIB)
ALLMAPS += $(VMCMAP)
# include all dependency files
INCLUDEFILES += $(VMCDEP)
##### local rules #####
include/%.h: $(VMCDIRI)/%.h
cp $< $@
$(VMCLIB): $(VMCO) $(VMCDO) $(ORDER_) $(MAINLIBS) $(VMCLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libVMC.$(SOEXT) $@ "$(VMCO) $(VMCDO)" \
"$(VMCLIBEXTRA)"
$(VMCDS): $(VMCH1) $(VMCL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(VMCH1) $(VMCL)
$(VMCMAP): $(RLIBMAP) $(MAKEFILEDEP) $(VMCL)
$(RLIBMAP) -o $(VMCMAP) -l $(VMCLIB) \
-d $(VMCLIBDEPM) -c $(VMCL)
all-vmc: $(VMCLIB) $(VMCMAP)
clean-vmc:
@rm -f $(VMCO) $(VMCDO)
clean:: clean-vmc
distclean-vmc: clean-vmc
@rm -f $(VMCDEP) $(VMCDS) $(VMCDH) $(VMCLIB) $(VMCMAP)
distclean:: distclean-vmc