- log
[oweals/gnunet.git] / src / conversation / Makefile.am
1 SUBDIRS = .
2
3 plugindir = $(libdir)/gnunet
4
5 AM_CPPFLAGS = \
6   $(GNUNET_CPPFLAGS) \
7   -I$(top_srcdir)/src/include \
8   -I$(top_srcdir)
9
10 lib_LTLIBRARIES = \
11  libgnunetmicrophone.la \
12  libgnunetspeaker.la \
13  libgnunetconversation.la
14
15 pkgcfgdir= $(prefix)/share/gnunet/config.d/
16
17 libexecdir= $(prefix)/lib/gnunet/libexec/
18
19 plugin_LTLIBRARIES = \
20   libgnunet_plugin_gnsrecord_conversation.la
21
22
23 libgnunet_plugin_gnsrecord_conversation_la_SOURCES = \
24   plugin_gnsrecord_conversation.c
25 libgnunet_plugin_gnsrecord_conversation_la_LIBADD = \
26   $(top_builddir)/src/util/libgnunetutil.la \
27   $(LTLIBINTL)
28 libgnunet_plugin_gnsrecord_conversation_la_LDFLAGS = \
29  $(GN_PLUGIN_LDFLAGS)
30
31
32 libgnunetmicrophone_la_SOURCES = \
33   microphone.c
34 libgnunetmicrophone_la_LIBADD = \
35  $(top_builddir)/src/util/libgnunetutil.la
36 libgnunetmicrophone_la_LDFLAGS = \
37   $(GNUNET_LDFLAGS)  $(WINFLAGS) \
38   -version-info 0:0:0
39
40 libgnunetspeaker_la_SOURCES = \
41   speaker.c
42 libgnunetspeaker_la_LIBADD = \
43  $(top_builddir)/src/util/libgnunetutil.la
44 libgnunetspeaker_la_LDFLAGS = \
45   $(GNUNET_LDFLAGS)  $(WINFLAGS) \
46   -version-info 0:0:0
47
48
49 libgnunetconversation_la_SOURCES = \
50   conversation_api.c \
51   conversation_api_call.c
52 libgnunetconversation_la_LIBADD = \
53   $(top_builddir)/src/gns/libgnunetgns.la \
54   $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
55   $(top_builddir)/src/namestore/libgnunetnamestore.la \
56   $(top_builddir)/src/identity/libgnunetidentity.la \
57   $(top_builddir)/src/util/libgnunetutil.la
58
59 libgnunetconversation_la_LDFLAGS = \
60   $(GNUNET_LDFLAGS)  $(WINFLAGS) \
61   -version-info 0:0:0
62
63
64 bin_PROGRAMS = \
65  gnunet-conversation-test \
66  gnunet-conversation
67
68 libexec_PROGRAMS = \
69   gnunet-service-conversation
70
71 if HAVE_PULSE
72 if HAVE_OPUS
73 libexec_PROGRAMS += \
74   gnunet-helper-audio-record \
75   gnunet-helper-audio-playback
76 endif
77 endif
78
79
80 check_PROGRAMS = \
81  test_conversation_api
82
83 if HAVE_PULSE
84 if HAVE_OPUS
85 TESTS = $(check_PROGRAMS)
86 endif
87 endif
88
89 gnunet_helper_audio_record_SOURCES = \
90   gnunet-helper-audio-record.c
91 gnunet_helper_audio_record_LDADD = \
92   $(top_builddir)/src/util/libgnunetutil.la \
93   -lpulse  -lopus\
94   $(INTLLIBS)
95 gnunet_helper_audio_record_LDFLAGS = \
96   $(GNUNET_LDFLAGS)  $(WINFLAGS)
97
98 gnunet_helper_audio_playback_SOURCES = \
99   gnunet-helper-audio-playback.c
100 gnunet_helper_audio_playback_LDADD = \
101   $(top_builddir)/src/util/libgnunetutil.la \
102   -lpulse -lopus\
103   $(INTLLIBS)
104 gnunet_helper_audio_playback_LDFLAGS = \
105   $(GNUNET_LDFLAGS)  $(WINFLAGS)
106
107 gnunet_service_conversation_SOURCES = \
108   gnunet-service-conversation.c
109 gnunet_service_conversation_LDADD = \
110   libgnunetconversation.la \
111   libgnunetspeaker.la \
112   libgnunetmicrophone.la \
113   $(top_builddir)/src/mesh/libgnunetmesh.la \
114   $(top_builddir)/src/util/libgnunetutil.la \
115   $(INTLLIBS)
116 gnunet_service_conversation_LDFLAGS = \
117   $(GNUNET_LDFLAGS)  $(WINFLAGS)
118
119 gnunet_conversation_SOURCES = \
120   gnunet-conversation.c
121 gnunet_conversation_LDADD = \
122   libgnunetmicrophone.la \
123   libgnunetspeaker.la \
124   libgnunetconversation.la \
125   $(top_builddir)/src/gns/libgnunetgns.la \
126   $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
127   $(top_builddir)/src/namestore/libgnunetnamestore.la \
128   $(top_builddir)/src/identity/libgnunetidentity.la \
129   $(top_builddir)/src/util/libgnunetutil.la \
130   $(INTLLIBS)
131 gnunet_conversation_LDFLAGS = \
132  $(GNUNET_LDFLAGS) $(WINFLAGS)
133
134 gnunet_conversation_test_SOURCES = \
135   gnunet-conversation-test.c
136 gnunet_conversation_test_LDADD = \
137   libgnunetmicrophone.la \
138   libgnunetspeaker.la \
139   $(top_builddir)/src/util/libgnunetutil.la  \
140   $(INTLLIBS)
141 gnunet_conversation_test_LDFLAGS = \
142  $(GNUNET_LDFLAGS) $(WINFLAGS)
143
144
145 test_conversation_api_SOURCES = \
146  test_conversation_api.c
147 test_conversation_api_LDADD = \
148   libgnunetconversation.la \
149   libgnunetspeaker.la \
150   libgnunetmicrophone.la \
151   $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
152   $(top_builddir)/src/namestore/libgnunetnamestore.la \
153   $(top_builddir)/src/identity/libgnunetidentity.la \
154   $(top_builddir)/src/testing/libgnunettesting.la \
155   $(top_builddir)/src/util/libgnunetutil.la
156 test_conversation_api_LDFLAGS = \
157  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic
158
159  pkgcfg_DATA = conversation.conf
160
161 EXTRA_DIST = test_conversation.conf