Makefile.am 1.48 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
#
# Makefile.am for sdp 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
INCLUDES = 		-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
12 13 14 15

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

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

18
check_PROGRAMS = 	torture_sdp test_sdp
Pekka Pessi's avatar
Pekka Pessi committed
19

20
dist_noinst_SCRIPTS =	run_test_sdp
Pekka Pessi's avatar
Pekka Pessi committed
21

22
TESTS = 		torture_sdp run_test_sdp
Pekka Pessi's avatar
Pekka Pessi committed
23 24 25 26 27 28

BUILT_SOURCES =		sdp_tag_ref.c

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

29 30
nobase_include_sofia_HEADERS = \
			sofia-sip/sdp.h sofia-sip/sdp_tag.h
Pekka Pessi's avatar
Pekka Pessi committed
31

32
libsdp_la_SOURCES = 	sdp.c sdp_parse.c sdp_print.c \
33
			sdp_tag.c sdp_tag_ref.c
Pekka Pessi's avatar
Pekka Pessi committed
34

35
COVERAGE_INPUT = 	$(libsdp_la_SOURCES) $(include_sofia_HEADERS)
36

37 38
LDADD = 		libsdp.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
39

40 41
test_sdp_LDFLAGS = 	-static
torture_sdp_LDFLAGS = 	-static
42

Pekka Pessi's avatar
Pekka Pessi committed
43 44 45
# ----------------------------------------------------------------------
# Install and distribution rules

46 47 48 49 50 51 52 53 54 55 56
EXTRA_DIST =		Doxyfile sdp.docs $(BUILT_SOURCES) \
			tests/message-1.sdp \
			tests/message-2.sdp \
			tests/message-3.sdp \
			tests/message-4.sdp \
			tests/message-5.sdp \
			tests/message-6.sdp \
			tests/message-7.sdp \
			tests/message-8.sdp \
			tests/message-9.sdp \
			tests/message-10.sdp
Pekka Pessi's avatar
Pekka Pessi committed
57 58 59 60

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

61
include ../sofia.am