summaryrefslogtreecommitdiff
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
commitda74939852e95cc44d1748e54e1a6bc6a9caba3d (patch)
tree12b205adad7d998403d7d4dfaeed1557293c7197
parentd0f1bca957bca1725982c311b49f80c4984dfc32 (diff)
downloadsamba-da74939852e95cc44d1748e54e1a6bc6a9caba3d.tar.gz
samba-da74939852e95cc44d1748e54e1a6bc6a9caba3d.tar.bz2
samba-da74939852e95cc44d1748e54e1a6bc6a9caba3d.zip
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)
-rw-r--r--source3/Makefile.in9
1 files changed, 8 insertions, 1 deletions
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)