From c31e5a51267ec15f65afa6d871b38796405a766d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 16 Jun 2019 17:53:39 +0200 Subject: [PATCH] BUILD: makefile: make the obsolete target detection compatible with make-3.80 Older versions of GNU make do not support "else ifneq", let's split this in two lines. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9b21b97c..785e313ad 100644 --- a/Makefile +++ b/Makefile @@ -742,7 +742,8 @@ all: @echo "out of it. Please check the Makefile in case of doubts." @echo @exit 1 -else ifneq ($(filter $(TARGET), linux linux22 linux24 linux24e linux26 linux2628),) +else +ifneq ($(filter $(TARGET), linux linux22 linux24 linux24e linux26 linux2628),) all: @echo @echo "Target '$(TARGET)' was removed from HAProxy 2.0 due to being irrelevant and" @@ -753,6 +754,7 @@ all: else all: haproxy $(EXTRA) endif +endif OBJS = src/proto_http.o src/cfgparse-listen.o src/proto_htx.o src/stream.o \ src/mux_h2.o src/stats.o src/flt_spoe.o src/server.o src/checks.o \