stuff
[oweals/gnunet.git] / src / arm / Makefile.am
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 = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 lib_LTLIBRARIES = libgnunetarm.la
13
14 libgnunetarm_la_SOURCES = \
15   arm_api.c arm.h
16 libgnunetarm_la_LIBADD = \
17   $(top_builddir)/src/util/libgnunetutil.la \
18   $(GN_LIBINTL) $(XLIB)
19 libgnunetarm_la_LDFLAGS = \
20   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
21   -version-info 0:0:0
22
23
24 bin_PROGRAMS = \
25  gnunet-arm \
26  gnunet-service-arm \
27  mockup-service 
28
29 gnunet_arm_SOURCES = \
30  gnunet-arm.c         
31 gnunet_arm_LDADD = \
32   $(top_builddir)/src/arm/libgnunetarm.la \
33   $(top_builddir)/src/util/libgnunetutil.la \
34   $(GN_LIBINTL)
35
36 gnunet_service_arm_SOURCES = \
37  gnunet-service-arm.c         
38 gnunet_service_arm_LDADD = \
39   $(top_builddir)/src/util/libgnunetutil.la \
40   $(GN_LIBINTL)
41
42
43 mockup_service_SOURCES = \
44   mockup-service.c
45  mockup_service_LDADD = \
46  $(top_builddir)/src/util/libgnunetutil.la  
47
48
49 check_PROGRAMS = \
50  test_arm_api \
51  test_exponential_backoff
52
53 check_SCRIPTS = \
54  test_gnunet_arm.sh
55
56 TESTS = $(check_PROGRAMS) 
57 #$(check_SCRIPTS)
58
59 test_arm_api_SOURCES = \
60  test_arm_api.c
61 test_arm_api_LDADD = \
62   $(top_builddir)/src/arm/libgnunetarm.la \
63   $(top_builddir)/src/util/libgnunetutil.la  
64
65 test_exponential_backoff_SOURCES = \
66  test_exponential_backoff.c
67 test_exponential_backoff_LDADD = \
68   $(top_builddir)/src/arm/libgnunetarm.la \
69   $(top_builddir)/src/util/libgnunetutil.la
70
71 EXTRA_DIST = \
72   test_arm_api_data.conf \
73   do_start_process.c