summaryrefslogtreecommitdiff
path: root/pjlib/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-20 12:39:24 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-20 12:39:24 +0000
commit4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 (patch)
tree6962fbb65104c67247593d23ba204a4570533924 /pjlib/build
parentb54b2fc579bb9d1faa95f01d6e211b7cfed0e1bb (diff)
Ported pjlib to PowerPC/MacOS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/build')
-rw-r--r--pjlib/build/Makefile2
-rw-r--r--pjlib/build/os-darwinos.mak37
-rw-r--r--pjlib/build/os-linux.mak2
-rw-r--r--pjlib/build/os-sunos.mak2
4 files changed, 40 insertions, 3 deletions
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