Makefile.am 1.41 KB
Newer Older
1
#
2
# Makefile.am for sofia-sip/libsofia-sip-ua-glib
3 4 5 6 7 8
#
# Copyright (C) 2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
#

9
AUTOMAKE_OPTIONS = foreign 1.7
10

11
SUBDIRS=su-glib
12

13 14
GLIB_TARGETS=su-glib/libsu-glib.la

15 16 17 18
lib_LTLIBRARIES =
if HAVE_GLIB
lib_LTLIBRARIES += libsofia-sip-ua-glib.la
endif
19

20
libsofia_sip_ua_glib_la_SOURCES =
21
libsofia_sip_ua_glib_la_LIBADD = \
22
	$(top_builddir)/libsofia-sip-ua/libsofia-sip-ua.la \
23
	$(GLIB_TARGETS) $(GLIB_LIBS)
24

25 26 27
# set the libtool version info version:revision:age for libsofia-sip-ua-glib
# - soname to 'libsofia-sip-ua-glib.so.(CUR-AGE)'
libsofia_sip_ua_glib_la_LDFLAGS = \
28
	-version-info $(LIBVER_SOFIA_SIP_UA_GLIB_CUR):$(LIBVER_SOFIA_SIP_UA_GLIB_REV):$(LIBVER_SOFIA_SIP_UA_GLIB_AGE)
29

30 31
DOXYGEN = doxygen

32 33 34 35 36
EXTRA_DIST = docs/Doxyfile.aliases \
	     docs/Doxyfile.conf \
	     docs/Doxyfile.version

doxygen: built-sources
37
	@mkdir -p docs docs/html &&\
38 39 40 41 42 43 44
	for d in $(DIST_SUBDIRS) $(DIST_SUBDIRS); do \
	  test -r $$d/Doxyfile \
	  && pushd $$d > /dev/null \
	  && echo running ${DOXYGEN} in $$d \
          && ${DOXYGEN} \
          && popd > /dev/null ; \
	done
45
	${top_srcdir}/scripts/hide_emails.sh docs/html
46

47
PHONY = doxygen
48

49 50
include $(top_srcdir)/rules/recursive.am

Pekka Pessi's avatar
Pekka Pessi committed
51 52 53 54
if HAVE_LCOV
include $(top_srcdir)/rules/lcov.am
endif

55 56
include $(top_srcdir)/rules/silent.am

Pekka Pessi's avatar
Pekka Pessi committed
57
.PHONY = $(PHONY)
58 59 60 61 62

CLEANFILES = docs/*.doxytags

distclean-local:
	-rm -rf docs/html