2
# OS specific configuration for Linux Kernel module target.
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.
10
export PJLIB_OBJS += compat/sigjmp.o compat/setjmp_i386.o \
11
compat/longjmp_i386.o compat/string.o \
12
addr_resolv_linux_kernel.o \
14
log_writer_printk.o pool_policy_kmalloc.o \
15
os_error_linux_kernel.o os_core_linux_kernel.o \
16
os_time_linux_kernel.o os_timestamp_common.o \
17
os_timestamp_linux_kernel.o \
18
sock_linux_kernel.o sock_select.o
20
# For IOQueue, we can use either epoll or select
21
export PJLIB_OBJS += ioqueue_epoll.o
22
#export PJLIB_OBJS += ioqueue_select.o
25
# TEST_OBJS are operating system specific object files to be included in
26
# the test application.
28
export TEST_OBJS += main_mod.o
33
export TEST_CFLAGS += -msoft-float
36
# Additional LD_FLAGS for this target.
38
export TEST_LDFLAGS += -lgcc
42
# TARGETS are make targets in the Makefile, to be executed for this given
45
export TARGETS := ../lib/pjlib.ko ../lib/pjlib-test.ko