summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-07-06 03:52:47 +0000
committerAndrew Tridgell <tridge@samba.org>2000-07-06 03:52:47 +0000
commit7d7ceaa9219ba88075cac23eb42b163903537c70 (patch)
treee7192ec14ac227d0dbfd720d993f95bdc1805231
parentae80ca637cd4de6d18f995a4b6e1e1e21ab63581 (diff)
downloadsamba-7d7ceaa9219ba88075cac23eb42b163903537c70.tar.gz
samba-7d7ceaa9219ba88075cac23eb42b163903537c70.tar.xz
samba-7d7ceaa9219ba88075cac23eb42b163903537c70.zip
wrote a little sample smbw program
build using "make bin/smbw_sample" this is to show people how to use smbw
-rw-r--r--source/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index c1df38338dd..a535a7f8e9b 100644
--- a/source/Makefile.in
+++ b/source/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)