From: Willy Tarreau Date: Sun, 16 Jun 2019 15:53:39 +0000 (+0200) Subject: BUILD: makefile: make the obsolete target detection compatible with make-3.80 X-Git-Tag: v2.0.0~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c31e5a51267ec15f65afa6d871b38796405a766d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/Makefile b/Makefile index a9b21b97c0..785e313ad6 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 \