summaryrefslogtreecommitdiff
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
commitdba2400192e7d3afb9d1c48f52eeccd0c2f660e9 (patch)
treee9b4da47e4f4617d555b604aab7a7355dd15b72d /examples/libsmbclient/Makefile
parentf44713df4d636203354c55d9a9bc2538073cf0af (diff)
downloadsamba-dba2400192e7d3afb9d1c48f52eeccd0c2f660e9.tar.gz
samba-dba2400192e7d3afb9d1c48f52eeccd0c2f660e9.tar.bz2
samba-dba2400192e7d3afb9d1c48f52eeccd0c2f660e9.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 (This used to be commit 5a4a7aec761c3388b741b9b47fa6358fc71a66ce)
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 26b80575fb..9657957c4e 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