# ====================================================================== # # ZMutility binary-building GNUmakefile # # ====================================================================== # ---------------------------------------------------------------------- # Identify the target binaries: # ---------------------------------------------------------------------- BINS = TBINS = \ testZMutility \ testFixedTypes \ sizeFixedTypes \ # ---------------------------------------------------------------------- # Identify and categorize the sources for the above-named binaries: # ---------------------------------------------------------------------- SIMPLEBINS = \ testZMutility \ testFixedTypes \ sizeFixedTypes \ COMPLEXBIN = BINCCFILES = # ---------------------------------------------------------------------- # Identify other libraries to be linked: # ---------------------------------------------------------------------- testZMutility_LIBS = testFixedTypes_LIBS = sizeFixedType_LIBS = # ---------------------------------------------------------------------- # Connect to other packages: # ---------------------------------------------------------------------- USE_ISOCXX = true include SoftRelTools/standard.mk # ---------------------------------------------------------------------- # Discard -lm introduced by ISOcxx: # ---------------------------------------------------------------------- override LOADLIBES := $(subst -lm,,$(LOADLIBES)) # ---------------------------------------------------------------------- # Make environment-specific adaptations: # ---------------------------------------------------------------------- ifneq (,$(findstring IRIX6,$(SRT_ARCH))) ifneq (,$(findstring KCC,$(SRT_CXX))) override CXXFLAGS += --backend -OPT:Olimit=0 override CCFLAGS += --backend -OPT:Olimit=0 endif endif 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 # ======================================================================