summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-09 11:41:38 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-09 11:41:38 +0000
commit6bf1c3ac25c4fb523d6d101a7ccec501fe9b28a3 (patch)
treeaceb20ab38f42def3f11a21c3a620cb77444b34c
parentd4cd46557b9b7499ba6fa9865cc2b860ca56786e (diff)
downloadsamba-6bf1c3ac25c4fb523d6d101a7ccec501fe9b28a3.tar.gz
samba-6bf1c3ac25c4fb523d6d101a7ccec501fe9b28a3.tar.bz2
samba-6bf1c3ac25c4fb523d6d101a7ccec501fe9b28a3.zip
added some rules for winbindd and pam_winbind
(This used to be commit 6c5d139844334191f78257fbc9f01d0fa0c2bcf0)
-rw-r--r--source3/Makefile.in36
1 files changed, 35 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e404c3382c..dc330453d6 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -241,6 +241,8 @@ RPCCLIENT_OBJ = rpcclient/rpcclient.o \
$(PARAM_OBJ) $(LIBSMB_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) \
$(RPC_CLIENT_OBJ) $(RPC_PARSE_OBJ) $(PASSDB_OBJ)
+PAM_WINBIND_OBJ = nsswitch/pam_winbind.po nsswitch/common.po
+
SMBWRAPPER_OBJ = smbwrapper/smbw.o smbwrapper/wrapped.o \
smbwrapper/smbw_dir.o smbwrapper/smbw_stat.o \
smbwrapper/realcalls.o smbwrapper/shared.o \
@@ -297,6 +299,26 @@ NSS_OBJ = $(NSS_OBJ_0:.o=.po)
PICOBJS = $(SMBWRAPPER_OBJ:.o=.po)
PICOBJS32 = $(SMBWRAPPER_OBJ:.o=.po32)
+WINBINDD_OBJ1 = \
+ nsswitch/winbindd.o \
+ nsswitch/winbindd_user.o \
+ nsswitch/winbindd_group.o \
+ nsswitch/winbindd_idmap.o \
+ nsswitch/winbindd_util.o \
+ nsswitch/winbindd_cache.o \
+ nsswitch/winbindd_pam.o
+
+WINBINDD_OBJ = \
+ $(WINBINDD_OBJ1) \
+ $(RPC_CLIENT_OBJ) $(RPC_PARSE_OBJ) $(STUB_UID_OBJ) \
+ $(LIBNMB_OBJ) $(PARAM_OBJ) $(UBIQX_OBJ) $(LIB_OBJ) \
+ $(NSSWINS_OBJ) $(SIDDB_OBJ) $(LIBSMB_OBJ)
+
+NTDOM_OBJ = nsswitch/ntdom.o nsswitch/common.o
+
+NTDOM_PICOBJS = $(NTDOM_OBJ:.o=.po)
+
+
######################################################################
# now the rules...
######################################################################
@@ -513,7 +535,19 @@ nsswitch/libnss_wins.so: $(NSS_OBJ)
@echo "Linking $@"
@$(LD) @LDSHFLAGS@ -o $@ $(NSS_OBJ) -lc
-nsswitch: nsswitch/libnss_wins.so
+bin/winbindd: $(WINBINDD_OBJ) bin/.dummy
+ @echo Linking $@
+ @$(LINK) -o $@ $(WINBINDD_OBJ) $(LIBS)
+
+nsswitch/libnss_ntdom.so: $(NTDOM_PICOBJS)
+ @echo "Linking $@"
+ @$(LINK) -shared -o $@ $(NTDOM_PICOBJS)
+
+nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
+ @echo Linking $@
+ @$(LINK) -shared -o $@ $(PAM_WINBIND_OBJ)
+
+nsswitch: nsswitch/libnss_wins.so nsswitch/pam_winbind.so nsswitch/libnss_ntdom.so
install: installbin installman installscripts installcp installswat