From a3bd496c921dc775b59be4ff2941f4824ffbec03 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Thu, 31 Mar 2005 16:26:15 +0000 Subject: r6151: additional examples/tests for libsmbclient --- examples/libsmbclient/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'examples/libsmbclient/Makefile') 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 -- cgit