# ====================================================================== # # ZMtools binary-building GNUmakefile # # ====================================================================== # ---------------------------------------------------------------------- # Identify the target binaries: # ---------------------------------------------------------------------- BINS = # binaries' names to be built as part of .bin or .all requests TBINS = \ testPretend \ zmtBlockTest \ zmtIFtest1 \ zmtIFtest2 \ zmtIFtest3 \ fillRandomTest \ testAssertN \ zmtHolderPtrTest \ # ---------------------------------------------------------------------- # Identify and categorize the sources for the above-named binaries: # ---------------------------------------------------------------------- SIMPLEBINS = \ testPretend \ zmtBlockTest \ zmtIFtest1 \ zmtIFtest2 \ zmtIFtest3 \ fillRandomTest \ testAssertN \ zmtHolderPtrTest \ COMPLEXBIN = BINCCFILES = # ---------------------------------------------------------------------- # Identify other libraries to be linked: # ---------------------------------------------------------------------- ifneq (, $(CERN_DIR) ) override LDFLAGS += -L$(CERN_DIR)/lib endif LOADLIBES = \ -lZMtools \ -lHBookHepTuple \ -lHepTuple \ -lCLHEP \ -lExceptions \ -lErrorLogger \ -lZMutility \ # ---------------------------------------------------------------------- # Connect to other packages: # ---------------------------------------------------------------------- USE_ISOCXX = true include SoftRelTools/standard.mk include SoftRelTools/arch_spec_cern.mk include SoftRelTools/arch_spec_f77.mk include Exceptions/arch_spec_Exceptions.mk # ---------------------------------------------------------------------- # Make environment-specific adaptations: # ---------------------------------------------------------------------- ifeq (MSVC50,$(findstring -MSVC50,$(BFARCH))) override LOADLIBES = $(subst -lm,,$(LOADLIBES)) 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 # ======================================================================