Makefile.am 1.32 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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#
# Makefile.am for sdp module
#

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

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

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

noinst_LIBRARIES = 	libsdp.a

noinst_PROGRAMS = 	sdp_torture sdp_test sdp_objs.o

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

libsdp_a_SOURCES = 	sdp.c sdp_parse.c sdp_print.c \
			sdp_tag.c sdp_tag_ref.c

sdp_objs_o_SOURCES =	$(libsdp_a_SOURCES)
sdp_objs_o_LDADD =	

34 35
COVERAGE_INPUT = 	$(sdp_objs_o_SOURCES) $(include_HEADERS)

Pekka Pessi's avatar
Pekka Pessi committed
36 37 38 39 40 41
LDADD = 		libsdp.a \
			-L../su -lsu

# ----------------------------------------------------------------------
# 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