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