wlan receive implemented
[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  gnunet-service-arm.h \
38  gnunet-service-arm_interceptor.c       
39 gnunet_service_arm_LDADD = \
40   $(top_builddir)/src/util/libgnunetutil.la \
41   $(GN_LIBINTL)
42
43
44 mockup_service_SOURCES = \
45   mockup-service.c
46  mockup_service_LDADD = \
47  $(top_builddir)/src/util/libgnunetutil.la  
48
49
50 check_PROGRAMS = \
51  test_arm_api \
52  test_exponential_backoff \
53  test_gnunet_service_manager
54
55 check_SCRIPTS = \
56  test_gnunet_arm.sh
57
58 if !DISABLE_TEST_RUN
59 TESTS = $(check_PROGRAMS)  $(check_SCRIPTS)
60 endif
61
62 test_arm_api_SOURCES = \
63  test_arm_api.c
64 test_arm_api_LDADD = \
65   $(top_builddir)/src/arm/libgnunetarm.la \
66   $(top_builddir)/src/util/libgnunetutil.la  
67
68 test_exponential_backoff_SOURCES = \
69  test_exponential_backoff.c
70 test_exponential_backoff_LDADD = \
71   $(top_builddir)/src/arm/libgnunetarm.la \
72   $(top_builddir)/src/util/libgnunetutil.la
73
74 test_gnunet_service_manager_SOURCES = \
75  test_gnunet_service_manager.c
76  test_gnunet_service_manager_LDADD = \
77   $(top_builddir)/src/arm/libgnunetarm.la \
78   $(top_builddir)/src/util/libgnunetutil.la  
79
80 EXTRA_DIST = \
81   test_arm_api_data.conf \
82   do_start_process.c \
83   $(check_SCRIPTS)