Makefile.am
1.34 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
LTLIBS = $(INTLLIBS) @SOCK_LIB@
LIBS = $(INTLLIBS) @SOCK_LIB@
PROGS = scot_test list_test exc_test
#PROGS = scot_test list_test exc_test
INCLUDES = -I../include @INOTIFY_INCLUDES@
if USE_THREADS
PROGS += exc_thr_test
endif
if !WIN32
PROGS += unx_socket_serv unx_socket_clie fs_events \
tcp_socket_serv tcp_socket_clie \
multiserv
endif
bin_PROGRAMS = $(PROGS)
scot_test_SOURCES = scot_test.c
scot_test_LDADD = -L"../src" -lscot
list_test_SOURCES = list_test.c
list_test_LDADD = -L"../src" -lscot
exc_test_SOURCES = exc_test.c
exc_test_LDADD = -L"../src" -lscot
unx_socket_serv_SOURCES = unx_socket_serv.c
unx_socket_serv_LDADD = -L"../src" -lscot
unx_socket_clie_SOURCES = unx_socket_clie.c
unx_socket_clie_LDADD = -L"../src" -lscot
tcp_socket_serv_SOURCES = tcp_socket_serv.c
tcp_socket_serv_LDADD = -L"../src" -lscot
tcp_socket_clie_SOURCES = tcp_socket_clie.c
tcp_socket_clie_LDADD = -L"../src" -lscot
if USE_THREADS
if USE_INOTIFY
fs_events_SOURCES = fs_events.c
fs_events_LDADD = -L"../src" -lscot @THREAD_LIB@
fs_events_CFLAGS = @THREAD_CFLAGS@ -DUSE_THREADS
endif
multiserv_SOURCES = multiserv.c
multiserv_LDADD = -L"../src" -lscot @THREAD_LIB@
multiserv_CFLAGS = @THREAD_CFLAGS@ -DUSE_THREADS
exc_thr_test_SOURCES = exc_test.c
exc_thr_test_LDADD = -L"../src" -lscot @THREAD_LIB@
exc_thr_test_CFLAGS = @THREAD_CFLAGS@ -DUSE_THREADS
endif