blob: 30a81f9bfc491f5ea01e2218210e4c62258f01d4 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001#
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#
9# PJLIB_OBJS specified here are object files to be included in PJLIB
10# (the library) for this specific operating system. Object files common
11# to all operating systems should go in Makefile instead.
12#
13export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \
14 log_writer_stdout.o os_core_unix.o \
15 os_error_unix.o os_time_unix.o \
16 os_timestamp_common.o os_timestamp_posix.o \
17 pool_policy_malloc.o sock_bsd.o sock_select.o
18
19export PJLIB_OBJS += ioqueue_select.o
20export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o
21
22#
23# TEST_OBJS are operating system specific object files to be included in
24# the test application.
25#
26export TEST_OBJS += main_rtems.o
27
28#
29# RTEMS_LIBRARY_PATH points to the installed RTEMS libraries for the
30# desired target. pjlib-test can't link without this.
31#
32export RTEMS_LIBRARY_PATH := $(RTEMS_LIBRARY_PATH)
33
34#
35# Additional LDFLAGS for pjlib-test
36#
37export TEST_LDFLAGS +=
38
39#
40# TARGETS are make targets in the Makefile, to be executed for this given
41# operating system.
42#
Alexandre Lision8af73cb2013-12-10 14:11:20 -050043export TARGETS = $(PJLIB_LIB) $(TEST_EXE)
Tristan Matthews0a329cc2013-07-17 13:20:14 -040044
45
46