summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/Makefile
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-05-15 19:10:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:07 -0500
commit4a413b304369df0650db8999ecdaff119582d5f7 (patch)
treebea36b78011c2066e05610eb1f4035fb1874a73b /examples/libsmbclient/Makefile
parent8c3f8e5697f29f1a9829298e0561ff7305b62082 (diff)
downloadsamba-4a413b304369df0650db8999ecdaff119582d5f7.tar.gz
samba-4a413b304369df0650db8999ecdaff119582d5f7.tar.bz2
samba-4a413b304369df0650db8999ecdaff119582d5f7.zip
r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent
attempts to set attributes to fail. - I also noticed that missing attributes were setting an invalid return string by getxattr(), e.g. if there was not group, the return string had "GROUP:;" instead of excluding the GROUP attribute entirely as it should. The big problem with the way it was, is that the string could not then be passed to setxattr() and parsed. (This used to be commit 7213b5ebec8cd7f1955f5aa8ee4050c39cd11ed1)
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r--examples/libsmbclient/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index ee117c9fe9..d44df77b3f 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -17,6 +17,7 @@ LIBSMBCLIENT = ../../source/bin/libsmbclient.a -ldl -lresolv
TESTS= testsmbc \
tree \
testacl \
+ testacl2 \
testbrowse \
testbrowse2 \
teststat \
@@ -39,6 +40,10 @@ testacl: testacl.o
@echo Linking testacl
$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ $< `gtk-config --libs` $(LIBSMBCLIENT) -lpopt
+testacl2: testacl2.o
+ @echo Linking testacl2
+ $(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ $< `gtk-config --libs` $(LIBSMBCLIENT) -lpopt
+
testbrowse: testbrowse.o
@echo Linking testbrowse
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt