From e3fe7d89b6094bfef42f42329e15631f684f0748 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 21 Jul 2016 16:32:43 -0400 Subject: Use a fresh port of libcli, which retains more of the original API. --- libraries/libcli/Makefile | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/libcli/Makefile b/libraries/libcli/Makefile index 26bfdf8..c2dad35 100644 --- a/libraries/libcli/Makefile +++ b/libraries/libcli/Makefile @@ -1,4 +1,22 @@ vpath %.c ${LIBCLI_SRC} vpath %.h ${LIBCLI_SRC} -include ${LIBCLI_SRC}/Makefile +CFLAGS += \ + -DDO_CRYPT=0 \ + -DDO_FILE=0 \ + -DDO_FILTER=0 \ + -DDO_IDLE_TIMEOUT=0 \ + -DDO_MALLOC=0 \ + -DDO_PRINT_BUFFERED=0 \ + -DDO_REGULAR=0 \ + -DDO_SOCKET=0 \ + -DDO_TAB_COMPLETION=1 \ + -DDO_TELNET=0 + +all: libcli.a + +libcli.a: libcli.o + $(AR) rcs $@ $^ + +clean: + rm libcli.[ao] -- cgit v1.2.3