Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.

Eliminate some more gmakeisms in the modules makefiles




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-17 08:40:10 +00:00
parent 70a70aa922
commit 940bf73b72
30 changed files with 147 additions and 204 deletions

View File

@@ -1,4 +1,3 @@
switch_srcdir=../../../..
LDAP=openldap-2.3.19
@@ -15,9 +14,10 @@ LOCAL_LIBADD=$(LDAPLA) $(LIBLBERLA)
include $(switch_srcdir)/build/modmake.rules
$(LDAP_DIR)/Makefile:
$(LDAP_DIR):
$(GETLIB) $(LDAP).tgz
cd $(LDAP_DIR) && ./configure $(DEFAULT_ARGS) --disable-bdb --disable-hdb
$(LDAPLA) $(LIBLBERLA): $(LDAP_DIR)/Makefile $(LDAP_DIR)/stamp-h
$(LDAPLA) $(LIBLBERLA): $(LDAP_DIR)
cd $(LDAP_DIR) && $(MAKE)
$(TOUCH_TARGET)