From 339eb0b0027350c10495e8fed3283e33e4dba858 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 2 Apr 2021 14:16:00 +0200 Subject: [PATCH] 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. --- dev/flags/Makefile | 14 -------------- dev/flags/README | 12 ++++++++++++ 2 files changed, 12 insertions(+), 14 deletions(-) delete mode 100644 dev/flags/Makefile create mode 100644 dev/flags/README 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. +