summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorMichael Warfield <mhw@samba.org>1998-09-28 19:18:21 +0000
committerMichael Warfield <mhw@samba.org>1998-09-28 19:18:21 +0000
commitcdaa53e3ef7e9bbb7dedaa82d54f730085b9250c (patch)
tree8d1770c17112a594229cfc699c157e96d5039515 /source3/Makefile.in
parenta97a4b8b99d6b3a57b01b0097e8a3583dd60f816 (diff)
downloadsamba-cdaa53e3ef7e9bbb7dedaa82d54f730085b9250c.tar.gz
samba-cdaa53e3ef7e9bbb7dedaa82d54f730085b9250c.tar.bz2
samba-cdaa53e3ef7e9bbb7dedaa82d54f730085b9250c.zip
Two changes in this ball...
1) Changes to smbmnt.c, smbmount.c, and smbumount.c allow them to compile on both RedHat 4.x (libc 4.x) systems and RedHat 5.x (glibc 2) systems. 2) Changes to Makefile.in and configure.in (and subsequently configure) are to configure for smbmount, smbumount, and smbmnt to compile. This adds a "--with(out)-smbmount" option to configure. Sanity checking is not present yet. You can specify this if you are not on linux, it just won't compile. (This used to be commit 8a4730f61923577b0bd9e09ef1a00538f7dfb0de)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b3d047b1d1..53a79d332f 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -76,7 +76,8 @@ FLAGS = $(FLAGS5) $(PASSWD_FLAGS)
SPROGS = bin/smbd bin/nmbd bin/swat
PROGS1 = bin/smbclient bin/testparm bin/testprns bin/smbrun bin/smbstatus
PROGS2 = bin/rpcclient bin/smbpasswd bin/make_smbcodepage
-PROGS = $(PROGS1) $(PROGS2) bin/nmblookup bin/make_printerdef
+MPROGS = @MPROGS@
+PROGS = $(PROGS1) $(PROGS2) $(MPROGS) bin/nmblookup bin/make_printerdef
SCRIPTS = script/smbtar script/addtosmbpass
@@ -192,6 +193,15 @@ RPCCLIENT_OBJ = rpcclient/rpcclient.o \
CLIENT_OBJ = client/client.o client/clientutil.o client/clitar.o \
$(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
+MOUNT_OBJ = client/smbmount.o client/clientutil.o \
+ $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
+
+MNT_OBJ = client/smbmnt.o \
+ $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
+
+UMOUNT_OBJ = client/smbumount.o \
+ $(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ)
+
NMBLOOKUP_OBJ = utils/nmblookup.o $(PARAM_OBJ) $(UBIQX_OBJ) \
$(LIBSMB_OBJ) $(LIB_OBJ)
@@ -244,6 +254,18 @@ bin/smbclient: $(CLIENT_OBJ)
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(LIBS)
+bin/smbmount: $(MOUNT_OBJ)
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(MOUNT_OBJ) $(LIBS)
+
+bin/smbmnt: $(MNT_OBJ)
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(MNT_OBJ) $(LIBS)
+
+bin/smbumount: $(UMOUNT_OBJ)
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(UMOUNT_OBJ) $(LIBS)
+
bin/testparm: $(TESTPARM_OBJ)
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(LIBS)