aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/Makefile.am
blob: b5dc0d49bce68c6dc6f00731e9c1685d3094a2c2 (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
SUBDIRS = .

INCLUDES = \
  -I$(top_srcdir)/src/include \
  -I$(top_srcdir)

AM_CPPFLAGS = \
  $(GNUNET_CPPFLAGS)

# Set this variable if you are using GNUNET libraries for all programs and
# libraries. You don't then need to target-specific _LDFLAGS with GNUNET_LDFLAGS
# AM_LDFLAGS = \
#   $(GNUNET_LDFLAGS) \
#   $(WINFLAGS) \
#   -export-dynamic

lib_LTLIBRARIES = libgnunetconversation.la

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

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

libgnunetconversation_la_SOURCES = \
  conversation_api.c 
libgnunetconversation_la_LIBADD = \
  -lgnunetutil -lgnunetnamestore -lgnunetgns
libgnunetconversation_la_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) \
  -version-info 0:0:0


bin_PROGRAMS = 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 

TESTS = $(check_PROGRAMS)


gnunet_helper_audio_record_SOURCES = \
  gnunet-helper-audio-record.c
gnunet_helper_audio_record_LDADD = \
  -lgnunetutil \
  -lpulse  -lopus\
  $(INTLLIBS) 
gnunet_helper_audio_record_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic

gnunet_helper_audio_playback_SOURCES = \
  gnunet-helper-audio-playback.c
gnunet_helper_audio_playback_LDADD = \
  -lgnunetutil \
  -lpulse -lopus\
  $(INTLLIBS) 
gnunet_helper_audio_playback_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic  

gnunet_service_conversation_SOURCES = \
  gnunet-service-conversation.c
gnunet_service_conversation_LDADD = \
  -lgnunetutil -lgnunetmesh -lgnunetnamestore -lgnunetgns\
    $(INTLLIBS) 
gnunet_service_conversation_LDFLAGS = \
  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic 

gnunet_conversation_SOURCES = \
  gnunet-conversation.c
gnunet_conversation_LDADD = \
  -lgnunetutil -lgnunetconversation \
  $(INTLLIBS) 
gnunet_conversation_LDFLAGS = \
 $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic 



test_conversation_api_SOURCES = \
 test_conversation_api.c
test_conversation_api_LDADD = \
  $(top_builddir)/src/conversation/libgnunetconversation.la \
  -lgnunetutil
test_conversation_api_LDFLAGS = \
 $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic

 pkgcfg_DATA = conversation.conf