summaryrefslogtreecommitdiff
path: root/pjlib/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2005-11-07 18:14:08 +0000
committerBenny Prijono <bennylp@teluu.com>2005-11-07 18:14:08 +0000
commit8b3f0c56c5c885134f3865539a7257a7ebb90387 (patch)
tree0388183e5ca1c7973c0b830bdbd0bedd58a9c315 /pjlib/build
parente25a988d098a075f5519090c24237c3b97bc1323 (diff)
UDP echo testing in Linux
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@19 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/build')
-rw-r--r--pjlib/build/Makefile8
-rw-r--r--pjlib/build/os-linux.mak2
2 files changed, 6 insertions, 4 deletions
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile
index e6a1bd9f..4a0db783 100644
--- a/pjlib/build/Makefile
+++ b/pjlib/build/Makefile
@@ -84,13 +84,13 @@ export PJLIB_CFLAGS += $(_CFLAGS)
# Defines for building test application
#
export TEST_SRCDIR = ../src/pjlib-test
-export TEST_OBJS += atomic.o echo_clt.o echo_srv.o errno.o exception.o \
- fifobuf.o \
+export TEST_OBJS += atomic.o echo_clt.o errno.o exception.o \
+ fifobuf.o file.o \
ioq_perf.o ioq_udp.o ioq_tcp.o \
list.o mutex.o os.o pool.o pool_perf.o rand.o rbtree.o \
select.o sleep.o sock.o sock_perf.o \
string.o test.o thread.o timer.o timestamp.o \
- udp_echo_srv_sync.o \
+ udp_echo_srv_sync.o udp_echo_srv_ioqueue.o \
util.o xml.o
export TEST_CFLAGS += $(_CFLAGS)
export TEST_LDFLAGS += $(_LDFLAGS)
@@ -113,7 +113,7 @@ print:
$(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib print_lib
$(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test print_bin
-depend:
+depend: ../include/pj/config_site.h
$(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib depend
$(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test depend
echo '$(TEST_EXE): $(PJLIB_LIB)' >> .pjlib-test-$(MACHINE_NAME)-$(OS_NAME)-$(CC_NAME).depend
diff --git a/pjlib/build/os-linux.mak b/pjlib/build/os-linux.mak
index ab220411..a705d4cd 100644
--- a/pjlib/build/os-linux.mak
+++ b/pjlib/build/os-linux.mak
@@ -17,6 +17,8 @@ export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \
#export PJLIB_OBJS += ioqueue_select.o
export PJLIB_OBJS += ioqueue_epoll.o
+export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o
+
#
# TEST_OBJS are operating system specific object files to be included in
# the test application.