Makefile.am 1.43 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 13
INCLUDES = 		-I$(srcdir)/../sdp -I../sdp \
			-I$(srcdir)/../sip -I../sip \
			-I$(srcdir)/../ipt -I../ipt \
14
			-I$(srcdir)/../ipt -I../bnf \
Pekka Pessi's avatar
Pekka Pessi committed
15
			-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
16 17 18 19

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

Pekka Pessi's avatar
Pekka Pessi committed
20
noinst_LTLIBRARIES = 	libsoa.la
Pekka Pessi's avatar
Pekka Pessi committed
21

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

TESTS = 		test_soa

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

BUILT_SOURCES =		soa_tag_ref.c

31 32 33
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
34

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

38
COVERAGE_INPUT = 	$(libsoa_la_SOURCES) $(include_sofia_HEADERS)
39

Pekka Pessi's avatar
Pekka Pessi committed
40 41 42 43
LDADD = 		libsoa.la \
			../sip/libsip.la \
			../sdp/libsdp.la \
			../ipt/libipt.la \
44
			../ipt/libbnf.la \
Pekka Pessi's avatar
Pekka Pessi committed
45
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
46

47 48
test_soa_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
49 50 51 52 53 54 55 56
# ----------------------------------------------------------------------
# Install and distribution rules

EXTRA_DIST =		Doxyfile soa.docs $(BUILT_SOURCES)

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

57
include ../sofia.am
58 59

TAG_DLL_FLAGS =		LIST=soa_tag_list