r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
authorDerrell Lipman <derrell@samba.org>
Mon, 17 Oct 2005 19:27:19 +0000 (19:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:01 +0000 (11:05 -0500)
 added example to read a file and test download time

examples/libsmbclient/Makefile

index 4b4919ee7ff2bbc3e2cb824a0e19050c6abe090b..7e893fd4889b681348856b200de11af3748938fa 100644 (file)
@@ -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