Makefile.am 1.03 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#
# Makefile.am for sdp module
#

SUBDIRS = 		tests

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

LDADD = 		libsdp.a \
			-L../su -lsu

# ----------------------------------------------------------------------
# Install and distribution rules

EXTRA_DIST =		Doxyfile sdp.docs $(BUILT_SOURCES)

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

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