summaryrefslogtreecommitdiff
path: root/pjlib/build/os-linux-kernel.mak
blob: 28cfbc79601eca4c20f323edf778cbb2ef488cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# OS specific configuration for Linux Kernel module target. 
#

#
# PJLIB_OBJS specified here are object files to be included in PJLIB
# (the library) for this specific operating system. Object files common 
# to all operating systems should go in Makefile instead.
#
export PJLIB_OBJS +=	compat/sigjmp.o compat/setjmp_i386.o \
			compat/longjmp_i386.o compat/string.o \
			addr_resolv_linux_kernel.o \
			guid_simple.o \
			log_writer_printk.o pool_policy_kmalloc.o \
			os_error_linux_kernel.o os_core_linux_kernel.o \
			os_time_linux_kernel.o os_timestamp_common.o \
			os_timestamp_linux_kernel.o \
			sock_linux_kernel.o sock_select.o

# For IOQueue, we can use either epoll or select
export PJLIB_OBJS +=	ioqueue_epoll.o 
#export PJLIB_OBJS +=	ioqueue_select.o 

#
# TEST_OBJS are operating system specific object files to be included in
# the test application.
#
export TEST_OBJS +=	main_mod.o

#
# Additional CFLAGS
#
export TEST_CFLAGS += -msoft-float

#
# Additional LD_FLAGS for this target.
#
export TEST_LDFLAGS += -lgcc


#
# TARGETS are make targets in the Makefile, to be executed for this given
# operating system.
#
export TARGETS :=	pjlib.ko pjlib-test.ko