summaryrefslogtreecommitdiff
path: root/pjsip/build/Makefile
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-14 15:20:00 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-14 15:20:00 +0000
commit08d0de3ade0e6866aa3c09ffcc028d25233fe179 (patch)
tree92cf24c5c1d1a97bc749dd3b6e345ab4e4e43c1e /pjsip/build/Makefile
parent8fe835ee6304768e39a285c878e9d3c0fe3b8957 (diff)
Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/build/Makefile')
-rw-r--r--pjsip/build/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pjsip/build/Makefile b/pjsip/build/Makefile
index 15ed0fb9..24755553 100644
--- a/pjsip/build/Makefile
+++ b/pjsip/build/Makefile
@@ -1,3 +1,8 @@
+# For common OSes, test's main() is defined in main.c.
+# OS specific configuration may want to put it in different file.
+# For example, see os-rtems.mak in current directory.
+export TEST_OBJS = main.o
+
include ../../build/common.mak
RULES_MAK := ../../build/rules.mak
@@ -87,7 +92,6 @@ export TEST_OBJS += dlg_core_test.o msg_err_test.o msg_logger.o msg_test.o \
transport_test.o transport_udp_test.o \
tsx_basic_test.o tsx_bench.o tsx_uac_test.o \
tsx_uas_test.o txdata_test.o uri_test.o
-export TEST_OBJS += main.o
export TEST_CFLAGS += $(_CFLAGS)
export TEST_LDFLAGS += $(_LDFLAGS)
export TEST_EXE := ../bin/pjsip-test-$(TARGET_NAME)$(HOST_EXE)