Add some additional libsmbclient test programs.
[ira/wip.git] / examples / libsmbclient / Makefile
index 26b80575fb6c7c3e9382e5e0bdaac4f8140bd5d5..9657957c4e9c0c53efeacca1b66d92fc169b916d 100644 (file)
@@ -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