-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.targets
More file actions
83 lines (72 loc) · 1.98 KB
/
Makefile.targets
File metadata and controls
83 lines (72 loc) · 1.98 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
libtscb_HEADERS = \
tscb/childproc-monitor.h \
tscb/connection.h \
tscb/ioready.h \
tscb/ioready-epoll.h \
tscb/ioready-kqueue.h \
tscb/ioready-poll.h \
tscb/ioready-select.h \
tscb/reactor-service.h \
tscb/reactor.h \
tscb/signal.h \
tscb/timer.h \
tscb/workqueue.h \
tscb/detail/deferred-locks.h \
tscb/detail/eventflag.h \
tscb/detail/fd-handler-table.h \
tscb/detail/intrusive-list.h \
tscb/detail/intrusive-ptr.h \
libtscb_SOURCES = \
tscb/childproc-monitor.cc \
tscb/connection.cc \
tscb/ioready.cc \
tscb/reactor-service.cc \
tscb/reactor.cc \
tscb/signal.cc \
tscb/timer.cc \
tscb/workqueue.cc \
tscb/detail/deferred-locks.cc \
tscb/detail/eventflag.cc \
tscb/detail/fd-handler-table.cc \
libtscb_TESTS = \
tscb/childproc-monitor_test \
tscb/connection_test \
tscb/reactor-dispatch_test \
tscb/signal_test \
tscb/timer_test \
tscb/workqueue_test \
tscb/detail/deferred-locks_test \
tscb/detail/eventflag_test \
tscb/detail/fd-handler-table_test \
tscb/detail/intrusive-list_test \
libtscb_VERSION=$(VERSION)
libtscb_SOVERSION=$(basename $(basename $(VERSION)))
PKGCONFIG_FILES = \
libtscb.pc
ifeq ($(DISPATCHER_POLL), yes)
libtscb_SOURCES += tscb/ioready-poll.cc
libtscb_HEADERS += tscb/ioready-poll.h
libtscb_TESTS += tscb/ioready-poll_test
endif
ifeq ($(DISPATCHER_SELECT), yes)
libtscb_SOURCES += tscb/ioready-select.cc
libtscb_HEADERS += tscb/ioready-select.h
libtscb_TESTS += tscb/ioready-select_test
endif
ifeq ($(DISPATCHER_EPOLL), yes)
libtscb_SOURCES += tscb/ioready-epoll.cc
libtscb_HEADERS += tscb/ioready-epoll.h
libtscb_TESTS += tscb/ioready-epoll_test
endif
ifeq ($(DISPATCHER_KQUEUE), yes)
libtscb_SOURCES += tscb/ioready-kqueue.cc
libtscb_HEADERS += tscb/ioready-kqueue.h
libtscb_TESTS += tscb/ioready-kqueue_test
endif
ifeq ($(INOTIFY), yes)
libtscb_SOURCES += tscb/inotify-service.cc tscb/inotify.cc
libtscb_HEADERS += tscb/inotify-service.h tscb/inotify.h
libtscb_TESTS += tscb/inotify_test
endif
default: all
$(eval $(call common_library,libtscb))