summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-07 13:27:54 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-07 13:27:54 +0000
commit6625b696469089138f0bd01ab966f30ba509dbda (patch)
tree67254b5e318fa3e387dcb9db4228a4ee76a977df
parentf374706cbf654bdb33df3074cb1a8101af0201eb (diff)
downloadsamba-6625b696469089138f0bd01ab966f30ba509dbda.tar.gz
samba-6625b696469089138f0bd01ab966f30ba509dbda.tar.xz
samba-6625b696469089138f0bd01ab966f30ba509dbda.zip
compile to .po.o first then mv to .po in order to make the sun
compilers happy
-rw-r--r--source/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index e70f3be533e..a0032d8de8f 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -261,16 +261,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 $@ \
+ @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $@.o \
@MAINT@ -Wp,-MD,.deps/`echo $* | sed s,/,_,g`.P && : >.deps/.stamp
+ @mv $@.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 $@ \
+ @$(CC) -32 -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $@.o \
@MAINT@ -Wp,-MD,.deps/`echo $* | sed s,/,_,g`.P && : >.deps/.stamp
+ @mv $@.o $@
bin/.dummy:
@if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \