summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2001-10-19 17:00:11 +0000
committerJim McDonough <jmcd@samba.org>2001-10-19 17:00:11 +0000
commit78b109e43b4d6fc7d4d45974090edc991d24c2d2 (patch)
tree5895644b0c8353a1cddb38356a3d348f910af801 /source3
parent10d03317544a070bf91c3249b45acea9e5fa8836 (diff)
downloadsamba-78b109e43b4d6fc7d4d45974090edc991d24c2d2.tar.gz
samba-78b109e43b4d6fc7d4d45974090edc991d24c2d2.tar.bz2
samba-78b109e43b4d6fc7d4d45974090edc991d24c2d2.zip
Add build of net utility
(This used to be commit 53247f5880150ed7ee831d68a5c0fdbcb1422194)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 108c4f103e..504e731a88 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -75,7 +75,7 @@ WINBIND_PAM_PROGS = nsswitch/pam_winbind.so
WINBIND_LPROGS = @WINBIND_PAM_PROGS@ nsswitch/libnss_winbind.so
SPROGS = bin/smbd bin/nmbd bin/swat @WINBIND_STARGETS@
-PROGS1 = bin/smbclient bin/smbspool bin/testparm bin/testprns bin/smbstatus bin/smbcontrol bin/smbtree @RUNPROG@ @WINBIND_TARGETS@
+PROGS1 = bin/smbclient bin/net bin/smbspool bin/testparm bin/testprns bin/smbstatus bin/smbcontrol bin/smbtree @RUNPROG@ @WINBIND_TARGETS@
PROGS2 = bin/smbpasswd bin/rpcclient bin/smbcacls @WRAP@ @WRAP32@ @PAM_MOD@
MPROGS = @MPROGS@
LPROGS = @WINBIND_LTARGETS@
@@ -124,7 +124,7 @@ LIBSMB_OBJ = libsmb/clientgen.o libsmb/cliconnect.o libsmb/clifile.o \
libsmb/namequery.o libsmb/nmblib.o libsmb/clistr.o \
libsmb/nterr.o libsmb/smbdes.o libsmb/smbencrypt.o \
libsmb/smberr.o libsmb/credentials.o libsmb/pwd_cache.o \
- libsmb/clioplock.o libsmb/errormap.o \
+ libsmb/clioplock.o libsmb/errormap.o libsmb/clirap2.o \
libsmb/passchange.o libsmb/unexpected.o $(RPC_PARSE_OBJ1)
LIBMSRPC_OBJ = libsmb/cli_lsarpc.o libsmb/cli_samr.o libsmb/cli_spoolss.o \
@@ -301,6 +301,8 @@ CLIENT_OBJ = client/client.o client/clitar.o \
$(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) \
$(READLINE_OBJ)
+NET_OBJ = utils/net.o $(LIBSMB_OBJ) $(PARAM_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
+
CUPS_OBJ = client/smbspool.o $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
MOUNT_OBJ = client/smbmount.o \
@@ -512,6 +514,10 @@ bin/smbclient: $(CLIENT_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS)
+bin/net: $(NET_OBJ) bin/.dummy
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(NET_OBJ) $(LDFLAGS) $(LIBS)
+
bin/smbspool: $(CUPS_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(CUPS_OBJ) $(LDFLAGS) $(LIBS)