Makefile.am 1.25 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7
#
# Makefile.am for soa module
#

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

Pekka Pessi's avatar
Pekka Pessi committed
8 9 10 11
INCLUDES = 		-I$(srcdir)/../sdp -I../sdp \
			-I$(srcdir)/../sip -I../sip \
			-I$(srcdir)/../ipt -I../ipt \
			-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
12 13 14 15

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

Pekka Pessi's avatar
Pekka Pessi committed
16
noinst_LTLIBRARIES = 	libsoa.la
Pekka Pessi's avatar
Pekka Pessi committed
17

Pekka Pessi's avatar
Pekka Pessi committed
18
noinst_PROGRAMS =	test_soa
Pekka Pessi's avatar
Pekka Pessi committed
19 20 21 22 23 24 25 26

TESTS = 		test_soa

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

BUILT_SOURCES =		soa_tag_ref.c

27 28 29
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
30

Pekka Pessi's avatar
Pekka Pessi committed
31
libsoa_la_SOURCES = 	soa.c soa_static.c \
Pekka Pessi's avatar
Pekka Pessi committed
32
			soa_tag.c soa_tag_ref.c 
Pekka Pessi's avatar
Pekka Pessi committed
33

34
COVERAGE_INPUT = 	$(libsoa_la_SOURCES) $(include_sofia_HEADERS)
35

Pekka Pessi's avatar
Pekka Pessi committed
36 37 38 39 40
LDADD = 		libsoa.la \
			../sip/libsip.la \
			../sdp/libsdp.la \
			../ipt/libipt.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
41

42 43
test_soa_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
44 45 46 47 48 49 50 51
# ----------------------------------------------------------------------
# Install and distribution rules

EXTRA_DIST =		Doxyfile soa.docs $(BUILT_SOURCES)

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

52
include ../sofia.am
53 54

TAG_DLL_FLAGS =		LIST=soa_tag_list