]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | at_least=3.80 | |
11 | ifeq ($(MACHTYPE),i370-ibm-mvs) | |
12 | at_least=3.79.1 | |
13 | endif | |
14 | ifeq ($(PLATFORM),OS390) | |
15 | at_least=3.79.1 | |
16 | endif | |
4388f060 A |
17 | ifeq ($(MACHTYPE),powerpc-ibm-os400) |
18 | at_least=3.77 | |
19 | endif | |
729e4ab9 A |
20 | |
21 | latest_a=$(firstword $(sort $(MAKE_VERSION) $(at_least))) | |
22 | ||
23 | ifneq ($(at_least),$(latest_a)) | |
24 | err: | |
25 | @echo "ERROR: $(MAKE_VERSION) - too old, please upgrade to at least $(at_least)" | |
26 | @false | |
27 | else | |
28 | ok: | |
29 | @echo "$(MAKE_VERSION) (we wanted at least $(at_least))" | |
729e4ab9 A |
30 | endif |
31 |