summaryrefslogtreecommitdiff
path: root/pjlib/build/os-darwinos.mak
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/build/os-darwinos.mak')
-rw-r--r--pjlib/build/os-darwinos.mak37
1 files changed, 37 insertions, 0 deletions
diff --git a/pjlib/build/os-darwinos.mak b/pjlib/build/os-darwinos.mak
new file mode 100644
index 0000000..ee83dec
--- /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_posix.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
+