summaryrefslogtreecommitdiffstats
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
commit552175fdcb78c79833464648b5ccdc91b935e69c (patch)
tree6f2ef3569efb743ed5680d2a1764667178b1d9dd
parent98ba0b3a0a5074cf2b7adba407c5fd46f63c3f27 (diff)
downloadsamba-552175fdcb78c79833464648b5ccdc91b935e69c.tar.gz
samba-552175fdcb78c79833464648b5ccdc91b935e69c.tar.xz
samba-552175fdcb78c79833464648b5ccdc91b935e69c.zip
Fix for -fpic rules (.c.po and .c.po32) when using --enable-maintainer-mode.
-rw-r--r--source/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index de0af774a14..a7867ae3a70 100644
--- a/source/Makefile.in
+++ b/source/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 \