diff options
Diffstat (limited to 'src/arm/Makefile.am')
-rw-r--r-- | src/arm/Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/arm/Makefile.am b/src/arm/Makefile.am new file mode 100644 index 000000000..65fa145ee --- /dev/null +++ b/src/arm/Makefile.am | |||
@@ -0,0 +1,58 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
9 | endif | ||
10 | |||
11 | lib_LTLIBRARIES = libgnunetarm.la | ||
12 | |||
13 | libgnunetarm_la_SOURCES = \ | ||
14 | arm_api.c arm.h | ||
15 | libgnunetarm_la_LIBADD = \ | ||
16 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
17 | $(GN_LIBINTL) | ||
18 | libgnunetarm_la_LDFLAGS = \ | ||
19 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
20 | -version-info 0:0:0 | ||
21 | |||
22 | |||
23 | bin_PROGRAMS = \ | ||
24 | gnunet-arm \ | ||
25 | gnunet-service-arm | ||
26 | |||
27 | gnunet_arm_SOURCES = \ | ||
28 | gnunet-arm.c | ||
29 | gnunet_arm_LDADD = \ | ||
30 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
31 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
32 | $(GN_LIBINTL) | ||
33 | |||
34 | gnunet_service_arm_SOURCES = \ | ||
35 | gnunet-service-arm.c | ||
36 | gnunet_service_arm_LDADD = \ | ||
37 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
38 | $(GN_LIBINTL) | ||
39 | |||
40 | |||
41 | check_PROGRAMS = \ | ||
42 | test_arm_api | ||
43 | |||
44 | check_SCRIPTS = \ | ||
45 | test_gnunet_arm.sh | ||
46 | |||
47 | TESTS = $(check_PROGRAMS) $(check_SCRIPTS) | ||
48 | |||
49 | test_arm_api_SOURCES = \ | ||
50 | test_arm_api.c | ||
51 | test_arm_api_LDADD = \ | ||
52 | $(top_builddir)/src/arm/libgnunetarm.la \ | ||
53 | $(top_builddir)/src/resolver/libgnunetresolver.la \ | ||
54 | $(top_builddir)/src/util/libgnunetutil.la | ||
55 | |||
56 | |||
57 | EXTRA_DIST = \ | ||
58 | test_arm_api_data.conf | ||