summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient/Makefile
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-01-17 09:26:36 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-01-17 09:26:36 -0500
commit5a4a7aec761c3388b741b9b47fa6358fc71a66ce (patch)
treeb7d83c35a44b5f2999d1c1060476648f81c72701 /examples/libsmbclient/Makefile
parentdf3c4648399f8d62ff6fe0013be8b89abc18f0f0 (diff)
downloadsamba-5a4a7aec761c3388b741b9b47fa6358fc71a66ce.tar.gz
samba-5a4a7aec761c3388b741b9b47fa6358fc71a66ce.tar.xz
samba-5a4a7aec761c3388b741b9b47fa6358fc71a66ce.zip
Add some additional libsmbclient test programs.
testwrite: create or truncate a file and write to it. teststat3: compare the results from smbc_stat() and smbc_fstat() Derrell
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r--examples/libsmbclient/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 26b80575fb6..9657957c4e9 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -22,9 +22,11 @@ TESTS= testsmbc \
testbrowse2 \
teststat \
teststat2 \
+ teststat3 \
testchmod \
testutime \
- testread
+ testread \
+ testwrite
# tree \
@@ -62,6 +64,10 @@ teststat2: teststat2.o
@echo Linking teststat2
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt
+teststat3: teststat3.o
+ @echo Linking teststat3
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt
+
testchmod: testchmod.o
@echo Linking testchmod
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt
@@ -74,6 +80,10 @@ testread: testread.o
@echo Linking testread
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt
+testwrite: testwrite.o
+ @echo Linking testwrite
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt
+
smbsh:
make -C smbwrapper