os-darwinos.mak 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # PJLIB OS specific configuration for Darwin/MacOSX target.
  3. #
  4. #
  5. # PJLIB_OBJS specified here are object files to be included in PJLIB
  6. # (the library) for this specific operating system. Object files common
  7. # to all operating systems should go in Makefile instead.
  8. #
  9. export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \
  10. log_writer_stdout.o os_core_unix.o \
  11. os_error_unix.o os_time_unix.o \
  12. os_timestamp_common.o os_timestamp_posix.o \
  13. pool_policy_malloc.o sock_bsd.o sock_select.o
  14. export PJLIB_OBJS += ioqueue_select.o
  15. #export PJLIB_OBJS += ioqueue_epoll.o
  16. export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o
  17. export PJLIB_OBJS += sock_qos_darwin.o
  18. #
  19. # TEST_OBJS are operating system specific object files to be included in
  20. # the test application.
  21. #
  22. export TEST_OBJS += main.o
  23. #
  24. # Additional LDFLAGS for pjlib-test
  25. #
  26. export TEST_LDFLAGS += -lm
  27. #
  28. # TARGETS are make targets in the Makefile, to be executed for this given
  29. # operating system.
  30. #
  31. export TARGETS = $(PJLIB_LIB) $(PJLIB_SONAME) $(TEST_EXE)