|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
|
|
|
|
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
|
|
|
$(LIBSXMP_CFLAGS) -I../include
|
|
|
|
|
|
|
|
AM_CFLAGS =\
|
|
|
|
-Wall\
|
|
|
|
-g
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libsxmp.la
|
|
|
|
|
|
|
|
|
|
|
|
libsxmp_la_SOURCES = \
|
|
|
|
sxmplv2.c hub.c channel.c message.c rpc.c \
|
|
|
|
uuid.c stream_generic_listops.c stream.c \
|
|
|
|
error.c
|
|
|
|
|
|
|
|
libsxmp_la_LDFLAGS =
|
|
|
|
|
|
|
|
libsxmp_la_LIBADD = -lpthread -lcrypto $(OPENSSL_LIBS)
|
|
|
|
|
|
|
|
if COND_WIN32
|
|
|
|
|
|
|
|
libsxmp_la_LDFLAGS += -no-undefined
|
|
|
|
libsxmp_la_LIBADD += -lmman -luuid /mingw64/lib/libsexpr.a /mingw64/lib/libtdata.a
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
libsxmp_la_LIBADD += $(LIBUUID_LIBS) ../tdata/.libs/libtdata.la \
|
|
|
|
../sexpr/.libs/libsexpr.la ../sxt/.libs/libsxt.la
|
|
|
|
|
|
|
|
endif !COND_WIN32
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libsxmp.pc
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
libsxmp.pc.in
|
|
|
|
|