Makefile.am 1.31 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7 8 9 10 11 12
#
# Makefile.am for sdp module
#

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

INCLUDES = 		-I$(srcdir)/../su

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

13
noinst_LTLIBRARIES = 	libsdp.la
Pekka Pessi's avatar
Pekka Pessi committed
14

15
noinst_PROGRAMS = 	sdp_torture sdp_test
Pekka Pessi's avatar
Pekka Pessi committed
16 17 18 19 20 21 22 23 24 25 26 27

dist_noinst_SCRIPTS =	run-tests

TESTS = 		sdp_torture run-tests

BUILT_SOURCES =		sdp_tag_ref.c

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

include_HEADERS =       sdp.h sdp_tag.h

28
libsdp_la_SOURCES = 	sdp.c sdp_parse.c sdp_print.c \
Pekka Pessi's avatar
Pekka Pessi committed
29 30
			sdp_tag.c sdp_tag_ref.c

Pekka Pessi's avatar
Pekka Pessi committed
31
COVERAGE_INPUT = 	$(libsdp_la_SOURCES) $(include_HEADERS)
32

33 34
LDADD = 		libsdp.la \
			../su/libsu.la
Pekka Pessi's avatar
Pekka Pessi committed
35

36 37 38
sdp_test_LDFLAGS = 	-static
sdp_torture_LDFLAGS = 	-static

Pekka Pessi's avatar
Pekka Pessi committed
39 40 41
# ----------------------------------------------------------------------
# Install and distribution rules

42 43 44 45 46 47 48 49 50 51 52
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
53 54 55 56 57

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

include $(srcdir)/../sofia.am