Makefile.am 1.31 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 = $(GLIB_TARGETS) $(GLIB_LIBS)
22

23 24 25
# 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 = \
26
	-version-info $(LIBVER_SOFIA_SIP_UA_GLIB_CUR):$(LIBVER_SOFIA_SIP_UA_GLIB_REV):$(LIBVER_SOFIA_SIP_UA_GLIB_AGE)
27

28 29
DOXYGEN = doxygen

30 31 32 33 34
EXTRA_DIST = docs/Doxyfile.aliases \
	     docs/Doxyfile.conf \
	     docs/Doxyfile.version

doxygen: built-sources
35
	@mkdir -p docs docs/html &&\
36 37 38 39 40 41 42
	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
43
	${top_srcdir}/scripts/hide_emails.sh docs/html
44

45
PHONY = doxygen
46

47 48
include $(top_srcdir)/rules/recursive.am

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

.PHONY = $(PHONY)
54 55 56 57 58

CLEANFILES = docs/*.doxytags

distclean-local:
	-rm -rf docs/html