summaryrefslogtreecommitdiffstats
path: root/source3/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 6319f6650d..72b5fdca4d 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -448,10 +448,9 @@ 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
+ @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po
@BROKEN_CC@ -mv `echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@.o
- @mv $*.po.o $@
+# @mv $*.po.o $@
# this is for IRIX
.c.po32:
@@ -589,13 +588,13 @@ bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
@echo Linking shared library $@
@$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
-bin/libsmbclient: $(LIBSMBCLIENT_PICOBJS)
+libsmbclient: $(LIBSMBCLIENT_PICOBJS)
-if [ $(BLDSHARED) = true ]; then \
- echo Linking libsmbclient shared library $@.@SHLIBEXT@; \
- $(LD) @LDSHFLAGS@ -o $@.@SHLIBEXT@ $(LIBSMBCLIENT_PICOBJS) $(LIBS); \
+ echo Linking libsmbclient shared library bin/$@.@SHLIBEXT@; \
+ $(LD) @LDSHFLAGS@ -o bin/$@.@SHLIBEXT@ $(LIBSMBCLIENT_PICOBJS) $(LIBS); \
fi
- @echo Linking libsmbclient non-shared library $@.a
- -$(AR) -rc $@.a $(LIBSMBCLIENT_PICOBJS)
+ @echo Linking libsmbclient non-shared library bin/$@.a
+ -$(AR) -rc bin/$@.a $(LIBSMBCLIENT_PICOBJS)
bin/smbsh: $(SMBSH_OBJ) bin/.dummy
@echo Linking $@