From: Willy Tarreau Date: Fri, 2 Apr 2021 12:16:00 +0000 (+0200) Subject: DEV: flags: replace the unneeded makefile with a README X-Git-Tag: v2.4-dev15~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=339eb0b0027350c10495e8fed3283e33e4dba858;p=thirdparty%2Fhaproxy.git DEV: flags: replace the unneeded makefile with a README The makefile was not suited anymore as it didn't consider all required compiler options and was causing way too many build warnings with modern compilers. Let's just remove it and indicate that this has to be built from the top of the project. --- diff --git a/dev/flags/Makefile b/dev/flags/Makefile deleted file mode 100644 index 9171eaf4c4..0000000000 --- a/dev/flags/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDE = -I../../include - -CC = gcc -OPTIMIZE = -O2 -DEFINE = -OBJS = flags - -all: $(OBJS) - -flags: flags.c - $(CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^ - -clean: - rm -f $(OBJS) *.[oas] *~ diff --git a/dev/flags/README b/dev/flags/README new file mode 100644 index 0000000000..7693c74db7 --- /dev/null +++ b/dev/flags/README @@ -0,0 +1,12 @@ +This needs to be built from the top makefile, for example : + + make dev/flags/flags + +Then the executable is usable either one value at a time from the +command line, either with values coming from stdin with "-" passed +alone instead of the value. + +It is possible to restrict the decoding to certain fields only by +specifying one of "ana", "chn", "conn", "cs", "si", "sierr", "strm", +"task", or "txn" before the value. +