summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-07-14 13:00:58 +0000
committerAndrew Tridgell <tridge@samba.org>1999-07-14 13:00:58 +0000
commit9d4c0be56b8abee49ff5e08126977c073bbf5eb4 (patch)
treed8197a83641169ff5784df2ad64a71855dae410f
parent68fd1ad0be098dc137621c4f4d31bb76b23c625a (diff)
downloadsamba-9d4c0be56b8abee49ff5e08126977c073bbf5eb4.tar.gz
Makefile.in changes for .so as a variable
-rw-r--r--source/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index f1651a192ec..290a53918af 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -261,7 +261,7 @@ PICOBJS32 = $(SMBWRAPPER_OBJ:.o=.po32)
all : CHECK $(SPROGS) $(PROGS)
-smbwrapper : CHECK bin/smbsh bin/smbwrapper.so @WRAP32@
+smbwrapper : CHECK bin/smbsh bin/smbwrapper.@SHLIBEXT@ @WRAP32@
smbtorture : CHECK bin/smbtorture
@@ -420,11 +420,11 @@ bin/smbfilter: $(SMBFILTER_OBJ) bin/.dummy
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS)
-bin/smbwrapper.so: $(PICOBJS)
+bin/smbwrapper.@SHLIBEXT@: $(PICOBJS)
@echo Linking shared library $@
@$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS)
-bin/smbwrapper.32.so: $(PICOBJS32)
+bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
@echo Linking shared library $@
@$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
@@ -478,17 +478,17 @@ uninstallcp:
@$(SHELL) $(srcdir)/script/uninstallcp.sh $(CODEPAGEDIR) $(CODEPAGELIST)
clean:
- -rm -f core */*~ *~ */*.o */*.po */*.po32 */*.so
+ -rm -f core */*~ *~ */*.o */*.po */*.po32 */*.@SHLIBEXT@
proto:
@echo rebuilding include/proto.h
@cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > include/proto.h
etags:
- etags `find . -name "*.[ch]"`
+ etags `find . -name "*.[ch]" | grep -v /CVS/`
ctags:
- ctags `find . -name "*.[ch]"`
+ ctags `find . -name "*.[ch]" | grep -v /CVS/`
realclean: clean
-rm -f config.log $(PROGS) $(SPROGS) bin/.dummy