From da74939852e95cc44d1748e54e1a6bc6a9caba3d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Jul 2000 03:52:47 +0000 Subject: wrote a little sample smbw program build using "make bin/smbw_sample" this is to show people how to use smbw (This used to be commit 7d7ceaa9219ba88075cac23eb42b163903537c70) --- source3/Makefile.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index c1df38338d..a535a7f8e9 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -246,12 +246,14 @@ RPCCLIENT_OBJ = rpcclient/rpcclient.o \ PAM_WINBIND_OBJ = nsswitch/pam_winbind.po nsswitch/common.po -SMBWRAPPER_OBJ = smbwrapper/smbw.o smbwrapper/wrapped.o \ +SMBW_OBJ = smbwrapper/smbw.o \ smbwrapper/smbw_dir.o smbwrapper/smbw_stat.o \ smbwrapper/realcalls.o smbwrapper/shared.o \ $(LIBSMB_OBJ) $(PARAM_OBJ) \ $(UBIQX_OBJ) $(LIB_OBJ) +SMBWRAPPER_OBJ = $(SMBW_OBJ) smbwrapper/wrapped.o + CLIENT_OBJ = client/client.o client/clitar.o \ $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) @@ -507,6 +509,11 @@ bin/smbfilter: $(SMBFILTER_OBJ) bin/.dummy @echo Linking $@ @$(CC) $(FLAGS) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) + +bin/smbw_sample: $(SMBW_OBJ) utils/smbw_sample.o bin/.dummy + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SMBW_OBJ) utils/smbw_sample.o $(LDFLAGS) $(LIBS) + bin/smbwrapper.@SHLIBEXT@: $(PICOBJS) @echo Linking shared library $@ @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS) -- cgit