]> sjero.net Git - linphone/blob - coreapi/help/Makefile.am
Add fmtp parameters to opus payload to enable FEC and DTX
[linphone] / coreapi / help / Makefile.am
1
2 EXTRA_DIST=Doxyfile.in doxygen.dox
3
4 SOURCES=doxygen.dox $(top_srcdir)/coreapi/help/*.c $(top_srcdir)/coreapi/*.c $(top_srcdir)/coreapi/*.h  
5
6
7 # html doc
8 if HAVE_DOXYGEN
9
10 # docdir & pkgdocdir are not always defined by automake
11 pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
12 doc_htmldir=$(pkgdocdir)/html
13
14 doc_html_DATA = $(top_builddir)/coreapi/help/doc/html/html.tar
15
16 $(doc_html_DATA): $(top_builddir)/coreapi/help/doc/html/index.html
17         cd $(top_builddir)/coreapi/help/doc/html/ && tar cf html.tar *
18
19 $(top_builddir)/coreapi/help/doc/html/index.html: $(SOURCES) Doxyfile Makefile.am
20         rm -rf doc
21         $(DOXYGEN) Doxyfile
22
23 install-data-hook:
24         cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar && rm -f html.tar
25
26 uninstall-hook:
27         cd $(DESTDIR)$(doc_htmldir) && rm -f *
28
29 endif
30
31 clean-local:
32         rm -rf doc
33
34 if ENABLE_TESTS
35 #tutorials
36 if BUILD_TESTS
37 noinst_PROGRAMS=helloworld registration buddy_status chatroom
38
39 helloworld_SOURCES=helloworld.c
40 LINPHONE_TUTOS=$(helloworld_SOURCES)
41
42 helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
43                                 $(MEDIASTREAMER_LIBS) \
44                                 $(ORTP_LIBS)
45
46 registration_SOURCES=registration.c
47 LINPHONE_TUTOS+=$(registration_SOURCES)
48
49 registration_LDADD=$(helloworld_LDADD)
50
51 buddy_status_SOURCES=buddy_status.c
52 LINPHONE_TUTOS+=$(buddy_status_SOURCES)
53
54 buddy_status_LDADD=$(helloworld_LDADD)
55
56 chatroom_SOURCES=chatroom.c
57 LINPHONE_TUTOS+=$(chatroom_SOURCES)
58
59 chatroom_LDADD=$(helloworld_LDADD)
60 endif
61                                                                                                 
62 endif
63
64 AM_CFLAGS=\
65         $(STRICT_OPTIONS) \
66         -DIN_LINPHONE \
67         $(ORTP_CFLAGS) \
68         $(OSIP_CFLAGS) \
69         $(MEDIASTREAMER_CFLAGS) \
70         $(EXOSIP_CFLAGS) \
71         -DENABLE_TRACE  \
72         -DLOG_DOMAIN=\"LinphoneCore\" \
73         $(IPV6_CFLAGS) \
74         -DORTP_INET6 \
75         $(VIDEO_CFLAGS)
76
77
78 tutodir=$(datadir)/tutorials/linphone
79
80 tuto_DATA=$(LINPHONE_TUTOS)