1if ENABLE_TUTORIALS
2
3noinst_PROGRAMS=helloworld registration buddy_status chatroom notify filetransfer realtimetext_sender realtimetext_receiver
4
5helloworld_SOURCES=helloworld.c
6LINPHONE_TUTOS=$(helloworld_SOURCES)
7
8helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
9				$(MEDIASTREAMER_LIBS) \
10				$(ORTP_LIBS) \
11				$(BELLESIP_LIBS)
12
13registration_SOURCES=registration.c
14LINPHONE_TUTOS+=$(registration_SOURCES)
15
16registration_LDADD=$(helloworld_LDADD)
17
18buddy_status_SOURCES=buddy_status.c
19LINPHONE_TUTOS+=$(buddy_status_SOURCES)
20
21buddy_status_LDADD=$(helloworld_LDADD)
22
23chatroom_SOURCES=chatroom.c
24LINPHONE_TUTOS+=$(chatroom_SOURCES)
25
26chatroom_LDADD=$(helloworld_LDADD)
27
28notify_SOURCES=notify.c
29LINPHONE_TUTOS+=$(notify_SOURCES)
30
31notify_LDADD=$(helloworld_LDADD)
32
33filetransfer_SOURCES=filetransfer.c
34LINPHONE_TUTOS+=$(filetransfer_SOURCES)
35
36filetransfer_LDADD=$(helloworld_LDADD)
37
38realtimetext_sender_SOURCES=realtimetext_sender.c
39LINPHONE_TUTOS+=$(realtimetext_sender_SOURCES)
40
41realtimetext_sender_LDADD=$(helloworld_LDADD)
42
43realtimetext_receiver_SOURCES=realtimetext_receiver.c
44LINPHONE_TUTOS+=$(realtimetext_receiver_SOURCES)
45
46realtimetext_receiver_LDADD=$(helloworld_LDADD)
47
48AM_CFLAGS=\
49	-I$(top_srcdir)/include \
50	$(STRICT_OPTIONS) \
51	$(STRICT_OPTIONS_CC) \
52	$(ORTP_CFLAGS) \
53	$(MEDIASTREAMER_CFLAGS) \
54	-DENABLE_TRACE 	\
55	-DLOG_DOMAIN=\"LinphoneCore\" \
56	$(IPV6_CFLAGS) \
57	-DORTP_INET6 \
58	$(VIDEO_CFLAGS) \
59	$(BELLESIP_CFLAGS)
60
61
62tutodir=$(datadir)/tutorials/linphone
63
64tuto_DATA=$(LINPHONE_TUTOS)
65endif
66
67