summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1998-10-24 06:23:02 +0000
committerTim Potter <tpot@samba.org>1998-10-24 06:23:02 +0000
commitf9881e8e74041bc022716f01767a174e7a36b38e (patch)
tree38c5cdd4cffda5882df65121d965d2a179df94d4
parentb0c360c25a4fb68efc03768642dea0d6f8a620c7 (diff)
downloadsamba-f9881e8e74041bc022716f01767a174e7a36b38e.tar.gz
samba-f9881e8e74041bc022716f01767a174e7a36b38e.tar.bz2
samba-f9881e8e74041bc022716f01767a174e7a36b38e.zip
Fix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.
(This used to be commit 552175fdcb78c79833464648b5ccdc91b935e69c)
-rw-r--r--source3/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index de0af774a1..a7867ae3a7 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -278,18 +278,18 @@ MAKEDIR = || exec false; \
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
@echo Compiling $*.c with @PICFLAG@
- @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po.o
- @mv $*.po.o $@ \
+ @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po.o \
@MAINT@ -Wp,-MD,.deps/`echo $* | sed s,/,_,g`.P && : >.deps/.stamp
+ @mv $*.po.o $@
# this is for IRIX
.c.po32: @MAINT@ .deps/.dummy
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
@echo Compiling $*.c with @PICFLAG@ and -32
- @$(CC) -32 -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po32.o
- @mv $*.po32.o $@ \
+ @$(CC) -32 -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po32.o \
@MAINT@ -Wp,-MD,.deps/`echo $* | sed s,/,_,g`.P && : >.deps/.stamp
+ @mv $*.po32.o $@
bin/.dummy:
@if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \