Revision a55667ee4c55a58b70791f666bae90117dc279d4 authored by Rene Brun on 30 June 2004, 10:31:59 UTC, committed by Rene Brun on 30 June 2004, 10:31:59 UTC
replacing delete opt1; by delete [] opt1; git-svn-id: http://root.cern.ch/svn/root/trunk@9349 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 1750451
Module.mk
# Module.mk for sapdb module
# Copyright (c) 2001 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 24/8/2001
MODDIR := sapdb
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
SAPDBDIR := $(MODDIR)
SAPDBDIRS := $(SAPDBDIR)/src
SAPDBDIRI := $(SAPDBDIR)/inc
##### libSapDB #####
SAPDBL := $(MODDIRI)/LinkDef.h
SAPDBDS := $(MODDIRS)/G__SapDB.cxx
SAPDBDO := $(SAPDBDS:.cxx=.o)
SAPDBDH := $(SAPDBDS:.cxx=.h)
SAPDBH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
SAPDBS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
SAPDBO := $(SAPDBS:.cxx=.o)
SAPDBDEP := $(SAPDBO:.o=.d) $(SAPDBDO:.o=.d)
SAPDBLIB := $(LPATH)/libSapDB.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(SAPDBH))
ALLLIBS += $(SAPDBLIB)
# include all dependency files
INCLUDEFILES += $(SAPDBDEP)
##### local rules #####
include/%.h: $(SAPDBDIRI)/%.h
cp $< $@
$(SAPDBLIB): $(SAPDBO) $(SAPDBDO) $(MAINLIBS)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libSapDB.$(SOEXT) $@ "$(SAPDBO) $(SAPDBDO)" \
"$(SAPDBLIBEXTRA) $(SAPDBLIBDIR) $(SAPDBCLILIB)"
$(SAPDBDS): $(SAPDBH) $(SAPDBL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(SAPDBH) $(SAPDBL)
$(SAPDBDO): $(SAPDBDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I$(SAPDBINCDIR) -I. -o $@ -c $<
all-sapdb: $(SAPDBLIB)
map-sapdb: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(SAPDBLIB) \
-d $(SAPDBLIBDEP) -c $(SAPDBL)
map:: map-sapdb
clean-sapdb:
@rm -f $(SAPDBO) $(SAPDBDO)
clean:: clean-sapdb
distclean-sapdb: clean-sapdb
@rm -f $(SAPDBDEP) $(SAPDBDS) $(SAPDBDH) $(SAPDBLIB)
distclean:: distclean-sapdb
##### extra rules ######
$(SAPDBO): %.o: %.cxx
$(CXX) $(OPT) $(CXXFLAGS) -I$(SAPDBINCDIR) -o $@ -c $<
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...