# # arch_spec_ObjectSpace.mk # # Architecture/site specific makefile fragment # for inclusion by packages that use ObjectSpace STL. # # Do we want the threaded version ifdef OSPACE_THREADED include arch_spec_ObjectSpace_threaded.mk else # standard definitions # Override this in the your config/arch_spec_site.mk file. ifndef OSPACE_DIR OSPACE_DIR = /afs/cern.ch/sw/lhcxx/specific/@sys/ObjectSpace/pro endif STL_DIR = $(OSPACE_DIR)/ospace/stl STD_DIR = $(OSPACE_DIR)/ospace/std # Some architecture specifics ifneq (,$(findstring Linux2,$(BFARCH))) NoObjectSpace = True endif ifneq (,$(findstring Sun,$(BFARCH))) OBECTSPACE_CCDEFS=-DOS_SOLARIS_2_5 -DOS_NEW_CHECK -DOS_STL_ASSERT -DOS_NO_WSTRING -DOS_NO_ALLOCATORS endif # Now set the STL required Flags ifndef NoObjectSpace override CPPFLAGS += -I$(OSPACE_DIR) -I$(STL_DIR) -I$(STD_DIR) $(OBECTSPACE_CCDEFS) override LDFLAGS += -L$(OSPACE_DIR)/lib override LOADLIBES += -lospace endif endif