Changeset 241
- Timestamp:
- Feb 27, 2006 12:40:31 AM (19 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/build/Makefile
r198 r241 30 30 export PJMEDIA_SRCDIR = ../src/pjmedia 31 31 export PJMEDIA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 32 codec.o endpoint.o errno.o g711.o jbuf.o rtcp.o \ 33 rtp.o sdp.o sdp_cmp.o sdp_neg.o session.o stream.o \ 34 pasound.o \ 32 codec.o conference.o endpoint.o errno.o file_port.o \ 33 g711.o jbuf.o pasound.o port.o rtcp.o \ 34 rtp.o sdp.o sdp_cmp.o sdp_neg.o session.o silencedet.o \ 35 stream.o \ 35 36 $(PA_DIR)/pa_allocation.o \ 36 37 $(PA_DIR)/pa_converters.o \ … … 52 53 export PJMEDIA_CODEC_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 53 54 gsm.o pjmedia-codec-lib.o \ 54 gsm/add.o gsm/code.o gsm/de bug.o gsm/decode.o \55 gsm/add.o gsm/code.o gsm/decode.o \ 55 56 gsm/gsm_create.o gsm/gsm_decode.o gsm/gsm_destroy.o \ 56 57 gsm/gsm_encode.o gsm/gsm_explode.o gsm/gsm_implode.o \ 57 gsm/gsm_option.o gsm/ gsm_print.o gsm/long_term.o \58 gsm/gsm_option.o gsm/long_term.o \ 58 59 gsm/lpc.o gsm/preprocess.o gsm/rpe.o gsm/short_term.o \ 59 60 gsm/table.o -
pjproject/trunk/pjmedia/src/pjmedia-codec/gsm/config.h
r198 r241 10 10 #define CONFIG_H 11 11 12 /*efine SIGHANDLER_T int // * signal handlers are void */13 /*efine HAS_SYSV_SIGNAL 1 // * sigs not blocked/reset? */12 /*efine SIGHANDLER_T int // * signal handlers are void */ 13 /*efine HAS_SYSV_SIGNAL 1 // * sigs not blocked/reset? */ 14 14 15 15 #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ 16 /*efine HAS_LIMITS_H 1 // * /usr/include/limits.h */16 /*efine HAS_LIMITS_H 1 // * /usr/include/limits.h */ 17 17 #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ 18 /*efine HAS_ERRNO_DECL 1 // * errno.h declares errno */18 /*efine HAS_ERRNO_DECL 1 // * errno.h declares errno */ 19 19 20 20 #define HAS_FSTAT 1 /* fstat syscall */ … … 23 23 #define HAS_FCHOWN 1 /* fchown syscall */ 24 24 #define HAS_CHOWN 1 /* chown syscall */ 25 /*efine HAS__FSETMODE 1 // * _fsetmode -- set file mode */25 /*efine HAS__FSETMODE 1 // * _fsetmode -- set file mode */ 26 26 27 27 #define HAS_STRING_H 1 /* /usr/include/string.h */ 28 /*efine HAS_STRINGS_H 1 // * /usr/include/strings.h */28 /*efine HAS_STRINGS_H 1 // * /usr/include/strings.h */ 29 29 30 30 #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ 31 31 #define HAS_UTIME 1 /* POSIX utime(path, times) */ 32 /*efine HAS_UTIMES 1 // * use utimes() syscall instead */32 /*efine HAS_UTIMES 1 // * use utimes() syscall instead */ 33 33 #define HAS_UTIME_H 1 /* UTIME header file */ 34 /*efine HAS_UTIMBUF 1 // * struct utimbuf */35 /*efine HAS_UTIMEUSEC 1 // * microseconds in utimbuf? */34 /*efine HAS_UTIMBUF 1 // * struct utimbuf */ 35 /*efine HAS_UTIMEUSEC 1 // * microseconds in utimbuf? */ 36 36 37 37 -
pjproject/trunk/pjmedia/src/pjmedia/file_port.c
r222 r241 44 44 pjmedia_frame *frame); 45 45 static pj_status_t file_on_destroy(pjmedia_port *this_port); 46 static pj_status_t read_buffer(struct file_port *port);47 46 48 47 static struct file_port *create_file_port(pj_pool_t *pool) -
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 -
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r230 r241 1115 1115 { 1116 1116 pj_status_t status; 1117 pjmedia_sdp_session *sdp = NULL;1117 const pjmedia_sdp_session *sdp = NULL; 1118 1118 1119 1119 /* If local_sdp is specified, then we MUST NOT have answered the -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r238 r241 854 854 ", stream #%d: %.*s (%s)", i, 855 855 (int)strm_info->fmt.encoding_name.slen, 856 (int)strm_info->fmt.encoding_name.ptr,856 strm_info->fmt.encoding_name.ptr, 857 857 dir); 858 858 if (len > 0)
Note: See TracChangeset
for help on using the changeset viewer.