summaryrefslogtreecommitdiff
path: root/source3
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
commit3d601dafe907861dfb9447085e85a1213fe19b91 (patch)
treee6778449778b4efabe9ff6a7ff37b07eb7bb1928 /source3
parentbdec84db60461ce6152b1fc4062cb55c329d2821 (diff)
downloadsamba-3d601dafe907861dfb9447085e85a1213fe19b91.tar.gz
samba-3d601dafe907861dfb9447085e85a1213fe19b91.tar.bz2
samba-3d601dafe907861dfb9447085e85a1213fe19b91.zip
compile to .po.o first then mv to .po in order to make the sun
compilers happy (This used to be commit 6625b696469089138f0bd01ab966f30ba509dbda)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index e70f3be533..a0032d8de8 100644
--- a/source3/Makefile.in
+++ b/source3/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 \