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= $(pkgdatadir)/config.d/
21 libexecdir= $(pkglibdir)/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 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
44 libgnunetspeaker_la_SOURCES = \
46 libgnunetspeaker_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la
48 libgnunetspeaker_la_LDFLAGS = \
49 $(GN_LIB_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 $(GN_LIB_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;
99 TESTS = $(AUDIO_TESTS)
102 if BUILD_PULSE_HELPERS
103 gnunet_helper_audio_record_SOURCES = \
104 gnunet-helper-audio-record.c
105 gnunet_helper_audio_record_LDADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 -lpulse -lopus -logg \
109 gnunet_helper_audio_record_LDFLAGS = \
112 gnunet_helper_audio_playback_SOURCES = \
113 gnunet-helper-audio-playback.c
114 gnunet_helper_audio_playback_LDADD = \
115 $(top_builddir)/src/util/libgnunetutil.la \
116 -lpulse -lopus -logg \
118 gnunet_helper_audio_playback_LDFLAGS = \
122 gnunet_helper_audio_record_SOURCES = \
123 gnunet-helper-audio-record-gst.c
124 gnunet_helper_audio_record_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la \
128 gnunet_helper_audio_record_LDFLAGS = \
129 $(WINFLAGS) $(GST_LDFLAGS)
130 gnunet_helper_audio_record_CFLAGS = \
133 gnunet_helper_audio_playback_SOURCES = \
134 gnunet-helper-audio-playback-gst.c
135 gnunet_helper_audio_playback_LDADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
139 gnunet_helper_audio_playback_LDFLAGS = \
140 $(WINFLAGS) $(GST_LDFLAGS)
141 gnunet_helper_audio_playback_CFLAGS = \
146 gnunet_service_conversation_SOURCES = \
147 gnunet-service-conversation.c
148 gnunet_service_conversation_LDADD = \
149 libgnunetconversation.la \
150 libgnunetspeaker.la \
151 libgnunetmicrophone.la \
152 $(top_builddir)/src/cadet/libgnunetcadet.la \
153 $(top_builddir)/src/util/libgnunetutil.la \
155 gnunet_service_conversation_LDFLAGS = \
158 gnunet_conversation_SOURCES = \
159 gnunet-conversation.c
160 gnunet_conversation_LDADD = \
161 libgnunetmicrophone.la \
162 libgnunetspeaker.la \
163 libgnunetconversation.la \
164 $(top_builddir)/src/gns/libgnunetgns.la \
165 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
166 $(top_builddir)/src/namestore/libgnunetnamestore.la \
167 $(top_builddir)/src/identity/libgnunetidentity.la \
168 $(top_builddir)/src/util/libgnunetutil.la \
170 gnunet_conversation_LDFLAGS = \
173 gnunet_conversation_test_SOURCES = \
174 gnunet-conversation-test.c
175 gnunet_conversation_test_LDADD = \
176 libgnunetmicrophone.la \
177 libgnunetspeaker.la \
178 $(top_builddir)/src/util/libgnunetutil.la \
180 gnunet_conversation_test_LDFLAGS = \
184 test_conversation_api_SOURCES = \
185 test_conversation_api.c
186 test_conversation_api_LDADD = \
187 libgnunetconversation.la \
188 libgnunetspeaker.la \
189 libgnunetmicrophone.la \
190 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
191 $(top_builddir)/src/namestore/libgnunetnamestore.la \
192 $(top_builddir)/src/identity/libgnunetidentity.la \
193 $(top_builddir)/src/testing/libgnunettesting.la \
194 $(top_builddir)/src/util/libgnunetutil.la
195 test_conversation_api_LDFLAGS = \
196 $(WINFLAGS) -export-dynamic
198 test_conversation_api_twocalls_SOURCES = \
199 test_conversation_api_twocalls.c
200 test_conversation_api_twocalls_LDADD = \
201 libgnunetconversation.la \
202 libgnunetspeaker.la \
203 libgnunetmicrophone.la \
204 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
205 $(top_builddir)/src/namestore/libgnunetnamestore.la \
206 $(top_builddir)/src/identity/libgnunetidentity.la \
207 $(top_builddir)/src/testing/libgnunettesting.la \
208 $(top_builddir)/src/util/libgnunetutil.la
209 test_conversation_api_twocalls_LDFLAGS = \
210 $(WINFLAGS) -export-dynamic
212 test_conversation_api_reject_SOURCES = \
213 test_conversation_api_reject.c
214 test_conversation_api_reject_LDADD = \
215 libgnunetconversation.la \
216 libgnunetspeaker.la \
217 libgnunetmicrophone.la \
218 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
219 $(top_builddir)/src/namestore/libgnunetnamestore.la \
220 $(top_builddir)/src/identity/libgnunetidentity.la \
221 $(top_builddir)/src/testing/libgnunettesting.la \
222 $(top_builddir)/src/util/libgnunetutil.la
223 test_conversation_api_reject_LDFLAGS = \
224 $(WINFLAGS) -export-dynamic
227 pkgcfg_DATA = conversation.conf
229 EXTRA_DIST = test_conversation.conf