summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in22
1 files changed, 21 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index cd7447502d..d2c5a289c6 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -14,11 +14,16 @@ CPPFLAGS=@CPPFLAGS@
LDFLAGS=@LDFLAGS@
AWK=@AWK@
+LIBTOOL=@LIBTOOL@ --quiet
+LIBTOOL_DEPS=@LIBTOOL_DEPS@
+LINK=$(LIBTOOL) --mode=link $(CC) $(FLAGS) $(LDFLAGS)
+
INSTALLCMD=@INSTALL@
VPATH=@srcdir@
srcdir=@srcdir@
builddir=@builddir@
+top_builddir=.
SHELL=/bin/sh
BASEDIR= @prefix@
@@ -297,7 +302,7 @@ debug2html : CHECK bin/debug2html
smbfilter : CHECK bin/smbfilter
.SUFFIXES:
-.SUFFIXES: .c .o .po .po32
+.SUFFIXES: .c .o .po .po32 .lo
CHECK:
@echo "Using FLAGS = $(FLAGS)"
@@ -329,6 +334,21 @@ MAKEDIR = || exec false; \
@MAINT@ <.deps/$@ >.deps/$@d && \
@MAINT@ rm -f .deps/$@ && : >.deps/.stamp
+# This is for libtool
+.c.lo: @MAINT@ .deps/.dummy
+ @if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
+ dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
+@MAINT@ @if (: >> .deps/$@ || : > .deps/$@) >/dev/null 2>&1; then :; \
+@MAINT@ else dir=.deps/`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` \
+@MAINT@ $(MAKEDIR); fi; rm -f .deps/$@ .deps/$@d
+ @echo Compiling $< with libtool
+ @$(LIBTOOL) --mode=compile \
+ $(CC) -I. -I$(srcdir) $(FLAGS) -c $< \
+ -o $@ @MAINT@ -Wp,-MD,.deps/$@
+@MAINT@ @sed 's|^.*'`echo $* | sed 's,.*/,,'`'.*:|$@:|' \
+@MAINT@ <.deps/$@ >.deps/$@d && \
+@MAINT@ rm -f .deps/$@ && : >.deps/.stamp
+
.c.po: @MAINT@ .deps/.dummy
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi