Revision c234d4ddf7b6a65d543fd052abf285386f26408e authored by Pere Mato on 01 March 2016, 14:28:38 UTC, committed by Pere Mato on 01 March 2016, 14:28:38 UTC
1 parent 713c8f4
Module.mk
# Module.mk for guibuilder module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Valeriy Onuchin, 19/8/2004
MODNAME := guibuilder
MODDIR := $(ROOT_SRCDIR)/gui/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
GUIBLDDIR := $(MODDIR)
GUIBLDDIRS := $(GUIBLDDIR)/src
GUIBLDDIRI := $(GUIBLDDIR)/inc
##### libGuiBld #####
GUIBLDL := $(MODDIRI)/LinkDef.h
GUIBLDDS := $(call stripsrc,$(MODDIRS)/G__GuiBld.cxx)
GUIBLDDO := $(GUIBLDDS:.cxx=.o)
GUIBLDDH := $(GUIBLDDS:.cxx=.h)
GUIBLDH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
GUIBLDS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
GUIBLDO := $(call stripsrc,$(GUIBLDS:.cxx=.o))
GUIBLDDEP := $(GUIBLDO:.o=.d) $(GUIBLDDO:.o=.d)
GUIBLDLIB := $(LPATH)/libGuiBld.$(SOEXT)
GUIBLDMAP := $(GUIBLDLIB:.$(SOEXT)=.rootmap)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(GUIBLDH))
ALLLIBS += $(GUIBLDLIB)
ALLMAPS += $(GUIBLDMAP)
# include all dependency files
INCLUDEFILES += $(GUIBLDDEP)
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(GUIBLDDIRI)/%.h
cp $< $@
$(GUIBLDLIB): $(GUIBLDO) $(GUIBLDDO) $(ORDER_) $(MAINLIBS) $(GUIBLDLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libGuiBld.$(SOEXT) $@ "$(GUIBLDO) $(GUIBLDDO)" \
"$(GUIBLDLIBEXTRA)"
$(call pcmrule,GUIBLD)
$(noop)
$(GUIBLDDS): $(GUIBLDH) $(GUIBLDL) $(ROOTCLINGEXE) $(call pcmdep,GUIBLD)
$(MAKEDIR)
@echo "Generating dictionary $@..."
$(ROOTCLINGSTAGE2) -f $@ $(call dictModule,GUIBLD) -c $(GUIBLDH) $(GUIBLDL)
$(GUIBLDMAP): $(GUIBLDH) $(GUIBLDL) $(ROOTCLINGEXE) $(call pcmdep,GUIBLD)
$(MAKEDIR)
@echo "Generating rootmap $@..."
$(ROOTCLINGSTAGE2) -r $(GUIBLDDS) $(call dictModule,GUIBLD) -c $(GUIBLDH) $(GUIBLDL)
all-$(MODNAME): $(GUIBLDLIB)
clean-$(MODNAME):
@rm -f $(GUIBLDO) $(GUIBLDDO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(GUIBLDDEP) $(GUIBLDDS) $(GUIBLDDH) $(GUIBLDLIB) $(GUIBLDMAP)
distclean:: distclean-$(MODNAME)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...