blob: 78123efdd3a7353ab7c4dfaf068f6b862dae4cb1 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001#
2# OS specific configuration for Linux OS target.
3#
4
5#
6# PJLIB_OBJS specified here are object files to be included in PJLIB
7# (the library) for this specific operating system. Object files common
8# to all operating systems should go in Makefile instead.
9#
10export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \
11 file_io_ansi.o guid_simple.o \
12 log_writer_stdout.o os_core_unix.o \
13 os_error_unix.o os_time_unix.o \
14 os_timestamp_common.o os_timestamp_posix.o \
15 pool_policy_malloc.o sock_bsd.o sock_select.o
16
17ifeq (epoll,$(LINUX_POLL))
18export PJLIB_OBJS += ioqueue_epoll.o
19else
20export PJLIB_OBJS += ioqueue_select.o
21endif
22
23#
24# TEST_OBJS are operating system specific object files to be included in
25# the test application.
26#
27export TEST_OBJS += main.o
28
29#
30# Additional LDFLAGS for pjlib-test
31#
32export TEST_LDFLAGS += -lm
33
34#
35# TARGETS are make targets in the Makefile, to be executed for this given
36# operating system.
37#
Alexandre Lision8af73cb2013-12-10 14:11:20 -050038export TARGETS = $(PJLIB_LIB) $(PJLIB_SONAME) $(TEST_EXE)
Tristan Matthews0a329cc2013-07-17 13:20:14 -040039