mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
wrote a little sample smbw program
build using "make bin/smbw_sample" this is to show people how to use smbw
This commit is contained in:
parent
ae80ca637c
commit
7d7ceaa921
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user