diff options
author | Derrell Lipman <derrell@samba.org> | 2005-03-31 16:26:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:25 -0500 |
commit | a3bd496c921dc775b59be4ff2941f4824ffbec03 (patch) | |
tree | 6cc5c67c103845ca72ed77fab166629af240a228 /examples/libsmbclient/Makefile | |
parent | 994694f7f26da5099f071e1381271a70407f33bb (diff) | |
download | samba-a3bd496c921dc775b59be4ff2941f4824ffbec03.tar.gz samba-a3bd496c921dc775b59be4ff2941f4824ffbec03.tar.xz samba-a3bd496c921dc775b59be4ff2941f4824ffbec03.zip |
r6151: additional examples/tests for libsmbclient
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r-- | examples/libsmbclient/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile index 1e89e7077e7..4b4919ee7ff 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 |