2 EXTRA_DIST = Doxyfile.in doxygen.dox
4 SOURCES= doxygen.dox *.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 *
35 noinst_PROGRAMS=helloworld registration buddy_status
37 helloworld_SOURCES=helloworld.c
39 helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
40 $(MEDIASTREAMER_LIBS) \
43 registration_SOURCES=registration.c
45 registration_LDADD=$(top_builddir)/coreapi/liblinphone.la \
46 $(MEDIASTREAMER_LIBS) \
49 buddy_status_SOURCES=buddy_status.c
51 buddy_status_LDADD=$(top_builddir)/coreapi/liblinphone.la \
52 $(MEDIASTREAMER_LIBS) \
56 INCLUDES=-I$(top_srcdir)/coreapi \
57 $(MEDIASTREAMER_CFLAGS)
59 AM_CFLAGS=$(STRICT_OPTIONS) -DIN_LINPHONE \
62 $(MEDIASTREAMER_CFLAGS) \
65 -DLOG_DOMAIN=\"LinphoneCore\" \