Makefile.am 1.63 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
#
# Makefile.am for soa module
#
4 5 6
# Copyright (C) 2005,2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
Pekka Pessi's avatar
Pekka Pessi committed
7 8 9 10

# ----------------------------------------------------------------------
# Header paths

Pekka Pessi's avatar
Pekka Pessi committed
11 12
INCLUDES = 		-I$(srcdir)/../sdp -I../sdp \
			-I$(srcdir)/../sip -I../sip \
13 14
			-I$(srcdir)/../msg -I../msg \
			-I$(srcdir)/../url -I../url \
Pekka Pessi's avatar
Pekka Pessi committed
15
			-I$(srcdir)/../ipt -I../ipt \
16
			-I$(srcdir)/../bnf -I../bnf \
17 18
			-I$(srcdir)/../su -I../su \
			-I$(top_srcdir)/s2check
Pekka Pessi's avatar
Pekka Pessi committed
19 20 21 22

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

23
noinst_LTLIBRARIES = 	libsoa.la
Pekka Pessi's avatar
Pekka Pessi committed
24

25
check_PROGRAMS =	test_soa
Pekka Pessi's avatar
Pekka Pessi committed
26 27 28 29 30 31 32 33

TESTS = 		test_soa

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

BUILT_SOURCES =		soa_tag_ref.c

34 35 36
nobase_include_sofia_HEADERS = \
			sofia-sip/soa.h sofia-sip/soa_session.h \
			sofia-sip/soa_add.h sofia-sip/soa_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
37

38
libsoa_la_SOURCES = 	soa.c soa_static.c \
39
			soa_tag.c soa_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
40

41
COVERAGE_INPUT = 	$(libsoa_la_SOURCES) $(include_sofia_HEADERS)
42

43
LDADD = 		libsoa.la \
44
			../sip/libsip.la \
45 46
			../msg/libmsg.la \
			../url/liburl.la \
47 48
			../sdp/libsdp.la \
			../ipt/libipt.la \
49
			../bnf/libbnf.la \
50
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
51

52 53 54
test_soa_LDADD = 	$(top_builddir)/s2check/libs2.a \
			$(LDADD)

55 56
test_soa_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
57 58 59
# ----------------------------------------------------------------------
# Install and distribution rules

60
EXTRA_DIST =		soa.docs $(BUILT_SOURCES)
Pekka Pessi's avatar
Pekka Pessi committed
61 62 63 64

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

65
include $(top_srcdir)/rules/sofia.am
66

67
TAG_DLL_FLAGS =		LIST=soa_tag_list