Makefile.am 1.21 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 15

if HAVE_GLIB
GLIB_SUBDIRS = libsofia-sip-ua-glib
endif
Pekka Pessi's avatar
Pekka Pessi committed
16 17 18 19

PACKAGE = @PACKAGE@
VERSION = @VERSION@

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

ACLOCAL_AMFLAGS = -I m4

25 26
EXTRA_DIST += 	m4/sac-general.m4 m4/sac-su.m4 \
		m4/sac-su2.m4 m4/sac-tport.m4 m4/sac-openssl.m4
27

Pekka Pessi's avatar
Pekka Pessi committed
28
dist_man_MANS = man/man1/sip-date.1 man/man1/sip-options.1 \
29 30
		man/man1/localinfo.1 man/man1/addrinfo.1 \
		man/man1/stunc.1 man/man1/sip-dig.1
31

Pekka Pessi's avatar
Pekka Pessi committed
32
manpages $(dist_man_MANS): built-sources
33
	-mkdir -p man man/man1 2> /dev/null
Pekka Pessi's avatar
Pekka Pessi committed
34
if HAVE_DOXYGEN
35
	cd utils && $(DOXYGEN) Doxyfile.build
36
	@rm -f man/man1/_*.1
Pekka Pessi's avatar
Pekka Pessi committed
37
else
38
	-touch $(MANS)
39 40
endif

41 42
CLEANFILES = $(dist_man_MANS)

Pekka Pessi's avatar
Pekka Pessi committed
43
coverage built-sources clean-built-sources doxygen:
44
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@
45
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua-glib $@
46

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