aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-07-21 16:32:43 -0400
committerPaul Selkirk <paul@psgd.org>2016-07-21 16:32:43 -0400
commite3fe7d89b6094bfef42f42329e15631f684f0748 (patch)
treedbaca9b4ce50dca6950a658cef99d20d5d7922ae /libraries
parent91cc61352451093e26605f4a9bbe83798da02fd0 (diff)
Use a fresh port of libcli, which retains more of the original API.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libcli/Makefile20
1 files changed, 19 insertions, 1 deletions
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]