swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Tip revision: c10f2586f2728b5dcfbc5814ad05e2f3307f5d57 authored by Unknown Author on 11 May 2001, 17:20:15 UTC
This commit was manufactured by cvs2svn to create tag 'v3-01-01'.
This commit was manufactured by cvs2svn to create tag 'v3-01-01'.
Tip revision: c10f258
Module.mk
# Module.mk for clib module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := clib
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
CLIBDIR := $(MODDIR)
CLIBDIRS := $(CLIBDIR)/src
CLIBDIRI := $(CLIBDIR)/inc
##### libClib (part of libCore) #####
CLIBL := $(MODDIRI)/LinkDef.h
CLIBDS := $(MODDIRS)/G__Clib.cxx
CLIBDO := $(CLIBDS:.cxx=.o)
CLIBDH := $(CLIBDS:.cxx=.h)
CLIBH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
CLIBS := $(wildcard $(MODDIRS)/*.c)
CLIBO := $(CLIBS:.c=.o)
CLIBDEP := $(CLIBO:.o=.d) $(CLIBDO:.o=.d)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(CLIBH))
# include all dependency files
INCLUDEFILES += $(CLIBDEP)
##### local rules #####
include/%.h: $(CLIBDIRI)/%.h
cp $< $@
$(CLIBDS): $(CLIBDIRI)/Getline.h $(CLIBL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(CLIBDIRI)/Getline.h $(CLIBL)
$(CLIBDO): $(CLIBDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $@ -c $<
all-clib: $(CLIBO) $(CLIBDO)
clean-clib:
@rm -f $(CLIBO) $(CLIBDO)
clean:: clean-clib
distclean-clib: clean-clib
@rm -f $(CLIBDEP) $(CLIBDS) $(CLIBDH)
distclean:: distclean-clib