summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-03-01 00:21:09 +0300
committerStefan Metzmacher <metze@samba.org>2010-03-03 09:22:38 +0100
commit1af5a6d35966ddb5435214a6d1f8ba34be697001 (patch)
tree4774e09411306fb2a9143d686691467816bc698b /source3
parentdb6781833ddae85190a270f481cc2432ff8dc702 (diff)
downloadsamba-1af5a6d35966ddb5435214a6d1f8ba34be697001.tar.gz
samba-1af5a6d35966ddb5435214a6d1f8ba34be697001.tar.bz2
samba-1af5a6d35966ddb5435214a6d1f8ba34be697001.zip
s3: Allow pam_winbind.c to build without localedir.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index ead1d316c4..8678d15acc 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -921,7 +921,7 @@ RPCCLIENT_OBJ = $(RPCCLIENT_OBJ1) \
$(LIBADS_OBJ) $(POPT_LIB_OBJ) \
$(SMBLDAP_OBJ) $(DCUTIL_OBJ) $(LDB_OBJ)
-PAM_WINBIND_OBJ = ../nsswitch/pam_winbind.o localedir.o $(WBCOMMON_OBJ) \
+PAM_WINBIND_OBJ = ../nsswitch/pam_winbind.o $(WBCOMMON_OBJ) \
$(LIBREPLACE_OBJ) @BUILD_INIPARSER@
LIBSMBCLIENT_THREAD_OBJ = \
@@ -1522,6 +1522,13 @@ dynconfig.o: dynconfig.c Makefile
echo "$(COMPILE_CC_PATH)" 1>&2;\
$(COMPILE_CC_PATH) >/dev/null 2>&1
+../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
+ @echo Compiling $*.c
+ @$(COMPILE_CC_PATH) && exit 0;\
+ echo "The following command failed:" 1>&2;\
+ echo "$(COMPILE_CC_PATH)" 1>&2;\
+ $(COMPILE_CC_PATH) >/dev/null 2>&1
+
localedir.o: localedir.c Makefile
@echo Compiling $*.c
@$(COMPILE_CC_PATH) && exit 0;\