os-rtems.mak 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # PJLIB OS specific configuration for RTEMS
  3. #
  4. # Thanks Zetron, Inc. and Phil Torre <ptorre@zetron.com> for donating PJLIB
  5. # port to RTEMS.
  6. #
  7. #
  8. # PJLIB_OBJS specified here are object files to be included in PJLIB
  9. # (the library) for this specific operating system. Object files common
  10. # to all operating systems should go in Makefile instead.
  11. #
  12. export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \
  13. log_writer_stdout.o os_core_unix.o \
  14. os_error_unix.o os_time_unix.o \
  15. os_timestamp_common.o os_timestamp_posix.o \
  16. pool_policy_malloc.o sock_bsd.o sock_select.o
  17. export PJLIB_OBJS += ioqueue_select.o
  18. export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o
  19. export PJLIB_OBJS += sock_qos_bsd.o
  20. #
  21. # TEST_OBJS are operating system specific object files to be included in
  22. # the test application.
  23. #
  24. export TEST_OBJS += main_rtems.o
  25. #
  26. # RTEMS_LIBRARY_PATH points to the installed RTEMS libraries for the
  27. # desired target. pjlib-test can't link without this.
  28. #
  29. export RTEMS_LIBRARY_PATH := $(RTEMS_LIBRARY_PATH)
  30. #
  31. # Additional LDFLAGS for pjlib-test
  32. #
  33. export TEST_LDFLAGS +=
  34. #
  35. # TARGETS are make targets in the Makefile, to be executed for this given
  36. # operating system.
  37. #
  38. export TARGETS = $(PJLIB_LIB) $(TEST_EXE)