Makefile.am 1.4 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 15
S_BASE = $(top_srcdir)/libsofia-sip-ua
B_BASE = $(top_builddir)/libsofia-sip-ua

INCLUDES =		-I$(S_BASE)/su -I$(B_BASE)/su \
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
			$(GLIB_CFLAGS)

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

noinst_LTLIBRARIES = 	libsu-glib.la

noinst_PROGRAMS = 	su_source_test

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

TESTS = 		su_source_test

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

nobase_include_sofia_HEADERS = \
			sofia-sip/su_source.h

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)


if NDEBUG
AM_CFLAGS = -DNDEBUG
endif

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

# ----------------------------------------------------------------------
# Automake options

AUTOMAKE_OPTIONS = 	foreign

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

include ../../libsofia-sip-ua/sofia.am