diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-27 23:55:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-27 23:55:22 +0000 |
commit | 1a589dca749fa1dd5864efa68b60f6e3ef9978a6 (patch) | |
tree | 8f2bdb37c5e320cfb411253f40a0efecbf4e8f3c /pjsip/build | |
parent | e0da93da2f05d4ce4e3ed68618f74c94a4d0defc (diff) |
Fixed Makefile to adhere library dependencies
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@249 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/build')
-rw-r--r-- | pjsip/build/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pjsip/build/Makefile b/pjsip/build/Makefile index 5f9a278a..fa0a7e28 100644 --- a/pjsip/build/Makefile +++ b/pjsip/build/Makefile @@ -93,6 +93,8 @@ export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT # TARGETS := pjsip pjsip-ua pjsip-simple pjsua-lib pjsua +.PHONY: $(TARGETS) + all: $(TARGETS) doc: @@ -112,10 +114,10 @@ pjsip-ua: pjsip-simple: $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $(PJSIP_SIMPLE_LIB) -pjsua-lib: +pjsua-lib: $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $(PJSUA_LIB_LIB) -pjsua: $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) $(PJSUA_LIB_LIB) +pjsua: $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE) .PHONY: ../lib/pjsip.ko @@ -149,7 +151,7 @@ clean depend realclean: $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ @if test "$@" == "depend"; then \ - echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB)' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ + echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB)' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ fi |