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

3 4 5 6 7 8
SUBDIRS = libsofia-sip-ua $(GLIB_SUBDIRS) utils packages
DIST_SUBDIRS = $(SUBDIRS) libsofia-sip-ua-glib win32

if HAVE_GLIB
GLIB_SUBDIRS = libsofia-sip-ua-glib
endif
Pekka Pessi's avatar
Pekka Pessi committed
9 10 11 12

PACKAGE = @PACKAGE@
VERSION = @VERSION@

13 14
EXTRA_DIST =	AUTHORS COPYING COPYRIGHTS \
		README README.developers RELEASE TODO
Pekka Pessi's avatar
Pekka Pessi committed
15 16 17

ACLOCAL_AMFLAGS = -I m4

18 19
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
20

Pekka Pessi's avatar
Pekka Pessi committed
21
dist_man_MANS = man/man1/sip-date.1 man/man1/sip-options.1 \
22 23
		man/man1/localinfo.1 man/man1/addrinfo.1 

24
manpages $(MANS):
Pekka Pessi's avatar
Pekka Pessi committed
25
	-mkdir -p $(srcdir)/man $(srcdir)/man/man1 2> /dev/null
26 27
	cd $(srcdir)/utils; $(DOXYGEN)
if !HAVE_DOXYGEN
28
	-touch $(MANS)
29 30
endif

31 32 33
coverage built-sources clean-built-sources:
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@

34 35 36 37 38
doxygen:
if HAVE_DOXYGEN
	@$(MAKE) $(AM_MAKEFLAGS) -C libsofia-sip-ua $@
endif

39
.PHONY: coverage built-sources clean-built-sources doxygen
40
.PHONY: manpages doxygen-manpages