]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/config/gmakever.mk
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / config / gmakever.mk
... / ...
CommitLineData
1## -*-makefile-*-
2# Copyright (C) 2016 and later: Unicode, Inc. and others.
3# License & terms of use: http://www.unicode.org/copyright.html
4#******************************************************************************
5# Copyright (C) 2008-2011, International Business Machines
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
17ifeq ($(MACHTYPE),powerpc-ibm-os400)
18at_least=3.77
19endif
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))"
30endif
31