Makefile.am 1.16 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#
# Makefile.am for soa module
#

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

INCLUDES = 		-I$(srcdir)/../sdp \
			-I$(srcdir)/../sip \
			-I$(srcdir)/../ipt \
			-I$(srcdir)/../su

# ----------------------------------------------------------------------
# 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
include_sofia_HEADERS =       soa.h soa_session.h soa_add.h soa_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
28

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

32
COVERAGE_INPUT = 	$(libsoa_la_SOURCES) $(include_sofia_HEADERS)
33

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

40 41
test_soa_LDFLAGS = 	-static

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

EXTRA_DIST =		Doxyfile soa.docs $(BUILT_SOURCES)

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

50
include ../sofia.am
Pekka Pessi's avatar
Pekka Pessi committed
51 52

TAG_DLL_FLAGS =		LIST=soa_tag_list