Benny Prijono | dd859a6 | 2005-11-01 16:42:51 +0000 | [diff] [blame] | 1 | # |
| 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 | # |
Benny Prijono | dcf2996 | 2006-03-23 18:03:40 +0000 | [diff] [blame] | 10 | export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \ |
| 11 | file_io_ansi.o guid_simple.o \ |
Benny Prijono | dd859a6 | 2005-11-01 16:42:51 +0000 | [diff] [blame] | 12 | log_writer_stdout.o os_core_unix.o \ |
Benny Prijono | e67d99a | 2006-03-20 12:39:24 +0000 | [diff] [blame] | 13 | os_error_unix.o os_time_unix.o \ |
Benny Prijono | 0c38bad | 2006-05-16 12:33:52 +0000 | [diff] [blame] | 14 | os_timestamp_common.o os_timestamp_posix.o \ |
Benny Prijono | dd859a6 | 2005-11-01 16:42:51 +0000 | [diff] [blame] | 15 | pool_policy_malloc.o sock_bsd.o sock_select.o |
| 16 | |
Benny Prijono | 1a73a05 | 2005-11-07 21:58:51 +0000 | [diff] [blame] | 17 | ifeq (epoll,$(LINUX_POLL)) |
Benny Prijono | bc98615 | 2005-11-06 16:50:38 +0000 | [diff] [blame] | 18 | export PJLIB_OBJS += ioqueue_epoll.o |
Benny Prijono | 1a73a05 | 2005-11-07 21:58:51 +0000 | [diff] [blame] | 19 | else |
| 20 | export PJLIB_OBJS += ioqueue_select.o |
| 21 | endif |
Benny Prijono | dd859a6 | 2005-11-01 16:42:51 +0000 | [diff] [blame] | 22 | |
| 23 | # |
| 24 | # TEST_OBJS are operating system specific object files to be included in |
| 25 | # the test application. |
| 26 | # |
| 27 | export TEST_OBJS += main.o |
| 28 | |
| 29 | # |
| 30 | # Additional LDFLAGS for pjlib-test |
| 31 | # |
| 32 | export TEST_LDFLAGS += -lm |
| 33 | |
| 34 | # |
| 35 | # TARGETS are make targets in the Makefile, to be executed for this given |
| 36 | # operating system. |
| 37 | # |
| 38 | export TARGETS = pjlib pjlib-test |
| 39 | |