[go: up one dir, main page]

Menu

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

Download this file

50 lines (35 with data), 1.2 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
SUBDIRS = . tools
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = liblo.def
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
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
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
test: all
./testlo
./test_bidirectional_tcp
memtest: all
LD_LIBRARY_PATH=.libs valgrind --tool=memcheck .libs/testlo