]> git.saurik.com Git - apple/icu.git/blame - icuSources/config/gmakever.mk
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / config / gmakever.mk
CommitLineData
729e4ab9 1## -*-makefile-*-
f3c0d7a5
A
2# Copyright (C) 2016 and later: Unicode, Inc. and others.
3# License & terms of use: http://www.unicode.org/copyright.html
729e4ab9 4#******************************************************************************
4388f060 5# Copyright (C) 2008-2011, International Business Machines
729e4ab9
A
6# Corporation and others. All Rights Reserved.
7#******************************************************************************
8# Make sure we have the right version of Make.
9
10at_least=3.80
11ifeq ($(MACHTYPE),i370-ibm-mvs)
12at_least=3.79.1
13endif
14ifeq ($(PLATFORM),OS390)
15at_least=3.79.1
16endif
4388f060
A
17ifeq ($(MACHTYPE),powerpc-ibm-os400)
18at_least=3.77
19endif
729e4ab9
A
20
21latest_a=$(firstword $(sort $(MAKE_VERSION) $(at_least)))
22
23ifneq ($(at_least),$(latest_a))
24err:
25 @echo "ERROR: $(MAKE_VERSION) - too old, please upgrade to at least $(at_least)"
26 @false
27else
28ok:
29 @echo "$(MAKE_VERSION) (we wanted at least $(at_least))"
729e4ab9
A
30endif
31