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.
This commit is contained in:
parent
862d6932ea
commit
c31e5a5126
4
Makefile
4
Makefile
@ -742,7 +742,8 @@ all:
|
|||||||
@echo "out of it. Please check the Makefile in case of doubts."
|
@echo "out of it. Please check the Makefile in case of doubts."
|
||||||
@echo
|
@echo
|
||||||
@exit 1
|
@exit 1
|
||||||
else ifneq ($(filter $(TARGET), linux linux22 linux24 linux24e linux26 linux2628),)
|
else
|
||||||
|
ifneq ($(filter $(TARGET), linux linux22 linux24 linux24e linux26 linux2628),)
|
||||||
all:
|
all:
|
||||||
@echo
|
@echo
|
||||||
@echo "Target '$(TARGET)' was removed from HAProxy 2.0 due to being irrelevant and"
|
@echo "Target '$(TARGET)' was removed from HAProxy 2.0 due to being irrelevant and"
|
||||||
@ -753,6 +754,7 @@ all:
|
|||||||
else
|
else
|
||||||
all: haproxy $(EXTRA)
|
all: haproxy $(EXTRA)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
OBJS = src/proto_http.o src/cfgparse-listen.o src/proto_htx.o src/stream.o \
|
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 \
|
src/mux_h2.o src/stats.o src/flt_spoe.o src/server.o src/checks.o \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user