Makefile.am 1.15 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.6.1
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 \
		README README.developers RELEASE TODO
Pekka Pessi's avatar
Pekka Pessi committed
22 23 24

ACLOCAL_AMFLAGS = -I m4

25 26
dist_m4_DATA = 	m4/sac-general.m4 m4/sac-su.m4
EXTRA_DIST += 	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 

31
manpages $(MANS):
Pekka Pessi's avatar
Pekka Pessi committed
32
	-mkdir -p $(srcdir)/man $(srcdir)/man/man1 2> /dev/null
33 34
	cd $(srcdir)/utils; $(DOXYGEN)
if !HAVE_DOXYGEN
35
	-touch $(MANS)
36 37
endif

38 39 40
coverage built-sources clean-built-sources:
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@

41 42 43 44 45
doxygen:
if HAVE_DOXYGEN
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@
endif

46
.PHONY: coverage built-sources clean-built-sources doxygen
47
.PHONY: manpages doxygen-manpages