Makefile.am 916 Bytes
Newer Older
1
AUTOMAKE_OPTIONS = foreign 1.6.1
Pekka Pessi's avatar
Pekka Pessi committed
2

3
SUBDIRS = libsofia-sip-ua libsofia-sip-ua-glib utils packages
4
DIST_SUBDIRS = $(SUBDIRS) win32
Pekka Pessi's avatar
Pekka Pessi committed
5 6 7 8

PACKAGE = @PACKAGE@
VERSION = @VERSION@

9 10
EXTRA_DIST =	AUTHORS COPYING COPYRIGHTS \
		README README.developers RELEASE TODO
Pekka Pessi's avatar
Pekka Pessi committed
11 12 13

ACLOCAL_AMFLAGS = -I m4

14 15
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
16

Pekka Pessi's avatar
Pekka Pessi committed
17
dist_man_MANS = man/man1/sip-date.1 man/man1/sip-options.1 \
18 19
		man/man1/localinfo.1 man/man1/addrinfo.1 

20
manpages $(man_MANS):
Pekka Pessi's avatar
Pekka Pessi committed
21
	-mkdir -p $(srcdir)/man $(srcdir)/man/man1 2> /dev/null
22 23
	cd $(srcdir)/utils; $(DOXYGEN)
if !HAVE_DOXYGEN
24
	-touch $(man_MANS)
25 26
endif

27 28 29
coverage built-sources clean-built-sources:
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@

30 31 32 33 34
doxygen:
if HAVE_DOXYGEN
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@
endif

35
.PHONY: coverage built-sources clean-built-sources doxygen
36
.PHONY: manpages doxygen-manpages