3 plugindir = $(libdir)/gnunet
6 WINFLAGS = -no-undefined -Wl,--export-all-symbols
11 -I$(top_srcdir)/src/include \
15 libgnunetmicrophone.la \
17 libgnunetconversation.la
19 pkgcfgdir= $(prefix)/share/gnunet/config.d/
21 libexecdir= $(prefix)/lib/gnunet/libexec/
23 plugin_LTLIBRARIES = \
24 libgnunet_plugin_gnsrecord_conversation.la
27 libgnunet_plugin_gnsrecord_conversation_la_SOURCES = \
28 plugin_gnsrecord_conversation.c
29 libgnunet_plugin_gnsrecord_conversation_la_LIBADD = \
30 $(top_builddir)/src/util/libgnunetutil.la \
32 libgnunet_plugin_gnsrecord_conversation_la_LDFLAGS = \
36 libgnunetmicrophone_la_SOURCES = \
38 libgnunetmicrophone_la_LIBADD = \
39 $(top_builddir)/src/util/libgnunetutil.la
40 libgnunetmicrophone_la_LDFLAGS = \
41 $(GNUNET_LDFLAGS) $(WINFLAGS) \
44 libgnunetspeaker_la_SOURCES = \
46 libgnunetspeaker_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la
48 libgnunetspeaker_la_LDFLAGS = \
49 $(GNUNET_LDFLAGS) $(WINFLAGS) \
53 libgnunetconversation_la_SOURCES = \
55 conversation_api_call.c \
57 libgnunetconversation_la_LIBADD = \
58 $(top_builddir)/src/gns/libgnunetgns.la \
59 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
60 $(top_builddir)/src/namestore/libgnunetnamestore.la \
61 $(top_builddir)/src/identity/libgnunetidentity.la \
62 $(top_builddir)/src/util/libgnunetutil.la
64 libgnunetconversation_la_LDFLAGS = \
65 $(GNUNET_LDFLAGS) $(WINFLAGS) \
70 gnunet-conversation-test \
74 gnunet-service-conversation
77 test_conversation_api \
78 test_conversation_api_reject \
79 test_conversation_api_twocalls
81 if BUILD_PULSE_HELPERS
82 AUDIO_HELPER_RECD=gnunet-helper-audio-record
83 AUDIO_HELPER_PLAY=gnunet-helper-audio-playback
84 AUDIO_TESTS=$(check_PROGRAMS)
87 AUDIO_HELPER_RECD=gnunet-helper-audio-record
88 AUDIO_HELPER_PLAY=gnunet-helper-audio-playback
89 AUDIO_TESTS=$(check_PROGRAMS)
94 $(AUDIO_HELPER_RECD) \
97 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
98 TESTS = $(AUDIO_TESTS)
100 if BUILD_PULSE_HELPERS
101 gnunet_helper_audio_record_SOURCES = \
102 gnunet-helper-audio-record.c
103 gnunet_helper_audio_record_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 -lpulse -lopus -logg \
107 gnunet_helper_audio_record_LDFLAGS = \
108 $(GNUNET_LDFLAGS) $(WINFLAGS)
110 gnunet_helper_audio_playback_SOURCES = \
111 gnunet-helper-audio-playback.c
112 gnunet_helper_audio_playback_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 -lpulse -lopus -logg \
116 gnunet_helper_audio_playback_LDFLAGS = \
117 $(GNUNET_LDFLAGS) $(WINFLAGS)
120 gnunet_helper_audio_record_SOURCES = \
121 gnunet-helper-audio-record-gst.c
122 gnunet_helper_audio_record_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
126 gnunet_helper_audio_record_LDFLAGS = \
127 $(GNUNET_LDFLAGS) $(WINFLAGS) $(GST_LDFLAGS)
128 gnunet_helper_audio_record_CFLAGS = \
131 gnunet_helper_audio_playback_SOURCES = \
132 gnunet-helper-audio-playback-gst.c
133 gnunet_helper_audio_playback_LDADD = \
134 $(top_builddir)/src/util/libgnunetutil.la \
137 gnunet_helper_audio_playback_LDFLAGS = \
138 $(GNUNET_LDFLAGS) $(WINFLAGS) $(GST_LDFLAGS)
139 gnunet_helper_audio_playback_CFLAGS = \
144 gnunet_service_conversation_SOURCES = \
145 gnunet-service-conversation.c
146 gnunet_service_conversation_LDADD = \
147 libgnunetconversation.la \
148 libgnunetspeaker.la \
149 libgnunetmicrophone.la \
150 $(top_builddir)/src/cadet/libgnunetcadet.la \
151 $(top_builddir)/src/util/libgnunetutil.la \
153 gnunet_service_conversation_LDFLAGS = \
154 $(GNUNET_LDFLAGS) $(WINFLAGS)
156 gnunet_conversation_SOURCES = \
157 gnunet-conversation.c
158 gnunet_conversation_LDADD = \
159 libgnunetmicrophone.la \
160 libgnunetspeaker.la \
161 libgnunetconversation.la \
162 $(top_builddir)/src/gns/libgnunetgns.la \
163 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
164 $(top_builddir)/src/namestore/libgnunetnamestore.la \
165 $(top_builddir)/src/identity/libgnunetidentity.la \
166 $(top_builddir)/src/util/libgnunetutil.la \
168 gnunet_conversation_LDFLAGS = \
169 $(GNUNET_LDFLAGS) $(WINFLAGS)
171 gnunet_conversation_test_SOURCES = \
172 gnunet-conversation-test.c
173 gnunet_conversation_test_LDADD = \
174 libgnunetmicrophone.la \
175 libgnunetspeaker.la \
176 $(top_builddir)/src/util/libgnunetutil.la \
178 gnunet_conversation_test_LDFLAGS = \
179 $(GNUNET_LDFLAGS) $(WINFLAGS)
182 test_conversation_api_SOURCES = \
183 test_conversation_api.c
184 test_conversation_api_LDADD = \
185 libgnunetconversation.la \
186 libgnunetspeaker.la \
187 libgnunetmicrophone.la \
188 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
189 $(top_builddir)/src/namestore/libgnunetnamestore.la \
190 $(top_builddir)/src/identity/libgnunetidentity.la \
191 $(top_builddir)/src/testing/libgnunettesting.la \
192 $(top_builddir)/src/util/libgnunetutil.la
193 test_conversation_api_LDFLAGS = \
194 $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic
196 test_conversation_api_twocalls_SOURCES = \
197 test_conversation_api_twocalls.c
198 test_conversation_api_twocalls_LDADD = \
199 libgnunetconversation.la \
200 libgnunetspeaker.la \
201 libgnunetmicrophone.la \
202 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
203 $(top_builddir)/src/namestore/libgnunetnamestore.la \
204 $(top_builddir)/src/identity/libgnunetidentity.la \
205 $(top_builddir)/src/testing/libgnunettesting.la \
206 $(top_builddir)/src/util/libgnunetutil.la
207 test_conversation_api_twocalls_LDFLAGS = \
208 $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic
210 test_conversation_api_reject_SOURCES = \
211 test_conversation_api_reject.c
212 test_conversation_api_reject_LDADD = \
213 libgnunetconversation.la \
214 libgnunetspeaker.la \
215 libgnunetmicrophone.la \
216 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
217 $(top_builddir)/src/namestore/libgnunetnamestore.la \
218 $(top_builddir)/src/identity/libgnunetidentity.la \
219 $(top_builddir)/src/testing/libgnunettesting.la \
220 $(top_builddir)/src/util/libgnunetutil.la
221 test_conversation_api_reject_LDFLAGS = \
222 $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic
225 pkgcfg_DATA = conversation.conf
227 EXTRA_DIST = test_conversation.conf