Mantis #1644, unmodified, patch by vminko
[oweals/gnunet.git] / src / chat / 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 = -fprofile-arcs -ftest-coverage
9 endif
10
11 lib_LTLIBRARIES = libgnunetchat.la
12
13 libgnunetchat_la_SOURCES = \
14   chat.c chat.h
15
16 libgnunetchat_la_LIBADD = \
17   $(top_builddir)/src/util/libgnunetutil.la
18
19 libgnunetchat_la_LDFLAGS = \
20   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
21   -version-info 0:0:0
22
23 bin_PROGRAMS = \
24  gnunet-service-chat \
25  gnunet-chat
26
27 gnunet_service_chat_SOURCES = \
28  gnunet-service-chat.c         
29 gnunet_service_chat_LDADD = \
30   $(top_builddir)/src/core/libgnunetcore.la \
31   $(top_builddir)/src/util/libgnunetutil.la \
32   $(GN_LIBINTL)
33
34 gnunet_chat_SOURCES = \
35  gnunet-chat.c         
36 gnunet_chat_LDADD = \
37   $(top_builddir)/src/chat/libgnunetchat.la \
38   $(top_builddir)/src/util/libgnunetutil.la \
39   $(GN_LIBINTL)