Makefile.am 549 Bytes
Newer Older
johan's avatar
johan committed
1 2
lib_LTLIBRARIES = libbzrtp.la

johan's avatar
johan committed
3 4
libbzrtp_la_LIBADD= $(LIBXML2_LIBS)
libbzrtp_la_SOURCES=	bzrtp.c cryptoUtils.c packetParser.c zidCache.c stateMachine.c pgpwords.c
johan's avatar
johan committed
5 6 7

AM_CPPFLAGS= -I$(top_srcdir)/include

johan's avatar
johan committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
AM_CFLAGS= $(LIBXML2_CFLAGS)

if LIBPOLARSSL
libbzrtp_la_LIBADD += $(POLARSSL_LIBS)
libbzrtp_la_SOURCES +=	cryptoPolarssl.c
AM_CFLAGS += $(POLARSSL_CFLAGS)
endif

if LIBMBEDTLS
libbzrtp_la_LIBADD += $(MBEDTLS_LIBS)
libbzrtp_la_SOURCES +=	cryptoMbedtls.c
AM_CFLAGS += $(MBEDTLS_CFLAGS)
endif

libbzrtp_la_LDFLAGS=-fvisibility=hidden -no-undefined
johan's avatar
johan committed
23

johan's avatar
johan committed
24