Makefile.am 1.13 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
#
# Makefile.am for soa module
#

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

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

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

noinst_LIBRARIES = 	libsoa.a

noinst_PROGRAMS =	soa_objs.o test_soa

TESTS = 		test_soa

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

BUILT_SOURCES =		soa_tag_ref.c

include_HEADERS =       soa.h soa_session.h soa_add.h

Pekka Pessi's avatar
Pekka Pessi committed
29 30
libsoa_a_SOURCES = 	soa.c soa_static.c soa_asynch.c \
			soa_tag.c soa_tag_ref.c 
Pekka Pessi's avatar
Pekka Pessi committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

soa_objs_o_SOURCES =	$(libsoa_a_SOURCES)
soa_objs_o_LDADD =

LDADD = 		libsoa.a \
			-L../sip -lsip \
			-L../sdp -lsdp \
			-L../ipt -lipt \
			-L../su -lsu

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

EXTRA_DIST =		Doxyfile soa.docs $(BUILT_SOURCES)

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

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

TAG_DLL_FLAGS =		LIST=soa_tag_list