1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
20 gnunet-service-lockmanager
23 libgnunetlockmanager.la
25 gnunet_service_lockmanager_SOURCES = \
26 gnunet-service-lockmanager.c \
28 gnunet_service_lockmanager_LDADD = \
29 $(top_builddir)/src/util/libgnunetutil.la
30 gnunet_service_lockmanager_DEPENDENCIES = \
31 $(top_builddir)/src/util/libgnunetutil.la
33 libgnunetlockmanager_la_SOURCES = \
34 lockmanager_api.c lockmanager.h
35 libgnunetlockmanager_la_LIBADD = \
36 $(top_builddir)/src/util/libgnunetutil.la \
39 libgnunetlockmanager_la_LDFLAGS = \
40 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
45 test_lockmanager_api \
46 test_lockmanager_api_lockrelease \
47 test_lockmanager_api_servercrash \
48 test_lockmanager_api_acquireretry
52 test_lockmanager_api.conf
55 TESTS = $(check_PROGRAMS)
58 test_lockmanager_api_SOURCES = \
59 test_lockmanager_api.c
60 test_lockmanager_api_LDADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(top_builddir)/src/testing/libgnunettesting.la \
63 libgnunetlockmanager.la
65 test_lockmanager_api_lockrelease_SOURCES = \
66 test_lockmanager_api_lockrelease.c
67 test_lockmanager_api_lockrelease_LDADD = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 $(top_builddir)/src/testing/libgnunettesting.la \
70 libgnunetlockmanager.la
72 test_lockmanager_api_servercrash_SOURCES = \
73 test_lockmanager_api_servercrash.c
74 test_lockmanager_api_servercrash_LDADD = \
75 $(top_builddir)/src/util/libgnunetutil.la \
76 $(top_builddir)/src/testing/libgnunettesting.la \
77 libgnunetlockmanager.la
79 test_lockmanager_api_acquireretry_SOURCES = \
80 test_lockmanager_api_acquireretry.c
81 test_lockmanager_api_acquireretry_LDADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/testing/libgnunettesting.la \
84 libgnunetlockmanager.la