Makefile.am 1.34 KB
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