- Timestamp:
- Mar 20, 2006 4:59:23 PM (19 years ago)
- Location:
- pjproject/trunk/pjsip-apps
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/Makefile
r320 r342 62 62 # 63 63 # 64 TARGETS := pjsua pjsip-perf 64 TARGETS := pjsua pjsip-perf samples 65 65 66 66 .PHONY: $(TARGETS) … … 82 82 $(MAKE) -f $(RULES_MAK) APP=PJSIPPERF app=pjsip-perf $(PJSUA_EXE) 83 83 84 samples: 85 $(MAKE) -f Samples.mak 84 86 85 87 .PHONY: ../lib/pjsua.ko … … 90 92 $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ 91 93 $(MAKE) -f $(RULES_MAK) APP=PJSIPPERF app=pjsip-perf $@ 94 $(MAKE) -f Samples.mak $@ 92 95 @if test "$@" == "depend"; then \ 93 96 echo '$(PJSUA_EXE): $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE) $(PJSUA_LIB_LIB) $(PJLIB_LIB) $(PJLIB_UTIL_LIB) $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) Makefile' >> .pjsua-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend; \ -
pjproject/trunk/pjsip-apps/build/Samples-vc.mak
r336 r342 39 39 40 40 SAMPLES = $(BINDIR)\simpleua.exe $(BINDIR)\playfile.exe $(BINDIR)\playsine.exe \ 41 $(BINDIR)\confsample.exe 41 $(BINDIR)\confsample.exe $(BINDIR)\sndinfo.exe 42 42 43 43 all: $(OBJDIR) $(SAMPLES) -
pjproject/trunk/pjsip-apps/build/Samples.mak
r328 r342 20 20 export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ 21 21 $(HOST_CXXFLAGS) $(CXXFLAGS) 22 export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 23 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 24 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 25 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 26 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 27 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 28 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 29 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ 22 23 export LIBS := $(subst /,$(HOST_PSEP),$(PJSUA_LIB_LIB)) \ 24 $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \ 25 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 26 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 27 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 28 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 29 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 30 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) 31 32 33 export _LDFLAGS := $(LIBS) \ 30 34 $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ 31 35 $(LDFLAGS) -lm … … 38 42 LDFLAGS = $(_LDFLAGS) 39 43 40 SAMPLES := simpleua 44 SAMPLES := simpleua playfile playsine confsample sndinfo 45 41 46 EXES := $(foreach file, $(SAMPLES), $(BINDIR)/$(file)-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE)) 42 47 43 48 all: $(OBJDIR) $(EXES) 44 49 45 $(BINDIR)/%-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) 50 $(BINDIR)/%-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME)$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) $(LIBS) 46 51 $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$@) \ 47 52 $(subst /,$(HOST_PSEP),$<) \ … … 56 61 $(subst @@,$(subst /,$(HOST_PSEP),$@),$(HOST_MKDIR)) 57 62 63 depend: 64 58 65 clean: 59 66 $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)/*),$(HOST_RMR)) 60 67 $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)),$(HOST_RMDIR)) 68 $(subst @@,$(EXES),$(HOST_RM)) 61 69 62 70 distclean realclean: clean 63 $(subst @@,$(EXES),$(HOST_RM))64 71 # $(subst @@,$(subst /,$(HOST_PSEP),$(EXES)) $(subst /,$(HOST_PSEP),$(EXES)),$(HOST_RM)) 65 72 # $(subst @@,$(DEP_FILE),$(HOST_RM)) -
pjproject/trunk/pjsip-apps/src/samples/playsine.c
r336 r342 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 20 #include <pjmedia.h>21 19 22 20 /*
Note: See TracChangeset
for help on using the changeset viewer.