# ====================================================================== # # Exceptions binary-building GNUmakefile # # ====================================================================== # ---------------------------------------------------------------------- # Identify the target binaries: # ---------------------------------------------------------------------- BINS = ALL_TBINS = \ testExceptions \ testzmex \ testThrowFrom \ exctest1 \ exctest2 \ exctest3 \ exctest4 \ exctestNothrow \ # excDblThrow \ ifeq ($(findstring CDF,$(SRT_QUAL)),CDF) AVOID_TBINS = exctest2 exctest3 else AVOID_TBINS = endif TBINS = $(filter-out $(AVOID_TBINS), $(ALL_TBINS)) # ---------------------------------------------------------------------- # Identify and categorize the sources for the above-named binaries: # ---------------------------------------------------------------------- SIMPLEBINS = \ testExceptions \ testzmex \ testThrowFrom \ exctest1 \ exctest2 \ exctest3 \ exctest4 \ exctestNothrow \ # excDblThrow \ COMPLEXBIN = BINCCFILES = # just for a test... # override CPPFLAGS += -DZM_USE_NAMESPACES # ---------------------------------------------------------------------- # Identify other libraries to be linked: # ---------------------------------------------------------------------- BINLIBS = -lExceptions -lZMutility # ---------------------------------------------------------------------- # Connect to other packages: # ---------------------------------------------------------------------- USE_ISOCXX = true include Exceptions/arch_spec_Exceptions.mk include SoftRelTools/standard.mk #include SoftRelTools/arch_spec_STL.mk # ---------------------------------------------------------------------- # Make environment-specific adaptations: # ---------------------------------------------------------------------- override LINK_$(PACKAGE) += $(PACKAGE)/test/GNUmakefile ifeq (BABAR,$(EXPERIMENT)) include PackageList/link_all_reco.mk endif ifneq (,$(findstring IRIX,$(SRT_ARCH))) ifneq (,$(findstring GCC,$(SRT_CXX))) override LDFLAGS += -Wl,-LD_MSG:off=15:off=47:off=84-85:off=127:off=134 endif endif # ======================================================================