Changeset 241 for pjproject/trunk/pjsip/build
- Timestamp:
- Feb 27, 2006 12:40:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/build/Makefile
r198 r241 11 11 export PJSIP_UA_LIB:=../lib/libpjsip-ua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 12 12 export PJSIP_SIMPLE_LIB:=../lib/libpjsip-simple-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 13 export PJSUA_LIB_LIB=../lib/libpjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 13 14 14 15 … … 21 22 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 22 23 $(HOST_CXXFLAGS) $(CXXFLAGS) 23 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 24 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 25 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 24 26 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 25 27 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ … … 50 52 export PJSIP_UA_SRCDIR = ../src/pjsip-ua 51 53 export PJSIP_UA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 52 sip_inv.o sip_reg.o 54 sip_inv.o sip_reg.o sip_xfer.o 53 55 export PJSIP_UA_CFLAGS += $(_CFLAGS) 54 56 … … 64 66 65 67 ############################################################################### 68 # Defines for building PJSUA-LIB library 69 # 70 export PJSUA_LIB_SRCDIR = ../src/pjsua-lib 71 export PJSUA_LIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 72 pjsua_reg.o pjsua_call.o pjsua_pres.o pjsua_opt.o \ 73 pjsua_core.o 74 export PJSUA_LIB_CFLAGS += $(_CFLAGS) 75 76 77 ############################################################################### 66 78 # Defines for building PJSUA 67 79 # 68 80 export PJSUA_SRCDIR = ../src/pjsua 69 81 export PJSUA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 70 main.o pjsua_reg.o pjsua_inv.o pjsua_pres.o pjsua_opt.o \ 71 pjsua_core.o 82 main.o 72 83 export PJSUA_CFLAGS += $(_CFLAGS) 73 84 export PJSUA_LDFLAGS += $(_LDFLAGS) … … 81 92 # 82 93 # 83 TARGETS := pjsip pjsip-ua pjsip-simple pjsua 94 TARGETS := pjsip pjsip-ua pjsip-simple pjsua-lib pjsua 84 95 85 96 all: $(TARGETS) … … 91 102 distclean: realclean 92 103 93 .PHONY: dep depend pjsip pjsip-ua pjsua clean realclean distclean104 .PHONY: dep depend pjsip pjsip-ua pjsua-lib pjsua clean realclean distclean 94 105 95 106 pjsip: … … 102 113 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $(PJSIP_SIMPLE_LIB) 103 114 104 pjsua: $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) 115 pjsua-lib: 116 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $(PJSUA_LIB_LIB) 117 118 pjsua: $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) $(PJSUA_LIB_LIB) 105 119 $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE) 106 120 … … 120 134 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 121 135 136 .PHONY: ../lib/pjsua-lib.ko 137 ../lib/pjsua-lib.ko: 138 echo Making $@ 139 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 140 122 141 .PHONY: ../lib/pjsua.ko 123 142 ../lib/pjsua.ko: … … 128 147 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ 129 148 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 149 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ 130 150 $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ 131 151 @if test "$@" == "depend"; then \ 132 echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) ' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \152 echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB)' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ 133 153 fi 134 154
Note: See TracChangeset
for help on using the changeset viewer.