Changeset 4705
- Timestamp:
- Jan 16, 2014 6:33:19 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.mak.in
r4704 r4705 224 224 export PJSIP_UA_LDLIB := -lpjsip-ua-$(TARGET_NAME) 225 225 export PJSUA_LIB_LDLIB := -lpjsua-$(TARGET_NAME) 226 export PJSUA2_LIB_LDLIB := -lpjsua2-$(TARGET_NAME) 226 227 else 227 228 export PJLIB_LDLIB := -lpj … … 236 237 export PJSIP_UA_LDLIB := -lpjsip-ua 237 238 export PJSUA_LIB_LDLIB := -lpjsua 239 export PJSUA2_LIB_LDLIB := -lpjsua2 238 240 239 241 APP_LIB_FILES += $(PJ_DIR)/pjsip/lib/libpjsua.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsua.$(SHLIB_SUFFIX) \ … … 250 252 endif 251 253 252 export APP_LDLIBS := $(PJSUA_LIB_LDLIB) \ 254 export APP_LDLIBS := $(PJSUA2_LIB_LDLIB) \ 255 $(PJSUA_LIB_LDLIB) \ 253 256 $(PJSIP_UA_LDLIB) \ 254 257 $(PJSIP_SIMPLE_LDLIB) \ -
pjproject/trunk/pjsip-apps/build/Samples.mak
r4704 r4705 30 30 pjsip-perf \ 31 31 pcaputil \ 32 pjsua2_demo \ 32 33 playfile \ 33 34 playsine \ … … 49 50 EXES := $(foreach file, $(SAMPLES), $(file)$(HOST_EXE)) 50 51 51 PJSUA2_SAMPLES := pjsua2_demo 52 .PHONY: $(EXES) 52 53 53 PJSUA2_EXES := $(foreach file, $(PJSUA2_SAMPLES), $(file)$(HOST_EXE)) 54 55 .PHONY: $(EXES) 56 .PHONY: $(PJSUA2_EXES) 57 58 all: $(EXES) $(PJSUA2_EXES) 54 all: $(EXES) 59 55 60 56 $(EXES): 61 $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS)" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 62 63 $(PJSUA2_EXES): 64 $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS) -lstdc++" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 57 $(MAKE) --no-print-directory -f $(RULES_MAK) SAMPLE_SRCDIR=$(SRCDIR) SAMPLE_OBJS=$@.o SAMPLE_CFLAGS="$(_CFLAGS)" SAMPLE_CXXFLAGS="$(_CXXFLAGS)" SAMPLE_LDFLAGS="$(_LDFLAGS) -lstdc++" SAMPLE_EXE=$@ APP=SAMPLE app=sample $(subst /,$(HOST_PSEP),$(BINDIR)/$@) 65 58 66 59 depend: -
pjproject/trunk/pjsip/build/Makefile
r4704 r4705 245 245 $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $(subst /,$(HOST_PSEP),$(LIBDIR)/$@) 246 246 247 pjsua2-lib: $(PJSUA2_LIB_LIB) 248 $(PJSUA2_LIB_SONAME): $(PJSUA2_LIB_LIB) 249 $(PJSUA2_LIB_LIB) $(PJSUA2_LIB_SONAME): $(PJSUA_LIB) $(PSJUA_LIB_SONAME) $(PJSIP_LIB) $(PJSIP_SONAME) $(PJSIP_SIMPLE_LIB) $(PJSIP_SIMPLE_SONAME) $(PJSIP_UA_LIB) $(PJSIP_UA_SONAME) 250 $(MAKE) -f $(RULES_MAK) APP=PJSUA2_LIB app=pjsua2-lib $(subst /,$(HOST_PSEP),$(LIBDIR)/$@) 251 247 252 pjsip-test: $(TEST_EXE) 248 253 $(TEST_EXE): $(PJSIP_LIB) $(PJSIP_SONAME)
Note: See TracChangeset
for help on using the changeset viewer.