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 x11 module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := x11
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
X11DIR := $(MODDIR)
X11DIRS := $(X11DIR)/src
X11DIRI := $(X11DIR)/inc
##### libGX11 #####
X11L := $(MODDIRI)/LinkDef.h
X11DS := $(MODDIRS)/G__X11.cxx
X11DO := $(X11DS:.cxx=.o)
X11DH := $(X11DS:.cxx=.h)
X11H1 := $(wildcard $(MODDIRI)/T*.h)
X11H := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
X11S1 := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
X11S2 := $(wildcard $(MODDIRS)/*.c)
X11O := $(X11S1:.cxx=.o) $(X11S2:.c=.o)
X11DEP := $(X11O:.o=.d) $(X11DO:.o=.d)
X11LIB := $(LPATH)/libGX11.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(X11H))
ALLLIBS += $(X11LIB)
# include all dependency files
INCLUDEFILES += $(X11DEP)
##### local rules #####
include/%.h: $(X11DIRI)/%.h
cp $< $@
$(X11LIB): $(X11O) $(X11DO) $(ORDER_) $(MAINLIBS)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libGX11.$(SOEXT) $@ "$(X11O) $(X11DO)" \
"$(X11LIBEXTRA) $(XLIBS)"
$(X11DS): $(X11H1) $(X11L) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(X11H1) $(X11L)
all-x11: $(X11LIB)
map-x11: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(X11LIB) \
-d $(X11LIBDEP) -c $(X11L)
map:: map-x11
clean-x11:
@rm -f $(X11O) $(X11DO)
clean:: clean-x11
distclean-x11: clean-x11
@rm -f $(X11DEP) $(X11DS) $(X11DH) $(X11LIB)
distclean:: distclean-x11
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...