Changeset 198 for pjproject/trunk/pjsip/build
- Timestamp:
- Feb 19, 2006 2:24:27 AM (19 years ago)
- Location:
- pjproject/trunk/pjsip/build
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/build/Makefile
r173 r198 6 6 PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 7 7 PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 8 PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 8 9 9 10 export PJSIP_LIB:=../lib/libpjsip-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 10 11 export PJSIP_UA_LIB:=../lib/libpjsip-ua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 12 export PJSIP_SIMPLE_LIB:=../lib/libpjsip-simple-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(LIBEXT) 11 13 12 14 … … 20 22 $(HOST_CXXFLAGS) $(CXXFLAGS) 21 23 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 24 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 22 25 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 26 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 23 27 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 24 28 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 25 29 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ 26 30 $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 27 $(LDFLAGS) -lm 31 $(LDFLAGS) -lm -lwinmm 28 32 29 33 … … 51 55 52 56 ############################################################################### 57 # Defines for building PJSIP SIMPLE library 58 # 59 export PJSIP_SIMPLE_SRCDIR = ../src/pjsip-simple 60 export PJSIP_SIMPLE_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 61 errno.o evsub.o evsub_msg.o pidf.o presence.o xpidf.o 62 export PJSIP_SIMPLE_CFLAGS += $(_CFLAGS) 63 64 65 ############################################################################### 53 66 # Defines for building PJSUA 54 67 # 55 68 export PJSUA_SRCDIR = ../src/pjsua 56 69 export PJSUA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 57 main.o pjsua_reg.o pjsua_inv.o pjsua_core.o 70 main.o pjsua_reg.o pjsua_inv.o pjsua_pres.o pjsua_opt.o \ 71 pjsua_core.o 58 72 export PJSUA_CFLAGS += $(_CFLAGS) 59 73 export PJSUA_LDFLAGS += $(_LDFLAGS) … … 67 81 # 68 82 # 69 TARGETS := pjsip pjsip-ua pjs ua83 TARGETS := pjsip pjsip-ua pjsip-simple pjsua 70 84 71 85 all: $(TARGETS) … … 85 99 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $(PJSIP_UA_LIB) 86 100 87 pjsua: $(PJSIP_LIB) $(PJSIP_UA_LIB) 101 pjsip-simple: 102 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $(PJSIP_SIMPLE_LIB) 103 104 pjsua: $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) 88 105 $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE) 89 106 … … 98 115 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ 99 116 117 .PHONY: ../lib/pjsip-simple.ko 118 ../lib/pjsip-simple.ko: 119 echo Making $@ 120 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 121 100 122 .PHONY: ../lib/pjsua.ko 101 123 ../lib/pjsua.ko: … … 105 127 $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ 106 128 $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ 129 $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ 107 130 $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ 108 131 @if test "$@" == "depend"; then \ -
pjproject/trunk/pjsip/build/pjsip_simple.dsp
r197 r198 86 86 # Begin Source File 87 87 88 SOURCE="..\src\pjsip-simple\errno.c" 89 # End Source File 90 # Begin Source File 91 88 92 SOURCE="..\src\pjsip-simple\evsub.c" 89 93 # End Source File
Note: See TracChangeset
for help on using the changeset viewer.