summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-10-17 19:27:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:01 -0500
commitf398183555d91a2adc96350cbeb69a11b42e6a37 (patch)
treede31bfeef35a20e8b4b4a96a1f3f50d14126dda3 /examples/libsmbclient
parent7808def3e947c26bfbb46827dc5296efcc57d982 (diff)
downloadsamba-f398183555d91a2adc96350cbeb69a11b42e6a37.tar.gz
samba-f398183555d91a2adc96350cbeb69a11b42e6a37.tar.xz
samba-f398183555d91a2adc96350cbeb69a11b42e6a37.zip
r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
added example to read a file and test download time (This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r--examples/libsmbclient/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 4b4919ee7ff..7e893fd4889 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -17,7 +17,8 @@ TESTS= testsmbc \
testbrowse \
teststat \
testchmod \
- testutime
+ testutime \
+ testread
all: $(TESTS) smbsh
@@ -49,6 +50,10 @@ testutime: testutime.o
@echo Linking testutime
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+testread: testread.o
+ @echo Linking testread
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+
smbsh:
make -C smbwrapper