2 EXTRA_DIST = Doxyfile.in doxygen.dox
4 SOURCES= doxygen.dox $(top_srcdir)/coreapi/help/*.c $(top_srcdir)/coreapi/*.c $(top_srcdir)/coreapi/*.h
10 # doxdir & pkgdocdir are not always defined by automake
12 pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
13 doc_htmldir=$(pkgdocdir)/html
15 doc_html_DATA = $(top_builddir)/coreapi/help/doc/html/html.tar
17 $(doc_html_DATA): $(top_builddir)/coreapi/help/doc/html/index.html
18 cd $(<D) && tar cf html.tar *
20 $(top_builddir)/coreapi/help/doc/html/index.html: $(SOURCES) Doxyfile Makefile.am
25 cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar && rm -f html.tar
28 cd $(DESTDIR)$(doc_htmldir) && rm -f *
38 noinst_PROGRAMS=helloworld registration buddy_status chatroom
40 helloworld_SOURCES=helloworld.c
41 LINPHONE_TUTOS=$(helloworld_SOURCES)
43 helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
44 $(MEDIASTREAMER_LIBS) \
47 registration_SOURCES=registration.c
48 LINPHONE_TUTOS+=$(registration_SOURCES)
50 registration_LDADD=$(helloworld_LDADD)
52 buddy_status_SOURCES=buddy_status.c
53 LINPHONE_TUTOS+=$(buddy_status_SOURCES)
55 buddy_status_LDADD=$(helloworld_LDADD)
57 chatroom_SOURCES=chatroom.c
58 LINPHONE_TUTOS+=$(chatroom_SOURCES)
60 chatroom_LDADD=$(helloworld_LDADD)
65 INCLUDES=-I$(top_srcdir)/coreapi \
66 $(MEDIASTREAMER_CFLAGS)
68 AM_CFLAGS=$(STRICT_OPTIONS) -DIN_LINPHONE \
71 $(MEDIASTREAMER_CFLAGS) \
74 -DLOG_DOMAIN=\"LinphoneCore\" \
80 tutodir=$(datadir)/tutorials/linphone
82 tuto_DATA=$(LINPHONE_TUTOS)