fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-09-29 22:47:40 +00:00
parent 2a5feb5485
commit ec2e4f2216
15 changed files with 103 additions and 174 deletions

View File

@@ -36,7 +36,10 @@ include $(ASTTOPDIR)/Makefile.rules
all: $(LIBDB) #$(LIBDBSO) $(PROG)
$(eval $(call ast_make_a_o,$(LIBDB),$(OBJS)))
$(LIBDB): $(OBJS)
$(ECHO_PREFIX) echo " [AR] $^ -> $@"
$(CMD_PREFIX) $(AR) cr $@ $^
$(CMD_PREFIX) $(RANLIB) $@
$(LIBDBSO): $(SHOBJS)
$(CC) -Wl,-O1 -Wl,--version-script=libdb.map -Wl,-soname=$(LIBDBSO) -shared -o $@ $^