aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcli/Makefile')
-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]