summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/Makefile
diff options
context:
space:
mode:
authorBo Yang <boyang@samba.org>2009-08-08 06:14:33 +0800
committerBo Yang <boyang@samba.org>2009-08-08 06:26:43 +0800
commit238bf25af44ecc51bef59f1d0b9303da9904432e (patch)
treedccca5d661062a7ff711d93d21bddf86da4743ff /testsuite/libsmbclient/src/Makefile
parentb9fb8da59148f574b03e44748fca7800f940db7a (diff)
downloadsamba-238bf25af44ecc51bef59f1d0b9303da9904432e.tar.gz
samba-238bf25af44ecc51bef59f1d0b9303da9904432e.tar.bz2
samba-238bf25af44ecc51bef59f1d0b9303da9904432e.zip
s3: add a test to test libsmbclient
Signed-off-by: Bo Yang <boyang@samba.org>
Diffstat (limited to 'testsuite/libsmbclient/src/Makefile')
-rw-r--r--testsuite/libsmbclient/src/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/libsmbclient/src/Makefile b/testsuite/libsmbclient/src/Makefile
index 8b4658f7db..c8c0b673a3 100644
--- a/testsuite/libsmbclient/src/Makefile
+++ b/testsuite/libsmbclient/src/Makefile
@@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -Wall -W -O2 -g -I../../../source/include
LFLAGS = -L../../../source/bin
-LIBS= -L/usr/lib -lsmbclient
+LIBS= -L/usr/lib -lsmbclient -ltalloc
INCPATH= -I. -I/usr/include -I./include
BIN_DIR=bin
@@ -99,7 +99,8 @@ G_STAT = $(BIN_DIR)/stat_1 \
$(BIN_DIR)/stat_3 \
$(BIN_DIR)/stat_4 \
$(BIN_DIR)/stat_5 \
- $(BIN_DIR)/stat_6
+ $(BIN_DIR)/stat_6 \
+ $(BIN_DIR)/stat_k
G_GETDENTS = $(BIN_DIR)/getdents_1 \
$(BIN_DIR)/getdents_2 \
@@ -521,6 +522,10 @@ $(BIN_DIR)/stat_6: stat/stat_6.o
@echo Linking $@
@$(CC) $(LFLAGS) -o $@ stat/stat_6.o $(INCPATH) $(LIBS)
+$(BIN_DIR)/stat_k: stat/stat_k.o
+ @echo Linking $@
+ @$(CC) $(LFLAGS) -o $@ stat/stat_k.o $(INCPATH) $(LIBS)
+
$(BIN_DIR)/getdents_1: getdents/getdents_1.o
@echo Linking $@
@$(CC) $(LFLAGS) -o $@ getdents/getdents_1.o $(INCPATH) $(LIBS)