intl/icu/source/config/gmakever.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/config/gmakever.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +## -*-makefile-*-
     1.5 +#******************************************************************************
     1.6 +#   Copyright (C) 2008-2011, International Business Machines
     1.7 +#   Corporation and others.  All Rights Reserved.
     1.8 +#******************************************************************************
     1.9 +# Make sure we have the right version of Make.
    1.10 +
    1.11 +at_least=3.80
    1.12 +ifeq ($(MACHTYPE),i370-ibm-mvs)
    1.13 +at_least=3.79.1
    1.14 +endif
    1.15 +ifeq ($(PLATFORM),OS390)
    1.16 +at_least=3.79.1
    1.17 +endif
    1.18 +ifeq ($(MACHTYPE),powerpc-ibm-os400)
    1.19 +at_least=3.77
    1.20 +endif
    1.21 +
    1.22 +latest_a=$(firstword $(sort $(MAKE_VERSION) $(at_least)))
    1.23 +
    1.24 +ifneq ($(at_least),$(latest_a))
    1.25 +err:
    1.26 +	@echo "ERROR: $(MAKE_VERSION) - too old, please upgrade to at least $(at_least)"
    1.27 +	@false
    1.28 +else
    1.29 +ok:
    1.30 +	@echo "$(MAKE_VERSION) (we wanted at least $(at_least))"
    1.31 +endif
    1.32 +

mercurial