2016-11-28 21:35:09 +00:00
|
|
|
ACLOCAL_AMFLAGS=-I build
|
|
|
|
EXTRA_DIST =
|
|
|
|
SUBDIRS = . test
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
|
|
|
AM_CFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/src/include
|
|
|
|
|
2017-01-16 18:13:40 +00:00
|
|
|
noinst_LTLIBRARIES = libunqlite.la
|
|
|
|
libunqlite_la_SOURCES = src/unqlite.c
|
|
|
|
libunqlite_la_CFLAGS = -DUNQLITE_ENABLE_THREADS
|
|
|
|
libunqlite_la_LIBADD = -lpthread
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libblade.la
|
2017-02-09 17:08:07 +00:00
|
|
|
libblade_la_SOURCES = src/blade.c src/blade_stack.c src/bpcp.c src/blade_datastore.c
|
2017-02-14 19:04:48 +00:00
|
|
|
libblade_la_SOURCES += src/blade_rpcproto.c
|
2017-02-09 17:08:07 +00:00
|
|
|
libblade_la_SOURCES += src/blade_identity.c src/blade_module.c src/blade_connection.c src/blade_module_wss.c
|
2017-02-21 16:37:50 +00:00
|
|
|
libblade_la_SOURCES += src/blade_session.c src/blade_protocol.c
|
2017-01-16 18:13:40 +00:00
|
|
|
libblade_la_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
|
2017-01-27 19:49:02 +00:00
|
|
|
libblade_la_LDFLAGS = -version-info 0:1:0 -lncurses -lpthread -lm -lconfig $(AM_LDFLAGS)
|
2017-01-16 18:13:40 +00:00
|
|
|
libblade_la_LIBADD = libunqlite.la
|
2016-11-28 21:35:09 +00:00
|
|
|
library_includedir = $(prefix)/include
|
2017-02-09 17:08:07 +00:00
|
|
|
library_include_HEADERS = src/include/blade.h src/include/blade_types.h src/include/blade_stack.h
|
2017-02-14 19:04:48 +00:00
|
|
|
library_include_HEADERS += src/include/bpcp.h src/include/blade_datastore.h src/include/blade_rpcproto.h
|
2017-02-21 16:37:50 +00:00
|
|
|
library_include_HEADERS += src/include/blade_identity.h src/include/blade_module.h src/include/blade_connection.h
|
|
|
|
library_include_HEADERS += src/include/blade_session.h src/include/blade_protocol.h
|
2017-01-16 17:33:41 +00:00
|
|
|
library_include_HEADERS += src/include/unqlite.h test/tap.h
|
2016-11-28 21:35:09 +00:00
|
|
|
|
|
|
|
tests: libblade.la
|
|
|
|
$(MAKE) -C test tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|