Makefile.am 1.53 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
#
# Makefile.am for soa module
#
Pekka Pessi's avatar
Pekka Pessi committed
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 \
Kai Vehmanen's avatar
Kai Vehmanen committed
16
			-I$(srcdir)/../bnf -I../bnf \
Pekka Pessi's avatar
Pekka Pessi committed
17
			-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
18 19 20 21

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

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

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

TESTS = 		test_soa

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

BUILT_SOURCES =		soa_tag_ref.c

33 34 35
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
36

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

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

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

51 52
test_soa_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
53 54 55 56 57 58 59 60
# ----------------------------------------------------------------------
# Install and distribution rules

EXTRA_DIST =		Doxyfile soa.docs $(BUILT_SOURCES)

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

61
include ../sofia.am
62 63

TAG_DLL_FLAGS =		LIST=soa_tag_list