Makefile.am 1.51 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#
# Makefile.am for su-glib module
#
# Copyright (C) 2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
#

# ----------------------------------------------------------------------
# Headers

12 13 14
S_BASE = $(top_srcdir)/libsofia-sip-ua
B_BASE = $(top_builddir)/libsofia-sip-ua

15
INCLUDES =		-I$(S_BASE)/su -I$(B_BASE)/su $(GLIB_CFLAGS)
16 17 18 19 20 21

# ----------------------------------------------------------------------
# Build targets

noinst_LTLIBRARIES = 	libsu-glib.la

22
check_PROGRAMS = 	su_source_test torture_su_glib_timer
23 24 25 26

# ----------------------------------------------------------------------
# Tests

27
TESTS = 		su_source_test torture_su_glib_timer
28 29 30 31

# ----------------------------------------------------------------------
# Rules for building the targets

32 33 34
nobase_include_sofia_HEADERS =
if HAVE_GLIB
nobase_include_sofia_HEADERS += \
35 36
			sofia-sip/su_source.h \
			sofia-sip/su_glib.h
37
endif
38 39 40 41 42 43 44 45 46 47 48 49 50

libsu_glib_la_SOURCES = su_source.c

libsu_glib_la_DEPENDENCIES = \
			../../libsofia-sip-ua/libsofia-sip-ua.la

LDADD = 		libsu-glib.la \
			../../libsofia-sip-ua/libsofia-sip-ua.la \
			$(GLIB_LIBS)

# ----------------------------------------------------------------------
# Install and distribution rules

51
EXTRA_DIST =		Doxyfile su_glib.docs
52

53 54 55 56 57 58 59
# ----------------------------------------------------------------------
# Automake options

AUTOMAKE_OPTIONS = 	foreign

# ----------------------------------------------------------------------
# Sofia specific rules
60

61
include $(top_srcdir)/rules/sofia.am