[go: up one dir, main page]

Menu

[e97ff7]: / src / Makefile.am  Maximize  Restore  History

Download this file

58 lines (42 with data), 1.4 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
SUBDIRS = . tools
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = liblo.def.in
noinst_HEADERS = lo_types_internal.h lo_internal.h
SOURCE_FILES = address.c send.c message.c server.c method.c \
blob.c bundle.c timetag.c pattern_match.c version.c
if ENABLE_THREADS
SOURCE_FILES += server_thread.c
endif
lib_LTLIBRARIES = liblo.la
if WINDOWS_DLL
lt_windows = -no-undefined -export-symbols liblo.def
endif
liblo_la_CFLAGS = -Wall -I$(top_srcdir)
liblo_la_SOURCES = $(SOURCE_FILES)
liblo_la_LDFLAGS = $(lt_windows) -export-dynamic -version-info @LO_SO_VERSION@
# Test programs depend on server threads, so skip them if threads are
# disabled.
if ENABLE_THREADS
noinst_PROGRAMS = testlo subtest test_bidirectional_tcp
TESTS = testlo test_bidirectional_tcp
if HAVE_LAMBDA
noinst_PROGRAMS += cpp_test
TESTS += cpp_test
endif
endif
testlo_CFLAGS = -Wall -I$(top_srcdir)
testlo_SOURCES = testlo.c
testlo_LDADD = liblo.la
subtest_CFLAGS = -Wall -I$(top_srcdir)
subtest_SOURCES = subtest.c
subtest_LDADD = liblo.la
test_bidirectional_tcp_CFLAGS = -Wall -I$(top_srcdir)
test_bidirectional_tcp_SOURCES = test_bidirectional_tcp.c
test_bidirectional_tcp_LDADD = liblo.la
cpp_test_CXXFLAGS = -I$(top_srcdir)
cpp_test_SOURCES = cpp_test.cpp
cpp_test_LDADD = liblo.la
test: all
for i in $(TESTS); do echo Running $$i; if ! ./$$i; then exit 1; fi; done
memtest: all
LD_LIBRARY_PATH=.libs valgrind --tool=memcheck .libs/testlo