Revision 1b60eab767eec8105c624776d0b3051ff86c3716 authored by Fons Rademakers on 01 December 2006, 17:00:11 UTC, committed by Fons Rademakers on 01 December 2006, 17:00:11 UTC
git-svn-id: http://root.cern.ch/svn/root/branches/v5-13-04-patches@17027 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent c7bb14f
Module.mk
# Module.mk for gpad module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := gpad
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
GPADDIR := $(MODDIR)
GPADDIRS := $(GPADDIR)/src
GPADDIRI := $(GPADDIR)/inc
##### libGpad #####
GPADL := $(MODDIRI)/LinkDef.h
GPADDS := $(MODDIRS)/G__GPad.cxx
GPADDO := $(GPADDS:.cxx=.o)
GPADDH := $(GPADDS:.cxx=.h)
GPADH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
GPADS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
GPADO := $(GPADS:.cxx=.o)
GPADDEP := $(GPADO:.o=.d) $(GPADDO:.o=.d)
GPADLIB := $(LPATH)/libGpad.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(GPADH))
ALLLIBS += $(GPADLIB)
# include all dependency files
INCLUDEFILES += $(GPADDEP)
##### local rules #####
include/%.h: $(GPADDIRI)/%.h
cp $< $@
$(GPADLIB): $(GPADO) $(GPADDO) $(ORDER_) $(MAINLIBS) $(GPADLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libGpad.$(SOEXT) $@ "$(GPADO) $(GPADDO)" \
"$(GPADLIBEXTRA)"
$(GPADDS): $(GPADH) $(GPADL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(GPADH) $(GPADL)
all-gpad: $(GPADLIB)
map-gpad: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(GPADLIB) \
-d $(GPADLIBDEP) -c $(GPADL)
map:: map-gpad
clean-gpad:
@rm -f $(GPADO) $(GPADDO)
clean:: clean-gpad
distclean-gpad: clean-gpad
@rm -f $(GPADDEP) $(GPADDS) $(GPADDH) $(GPADLIB)
distclean:: distclean-gpad
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...