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 # docdir & pkgdocdir are not always defined by automake
11 pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
12 doc_htmldir=$(pkgdocdir)/html
14 doc_html_DATA = $(top_builddir)/coreapi/help/doc/html/html.tar
16 $(doc_html_DATA): $(top_builddir)/coreapi/help/doc/html/index.html
17 cd $(top_builddir)/coreapi/help/doc/html/ && tar cf html.tar *
19 $(top_builddir)/coreapi/help/doc/html/index.html: $(SOURCES) Doxyfile Makefile.am
24 cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar && rm -f html.tar
27 cd $(DESTDIR)$(doc_htmldir) && rm -f *
37 noinst_PROGRAMS=helloworld registration buddy_status chatroom
39 helloworld_SOURCES=helloworld.c
40 LINPHONE_TUTOS=$(helloworld_SOURCES)
42 helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
43 $(MEDIASTREAMER_LIBS) \
46 registration_SOURCES=registration.c
47 LINPHONE_TUTOS+=$(registration_SOURCES)
49 registration_LDADD=$(helloworld_LDADD)
51 buddy_status_SOURCES=buddy_status.c
52 LINPHONE_TUTOS+=$(buddy_status_SOURCES)
54 buddy_status_LDADD=$(helloworld_LDADD)
56 chatroom_SOURCES=chatroom.c
57 LINPHONE_TUTOS+=$(chatroom_SOURCES)
59 chatroom_LDADD=$(helloworld_LDADD)
69 $(MEDIASTREAMER_CFLAGS) \
72 -DLOG_DOMAIN=\"LinphoneCore\" \
78 tutodir=$(datadir)/tutorials/linphone
80 tuto_DATA=$(LINPHONE_TUTOS)