Revision cbecb7eb0b235f977e2ab9dbe3ab8963ca7f9c47 authored by Fons Rademakers on 03 October 2006, 13:28:29 UTC, committed by Fons Rademakers on 03 October 2006, 13:28:29 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@16412 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 5d3f422
Module.mk
# Module.mk for ldap module
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 20/11/2002
MODDIR := ldap
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
LDAPDIR := $(MODDIR)
LDAPDIRS := $(LDAPDIR)/src
LDAPDIRI := $(LDAPDIR)/inc
##### libRLDAP #####
LDAPL := $(MODDIRI)/LinkDef.h
LDAPDS := $(MODDIRS)/G__LDAP.cxx
LDAPDO := $(LDAPDS:.cxx=.o)
LDAPDH := $(LDAPDS:.cxx=.h)
LDAPH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
LDAPS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
LDAPO := $(LDAPS:.cxx=.o)
LDAPDEP := $(LDAPO:.o=.d) $(LDAPDO:.o=.d)
LDAPLIB := $(LPATH)/libRLDAP.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(LDAPH))
ALLLIBS += $(LDAPLIB)
# include all dependency files
INCLUDEFILES += $(LDAPDEP)
##### local rules #####
include/%.h: $(LDAPDIRI)/%.h
cp $< $@
$(LDAPLIB): $(LDAPO) $(LDAPDO) $(ORDER_) $(MAINLIBS)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libRLDAP.$(SOEXT) $@ "$(LDAPO) $(LDAPDO)" \
"$(LDAPLIBEXTRA) $(LDAPLIBDIR) $(LDAPCLILIB)"
$(LDAPDS): $(LDAPH) $(LDAPL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(LDAPH) $(LDAPL)
all-ldap: $(LDAPLIB)
map-ldap: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(LDAPLIB) \
-d $(LDAPLIBDEP) -c $(LDAPL)
map:: map-ldap
clean-ldap:
@rm -f $(LDAPO) $(LDAPDO)
clean:: clean-ldap
distclean-ldap: clean-ldap
@rm -f $(LDAPDEP) $(LDAPDS) $(LDAPDH) $(LDAPLIB)
distclean:: distclean-ldap
##### extra rules ######
$(LDAPO): CXXFLAGS += -DLDAP_DEPRECATED $(LDAPINCDIR:%=-I%)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...