forked from Mirrors/freeswitch
38 lines
1.9 KiB
Makefile
38 lines
1.9 KiB
Makefile
ACLOCAL_AMFLAGS=-I build
|
|
EXTRA_DIST =
|
|
SUBDIRS = . test
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
AM_CFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/src/include
|
|
|
|
noinst_LTLIBRARIES = libunqlite.la
|
|
libunqlite_la_SOURCES = src/unqlite.c
|
|
libunqlite_la_CFLAGS = -DUNQLITE_ENABLE_THREADS
|
|
libunqlite_la_LIBADD = -lpthread
|
|
|
|
lib_LTLIBRARIES = libblade.la
|
|
libblade_la_SOURCES = src/blade.c src/blade_stack.c
|
|
libblade_la_SOURCES += src/blade_datastore.c
|
|
libblade_la_SOURCES += src/blade_identity.c src/blade_module.c src/blade_connection.c
|
|
libblade_la_SOURCES += src/blade_session.c src/blade_protocol.c src/blade_space.c src/blade_method.c
|
|
libblade_la_SOURCES += src/blade_module_wss.c
|
|
libblade_la_SOURCES += src/dht/ks_dht.c src/dht/ks_dht_datagram.c src/dht/ks_dht_endpoint.c src/dht/ks_dht_message.c src/dht/ks_dht_transaction.c
|
|
libblade_la_SOURCES += src/dht/ks_dht_job.c src/dht/ks_dht_search.c src/dht/ks_dht_publish.c src/dht/ks_dht_distribute.c src/dht/ks_dht_storageitem.c
|
|
libblade_la_SOURCES += src/dht/ks_dht_bucket.c src/ks_bencode.c
|
|
|
|
libblade_la_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
|
|
libblade_la_LDFLAGS = -version-info 0:1:0 -lncurses -lpthread -lm -lconfig $(AM_LDFLAGS)
|
|
libblade_la_LIBADD = libunqlite.la
|
|
|
|
library_includedir = $(prefix)/include
|
|
library_include_HEADERS = src/include/blade.h src/include/blade_types.h src/include/blade_stack.h
|
|
library_include_HEADERS += src/include/blade_datastore.h
|
|
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 src/include/blade_space.h src/include/blade_method.h
|
|
library_include_HEADERS += src/include/blade_module_wss.h
|
|
library_include_HEADERS += src/include/unqlite.h test/tap.h
|
|
library_include_HEADERS += src/include/ks_dht.h src/include/ks_bencode.h
|
|
|
|
tests: libblade.la
|
|
$(MAKE) -C test tests
|