From 4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 20 Mar 2006 12:39:24 +0000 Subject: Ported pjlib to PowerPC/MacOS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/build/Makefile | 2 +- pjlib/build/os-darwinos.mak | 37 +++++++++++++++++++++++++++++++++++++ pjlib/build/os-linux.mak | 2 +- pjlib/build/os-sunos.mak | 2 +- 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 pjlib/build/os-darwinos.mak (limited to 'pjlib/build') diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile index 54f71bca..0faadc15 100644 --- a/pjlib/build/Makefile +++ b/pjlib/build/Makefile @@ -22,7 +22,7 @@ export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ export PJLIB_SRCDIR = ../src/pj export PJLIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ array.o config.o ctype.o errno.o except.o fifobuf.o guid.o \ - hash.o list.o lock.o log.o \ + hash.o list.o lock.o log.o os_time_common.o \ pool.o pool_caching.o rand.o \ rbtree.o string.o timer.o \ types.o symbols.o diff --git a/pjlib/build/os-darwinos.mak b/pjlib/build/os-darwinos.mak new file mode 100644 index 00000000..fe1940ac --- /dev/null +++ b/pjlib/build/os-darwinos.mak @@ -0,0 +1,37 @@ +# +# PJLIB OS specific configuration for Darwin/MacOSX target. +# + +# +# PJLIB_OBJS specified here are object files to be included in PJLIB +# (the library) for this specific operating system. Object files common +# to all operating systems should go in Makefile instead. +# +export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ + log_writer_stdout.o os_core_unix.o \ + os_error_unix.o os_time_unix.o \ + os_timestamp_common.o os_timestamp_linux.o \ + pool_policy_malloc.o sock_bsd.o sock_select.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. +# +export TEST_OBJS += main.o + +# +# Additional LDFLAGS for pjlib-test +# +export TEST_LDFLAGS += -lm + +# +# TARGETS are make targets in the Makefile, to be executed for this given +# operating system. +# +export TARGETS = pjlib pjlib-test + diff --git a/pjlib/build/os-linux.mak b/pjlib/build/os-linux.mak index 80801edf..568d1a18 100644 --- a/pjlib/build/os-linux.mak +++ b/pjlib/build/os-linux.mak @@ -9,7 +9,7 @@ # export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_ansi.o \ + os_error_unix.o os_time_unix.o \ os_timestamp_common.o os_timestamp_linux.o \ os_time_ansi.o \ pool_policy_malloc.o sock_bsd.o sock_select.o diff --git a/pjlib/build/os-sunos.mak b/pjlib/build/os-sunos.mak index 81ab64da..22931059 100644 --- a/pjlib/build/os-sunos.mak +++ b/pjlib/build/os-sunos.mak @@ -9,7 +9,7 @@ # export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_ansi.o \ + os_error_unix.o os_time_unix.o \ os_timestamp_common.o os_timestamp_linux.o \ os_time_ansi.o \ pool_policy_malloc.o sock_bsd.o sock_select.o -- cgit v1.2.3