blob: 934c8898115cdb04d2cbd654180b3b04f77f1553 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001#
2# OS specific configuration for Linux Kernel module 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 += compat/sigjmp.o compat/setjmp_i386.o \
11 compat/longjmp_i386.o compat/string.o \
12 addr_resolv_linux_kernel.o \
13 guid_simple.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
19
20# For IOQueue, we can use either epoll or select
21export PJLIB_OBJS += ioqueue_epoll.o
22#export PJLIB_OBJS += ioqueue_select.o
23
24#
25# TEST_OBJS are operating system specific object files to be included in
26# the test application.
27#
28export TEST_OBJS += main_mod.o
29
30#
31# Additional CFLAGS
32#
33export TEST_CFLAGS += -msoft-float
34
35#
36# Additional LD_FLAGS for this target.
37#
38export TEST_LDFLAGS += -lgcc
39
40
41#
42# TARGETS are make targets in the Makefile, to be executed for this given
43# operating system.
44#
45export TARGETS := ../lib/pjlib.ko ../lib/pjlib-test.ko
46
47