Initial conversation (experimental) commit
[oweals/gnunet.git] / src / conversation / Makefile.am
1 SUBDIRS = .
2
3 INCLUDES = \
4   -I$(top_srcdir)/src/include \
5   -I$(top_srcdir)
6
7 AM_CPPFLAGS = \
8   $(GNUNET_CPPFLAGS)
9
10 # Set this variable if you are using GNUNET libraries for all programs and
11 # libraries. You don't then need to target-specific _LDFLAGS with GNUNET_LDFLAGS
12 # AM_LDFLAGS = \
13 #   $(GNUNET_LDFLAGS) \
14 #   $(WINFLAGS) \
15 #   -export-dynamic
16
17 lib_LTLIBRARIES = libgnunetconversation.la
18
19 pkgcfgdir= $(prefix)/share/gnunet/config.d/
20
21 libexecdir= $(prefix)/lib/gnunet/libexec/
22
23 libgnunetconversation_la_SOURCES = \
24   conversation_api.c 
25 libgnunetconversation_la_LIBADD = \
26   -lgnunetutil -lgnunetgns_common -lgnunetgns
27 libgnunetconversation_la_LDFLAGS = \
28   $(GNUNET_LDFLAGS)  $(WINFLAGS) \
29   -version-info 0:0:0
30
31
32 bin_PROGRAMS = gnunet-conversation
33
34 libexec_PROGRAMS = gnunet-service-conversation \
35   gnunet-helper-audio-record \
36   gnunet-helper-audio-playback
37
38 check_PROGRAMS = \
39  test_conversation_api 
40
41 TESTS = $(check_PROGRAMS)
42
43
44 gnunet_helper_audio_record_SOURCES = \
45   gnunet-helper-audio-record.c
46 gnunet_helper_audio_record_LDADD = \
47   -lgnunetutil \
48   -lpulse  -lopus\
49   $(INTLLIBS) 
50 gnunet_helper_audio_record_LDFLAGS = \
51   $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic
52
53 gnunet_helper_audio_playback_SOURCES = \
54   gnunet-helper-audio-playback.c
55 gnunet_helper_audio_playback_LDADD = \
56   -lgnunetutil \
57   -lpulse -lopus\
58   $(INTLLIBS) 
59 gnunet_helper_audio_playback_LDFLAGS = \
60   $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic  
61
62 gnunet_service_conversation_SOURCES = \
63   gnunet-service-conversation.c
64 gnunet_service_conversation_LDADD = \
65   -lgnunetutil -lgnunetmesh -lgnunetgns_common -lgnunetgns\
66     $(INTLLIBS) 
67 gnunet_service_conversation_LDFLAGS = \
68   $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic 
69
70 gnunet_conversation_SOURCES = \
71   gnunet-conversation.c
72 gnunet_conversation_LDADD = \
73   -lgnunetutil -lgnunetconversation \
74   $(INTLLIBS) 
75 gnunet_conversation_LDFLAGS = \
76  $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic 
77
78
79
80
81
82 test_conversation_api_SOURCES = \
83  test_conversation_api.c
84 test_conversation_api_LDADD = \
85   $(top_builddir)/src/conversation/libgnunetconversation.la \
86   -lgnunetutil
87 test_conversation_api_LDFLAGS = \
88  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic
89  
90  pkgcfg_DATA = conversation.conf 
91