summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-25 22:37:43 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-25 22:37:43 +0000
commitdc16a6848b5c3da843046a75fbd30d1cc84dd98c (patch)
treed3402d2d659290fb0d8bf4095a3ba9a6b890f856 /source3/Makefile.in
parentadb1aa87f0cdd2a832cecda205e5f076b06fece7 (diff)
downloadsamba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.tar.gz
samba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.tar.bz2
samba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.zip
Always rebuild modules after running ./configure (to prevent
undefined symbol errors) (This used to be commit e193b47259d11b0eaef4071acb406d6433426733)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 95a4cee98f..7117281900 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -672,11 +672,11 @@ MAKEDIR = || exec false; \
# but since we also require "make install prefix=/opt/samba" *not* to
# rebuild it's a bit hard.
-dynconfig.o: dynconfig.c Makefile
+dynconfig.o: dynconfig.c Makefile modules_clean
@echo Compiling $*.c
@$(CC) $(FLAGS) $(PATH_FLAGS) -c $< -o $@
-dynconfig.po: dynconfig.c Makefile
+dynconfig.po: dynconfig.c Makefile modules_clean
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
@echo Compiling $*.c with @PICFLAG@
@@ -987,7 +987,7 @@ bin/mysql.@SHLIBEXT@: $(MYSQL_OBJ)
bin/ldapsam.@SHLIBEXT@: passdb/pdb_ldap.o
@echo "Building plugin $@"
- @$(SHLD) $(LDSHFLAGS) -o $@ passdb/pdb_ldap.o \
+ @$(SHLD) $(LDSHFLAGS) -o $@ @LDAP_LIBS@ passdb/pdb_ldap.o \
@SONAMEFLAG@`basename $@`
bin/tdbsam.@SHLIBEXT@: passdb/pdb_tdb.o
@@ -1188,6 +1188,11 @@ clean: delheaders python_clean
-rm -f core */*~ *~ */*.o */*.po */*.po32 */*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(MODULES) $(TORTURE_PROGS) $(LIBSMBCLIENT) .headers.stamp
+# This is quite ugly actually.. But we need to make
+# sure the changes to include/config.h are used.
+modules_clean:
+ @-rm -f @MODULES_CLEAN@ auth/auth.o passdb/pdb_interface.o rpc_server/srv_pipe_hnd.o lib/iconv.o
+
# Making this target will just make sure that the prototype files
# exist, not necessarily that they are up to date. Since they're
# removed by "make clean" this will always be run when you do anything