diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
commit | 3d0386f27ca66379acf50199e1d1298386eeeeb8 (patch) | |
tree | f87bd4a126b3a843858eb447e8fd5893c3ee3882 /contrib/contrib.mk | |
parent | Initial commit. (diff) | |
download | knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.tar.xz knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.zip |
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | contrib/contrib.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/contrib.mk b/contrib/contrib.mk new file mode 100644 index 0000000..c8be024 --- /dev/null +++ b/contrib/contrib.mk @@ -0,0 +1,22 @@ +contrib_SOURCES := \ + contrib/ccan/asprintf/asprintf.c \ + contrib/ccan/ilog/ilog.c \ + contrib/ccan/json/json.c \ + contrib/ucw/mempool.c \ + contrib/ucw/mempool-fmt.c \ + contrib/murmurhash3/murmurhash3.c \ + contrib/base32hex.c \ + contrib/base64.c +contrib_CFLAGS := -fPIC +contrib_TARGET := $(abspath contrib)/contrib$(AREXT) + +# Use built-in LMDB if not found +ifneq ($(HAS_lmdb), yes) +contrib_SOURCES += contrib/lmdb/mdb.c \ + contrib/lmdb/midl.c +contrib_CFLAGS += -pthread +contrib_LIBS += -pthread +lmdb_CFLAGS += -I$(abspath contrib/lmdb) +endif + +$(eval $(call make_static,contrib,contrib)) |