diff options
author | Richard Sharpe <sharpe@samba.org> | 2000-12-26 05:57:10 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2000-12-26 05:57:10 +0000 |
commit | 51c0436a50e9f9274cee9de043bbefc93aff8011 (patch) | |
tree | 884ed1b120f64dff2ae054dd1a38f5de67654fd0 /source/Makefile.in | |
parent | 393c5f14e0858dcb3d6cb26eb5643b520c2c9686 (diff) | |
download | samba-51c0436a50e9f9274cee9de043bbefc93aff8011.tar.gz samba-51c0436a50e9f9274cee9de043bbefc93aff8011.tar.xz samba-51c0436a50e9f9274cee9de043bbefc93aff8011.zip |
First pass at the libsmbclient code ...
This code handles the basic stuff and compiles and links under Linux, but
I do not know about any other operating systems. Now onto directory
listing routines, including those that list workgroups, servers, etc.
Nothing is built automatically yet, you have to make client/testsmbc to build
the library and test program. Also, no make install targets are defined for
libsmbclient.so as yet, either.
Would be good if people test on operating systems other than Linux.
Diffstat (limited to 'source/Makefile.in')
-rw-r--r-- | source/Makefile.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Makefile.in b/source/Makefile.in index ff97d5f0a38..b4970826fdd 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -277,6 +277,8 @@ SMBW_OBJ = smbwrapper/smbw.o \ SMBWRAPPER_OBJ = $(SMBW_OBJ) smbwrapper/wrapped.o +LIBSMBCLIENT_OBJ = libsmb/libsmbclient.o $(LIB_OBJ) $(LIBSMB_OBJ) $(PARAM_OBJ) $(UBIQX_OBJ) + CLIENT_OBJ = client/client.o client/clitar.o \ $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) @@ -338,6 +340,7 @@ NSS_OBJ = $(NSS_OBJ_0:.o=.po) PICOBJS = $(SMBWRAPPER_OBJ:.o=.po) PICOBJS32 = $(SMBWRAPPER_OBJ:.o=.po32) +LIBSMBCLIENT_PICOBJS = $(LIBSMBCLIENT_OBJ:.0=.po) WINBINDD_OBJ1 = \ nsswitch/winbindd.o \ @@ -576,6 +579,14 @@ bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32) @echo Linking shared library $@ @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS) +bin/libsmbclient.so: $(LIBSMBCLIENT_PICOBJS) + @echo Linking libsmbclient shared library $@ + @$(LD) -shared -o $@ $(LIBSMBCLIENT_PICOBJS) $(LIBS) # Anything else? + +client/testsmbc: client/testsmbc.o bin/libsmbclient.so + @echo Linking testsmbc + @$(CC) $(CFLAGS) -o $@ client/testsmbc.o -Lbin -lsmbclient + bin/smbsh: $(SMBSH_OBJ) bin/.dummy @echo Linking $@ @$(CC) $(FLAGS) -o $@ $(SMBSH_OBJ) $(LDFLAGS) $(LIBS) |