summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/Makefile
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-03-31 16:26:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:25 -0500
commit8e6b4b9867b7507c8a1542a5b3389a08ffba722b (patch)
tree520dc470239ca45f8180dfd56ba9d8c2455e5a74 /examples/libsmbclient/Makefile
parent9840db418bad5a39edc4a32a1786f5e2d2c9dff8 (diff)
downloadsamba-8e6b4b9867b7507c8a1542a5b3389a08ffba722b.tar.gz
samba-8e6b4b9867b7507c8a1542a5b3389a08ffba722b.tar.bz2
samba-8e6b4b9867b7507c8a1542a5b3389a08ffba722b.zip
r6151: additional examples/tests for libsmbclient
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r--examples/libsmbclient/Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 1e89e7077e..4b4919ee7f 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -11,7 +11,15 @@ CFLAGS = -O0 -g -I$(SAMBA_INCL) $(EXTLIB_INCL) $(DEFS)
LDFLAGS = -L/usr/local/samba/lib
-all: testsmbc tree testacl testbrowse teststat smbsh
+TESTS= testsmbc \
+ tree \
+ testacl \
+ testbrowse \
+ teststat \
+ testchmod \
+ testutime
+
+all: $(TESTS) smbsh
testsmbc: testsmbc.o
@echo Linking testsmbc
@@ -33,9 +41,17 @@ teststat: teststat.o
@echo Linking teststat
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+testchmod: testchmod.o
+ @echo Linking testchmod
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+
+testutime: testutime.o
+ @echo Linking testutime
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+
smbsh:
make -C smbwrapper
clean:
- @rm -f *.o *~ testsmbc tree testacl testbrowse teststat
+ @rm -f *.o *~ $(TESTS)
@make -C smbwrapper clean