aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/Makefile.am
blob: e455ba45ef9e1eaf3f2fb93764430fecd6b291b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
SUBDIRS = .

plugindir = $(libdir)/gnunet

AM_CPPFLAGS = \
  $(GNUNET_CPPFLAGS) \
  -I$(top_srcdir)/src/include \
  -I$(top_srcdir)

lib_LTLIBRARIES = \
 libgnunetmicrophone.la \
 libgnunetspeaker.la \
 libgnunetconversation.la

pkgcfgdir= $(prefix)/share/gnunet/config.d/

libexecdir= $(prefix)/lib/gnunet/libexec/

plugin_LTLIBRARIES = \
  libgnunet_plugin_gnsrecord_conversation.la


libgnunet_plugin_gnsrecord_conversation_la_SOURCES = \
  plugin_gnsrecord_conversation.c
libgnunet_plugin_gnsrecord_conversation_la_LIBADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(LTLIBINTL)
libgnunet_plugin_gnsrecord_conversation_la_LDFLAGS = \
 $(GN_PLUGIN_LDFLAGS)


libgnunetmicrophone_la_SOURCES = \
  microphone.c
libgnunetmicrophone_la_LIBADD = \
 $(top_builddir)/src/util/libgnunetutil.la
libgnunetmicrophone_la_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) \
  -version-info 0:0:0

libgnunetspeaker_la_SOURCES = \
  speaker.c
libgnunetspeaker_la_LIBADD = \
 $(top_builddir)/src/util/libgnunetutil.la
libgnunetspeaker_la_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) \
  -version-info 0:0:0


libgnunetconversation_la_SOURCES = \
  conversation_api.c \
  conversation_api_call.c \
  conversation.h
libgnunetconversation_la_LIBADD = \
  $(top_builddir)/src/gns/libgnunetgns.la \
  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
  $(top_builddir)/src/namestore/libgnunetnamestore.la \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/util/libgnunetutil.la

libgnunetconversation_la_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) \
  -version-info 0:0:0


bin_PROGRAMS = \
 gnunet-conversation-test \
 gnunet-conversation

libexec_PROGRAMS = \
  gnunet-service-conversation

if HAVE_PULSE
if HAVE_OPUS
libexec_PROGRAMS += \
  gnunet-helper-audio-record \
  gnunet-helper-audio-playback
endif
endif


check_PROGRAMS = \
 test_conversation_api \
 test_conversation_api_reject \
 test_conversation_api_twocalls

if HAVE_PULSE
if HAVE_OPUS
TESTS = $(check_PROGRAMS)
endif
endif

gnunet_helper_audio_record_SOURCES = \
  gnunet-helper-audio-record.c
gnunet_helper_audio_record_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  -lpulse  -lopus\
  $(INTLLIBS)
gnunet_helper_audio_record_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS)

gnunet_helper_audio_playback_SOURCES = \
  gnunet-helper-audio-playback.c
gnunet_helper_audio_playback_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  -lpulse -lopus\
  $(INTLLIBS)
gnunet_helper_audio_playback_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS)

gnunet_service_conversation_SOURCES = \
  gnunet-service-conversation.c
gnunet_service_conversation_LDADD = \
  libgnunetconversation.la \
  libgnunetspeaker.la \
  libgnunetmicrophone.la \
  $(top_builddir)/src/mesh/libgnunetmesh.la \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(INTLLIBS)
gnunet_service_conversation_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS)

gnunet_conversation_SOURCES = \
  gnunet-conversation.c
gnunet_conversation_LDADD = \
  libgnunetmicrophone.la \
  libgnunetspeaker.la \
  libgnunetconversation.la \
  $(top_builddir)/src/gns/libgnunetgns.la \
  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
  $(top_builddir)/src/namestore/libgnunetnamestore.la \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(INTLLIBS)
gnunet_conversation_LDFLAGS = \
 $(GNUNET_LDFLAGS) $(WINFLAGS)

gnunet_conversation_test_SOURCES = \
  gnunet-conversation-test.c
gnunet_conversation_test_LDADD = \
  libgnunetmicrophone.la \
  libgnunetspeaker.la \
  $(top_builddir)/src/util/libgnunetutil.la  \
  $(INTLLIBS)
gnunet_conversation_test_LDFLAGS = \
 $(GNUNET_LDFLAGS) $(WINFLAGS)


test_conversation_api_SOURCES = \
 test_conversation_api.c
test_conversation_api_LDADD = \
  libgnunetconversation.la \
  libgnunetspeaker.la \
  libgnunetmicrophone.la \
  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
  $(top_builddir)/src/namestore/libgnunetnamestore.la \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/testing/libgnunettesting.la \
  $(top_builddir)/src/util/libgnunetutil.la
test_conversation_api_LDFLAGS = \
 $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic

test_conversation_api_twocalls_SOURCES = \
 test_conversation_api_twocalls.c
test_conversation_api_twocalls_LDADD = \
  libgnunetconversation.la \
  libgnunetspeaker.la \
  libgnunetmicrophone.la \
  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
  $(top_builddir)/src/namestore/libgnunetnamestore.la \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/testing/libgnunettesting.la \
  $(top_builddir)/src/util/libgnunetutil.la
test_conversation_api_twocalls_LDFLAGS = \
 $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic

test_conversation_api_reject_SOURCES = \
 test_conversation_api_reject.c
test_conversation_api_reject_LDADD = \
  libgnunetconversation.la \
  libgnunetspeaker.la \
  libgnunetmicrophone.la \
  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
  $(top_builddir)/src/namestore/libgnunetnamestore.la \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/testing/libgnunettesting.la \
  $(top_builddir)/src/util/libgnunetutil.la
test_conversation_api_reject_LDFLAGS = \
 $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic


 pkgcfg_DATA = conversation.conf

EXTRA_DIST = test_conversation.conf