summaryrefslogtreecommitdiff
path: root/pjsip-apps/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-11-08 03:35:41 +0000
committerBenny Prijono <bennylp@teluu.com>2009-11-08 03:35:41 +0000
commit8bb8512eb7e6e0883964c1f58750d80dd90c6e2d (patch)
treefa0d240e5253f82b3f5ef35eed4b0affc165c97a /pjsip-apps/build
parent5ad076e71b93972ac204bfae7749695f04e59ab0 (diff)
Misc (#951): some fixes for pjsystest application:
- added the missing build target on the Makefile build system - added alternative search path for the WAV files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2991 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/build')
-rw-r--r--pjsip-apps/build/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/pjsip-apps/build/Makefile b/pjsip-apps/build/Makefile
index 56e540fb..5c1684fa 100644
--- a/pjsip-apps/build/Makefile
+++ b/pjsip-apps/build/Makefile
@@ -39,12 +39,23 @@ export PJSUA_LDFLAGS += $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS)
export PJSUA_EXE:=../bin/pjsua-$(TARGET_NAME)$(HOST_EXE)
+###############################################################################
+# Defines for building pjsystest
+#
+export PJSYSTEST_SRCDIR = ../src/pjsystest
+export PJSYSTEST_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \
+ systest.o main_console.o
+export PJSYSTEST_CFLAGS += $(_CFLAGS)
+export PJSYSTEST_LDFLAGS += $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS)
+export PJSYSTEST_EXE:=../bin/pjsystest-$(TARGET_NAME)$(HOST_EXE)
+
+
export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT
###############################################################################
# Main entry
#
#
-TARGETS := pjsua samples
+TARGETS := pjsua pjsystest samples
.PHONY: $(TARGETS)
@@ -60,6 +71,9 @@ distclean: realclean
pjsua:
$(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE)
+pjsystest:
+ $(MAKE) -f $(RULES_MAK) APP=PJSYSTEST app=pjsystest $(PJSYSTEST_EXE)
+
samples:
$(MAKE) -f Samples.mak
@@ -72,6 +86,7 @@ clean depend realclean:
$(MAKE) -f Samples.mak $@
@if test "$@" = "depend"; then \
echo '$(PJSUA_EXE): $(APP_LIB_FILES)' >> .pjsua-$(TARGET_NAME).depend; \
+ echo '$(PJSYSTEST_EXE): $(APP_LIB_FILES)' >> .pjsystest-$(TARGET_NAME).depend; \
fi