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

8
AUTOMAKE_OPTIONS = foreign 1.7
Pekka Pessi's avatar
Pekka Pessi committed
9

10
SUBDIRS = libsofia-sip-ua $(GLIB_SUBDIRS) utils packages
11
DIST_SUBDIRS = libsofia-sip-ua libsofia-sip-ua-glib utils packages win32
12

13 14
# note: when glib devel files are not available, make should not
#       enter the libsofia-sip-ua-glib subdir at all
15 16 17
if HAVE_GLIB
GLIB_SUBDIRS = libsofia-sip-ua-glib
endif
Pekka Pessi's avatar
Pekka Pessi committed
18 19 20 21

PACKAGE = @PACKAGE@
VERSION = @VERSION@

22 23
EXTRA_DIST =	AUTHORS COPYING COPYRIGHTS ChangeLog.ext-trees \
		README README.developers RELEASE TODO 
Pekka Pessi's avatar
Pekka Pessi committed
24 25 26

ACLOCAL_AMFLAGS = -I m4

27 28
EXTRA_DIST += 	m4/sac-general.m4 m4/sac-su.m4 \
		m4/sac-su2.m4 m4/sac-tport.m4 m4/sac-openssl.m4
29

30 31 32 33
EXTRA_DIST +=   docs/build_system.txt \
		docs/devel_platform_notes.txt \
		docs/release_management.txt

Pekka Pessi's avatar
Pekka Pessi committed
34
dist_man_MANS = man/man1/sip-date.1 man/man1/sip-options.1 \
35 36
		man/man1/localinfo.1 man/man1/addrinfo.1 \
		man/man1/stunc.1 man/man1/sip-dig.1
37

38 39 40
$(dist_man_MANS): manpages

manpages: built-sources
41
	-mkdir -p man man/man1 2> /dev/null
Pekka Pessi's avatar
Pekka Pessi committed
42
if HAVE_DOXYGEN
43
	cd utils && $(DOXYGEN) Doxyfile.build
44
	@rm -f man/man1/_*.1
Pekka Pessi's avatar
Pekka Pessi committed
45
else
46
	-touch $(dist_man_MANS)
47 48
endif

49 50
CLEANFILES = $(dist_man_MANS)

51
coverage built-sources clean-built-sources valcheck doxygen:
52
	for i in libsofia-sip-ua $(GLIB_SUBDIRS) ; do $(MAKE) $(AM_MAKEFLAGS) -C $$i $@ ; done
53

Pekka Pessi's avatar
Pekka Pessi committed
54
.PHONY: coverage built-sources clean-built-sources doxygen manpages