don't re-run openmrcp confgure/bootstrap if we don't have to

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7693 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-02-19 02:33:18 +00:00
parent f0e47bb13e
commit 4ceee47121
1 changed files with 5 additions and 3 deletions

View File

@ -27,11 +27,13 @@ SOFIALA=$(SOFIAUA_DIR)/libsofia-sip-ua.la
include ../../../../build/modmake.rules
$(OPENMRCP_DIR)/.built: $(OPENMRCP_DIR)/.update
$(OPENMRCP_DIR)/Makefile: $(OPENMRCP_DIR)/.update
cd $(OPENMRCP_DIR) && ./bootstrap && ./configure --with-apr=../apr --with-apr-util=../apr-util --with-sofia-sip=../sofia-sip
cd $(OPENMRCP_DIR) && $(MAKE) && touch .built
$(TOUCH_TARGET)
$(OPENMRCP_LIBS): $(SOFIALA) $(OPENMRCP_DIR)/.built
$(OPENMRCP_LIBS): $(SOFIALA) $(OPENMRCP_DIR)/Makefile
cd $(OPENMRCP_DIR) && $(MAKE)
$(TOUCH_TARGET)
$(SOFIALA): $(SOFIA_DIR) $(SOFIA_DIR)/.update
cd $(SOFIA_DIR) && $(MAKE)