26da9138c4ef3d7b8fb872042f8310b07d74573b
[oweals/gnunet.git] / src / mesh / 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 bin_PROGRAMS = $(STUD_PROGS) \
13  gnunet-service-mesh
14
15 lib_LTLIBRARIES = \
16   libgnunetmesh.la
17
18 libgnunetmesh_la_SOURCES = \
19   mesh_api.c
20 libgnunetmesh_la_LIBADD = \
21   $(top_builddir)/src/util/libgnunetutil.la \
22   $(top_builddir)/src/core/libgnunetcore.la \
23   $(GN_LIBINTL) $(XLIB)
24 libgnunetmesh_la_LDFLAGS = \
25   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
26   -version-info 0:0:0
27
28 gnunet_service_mesh_SOURCES = \
29  gnunet-service-mesh.c         
30
31 gnunet_service_mesh_LDADD = \
32   $(top_builddir)/src/core/libgnunetcore.la\
33   $(top_builddir)/src/util/libgnunetutil.la
34