2016-11-23 19:23:33 +00:00
|
|
|
ACLOCAL_AMFLAGS=-I build
|
|
|
|
EXTRA_DIST =
|
|
|
|
SUBDIRS = . test
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
2016-12-20 22:07:11 +00:00
|
|
|
AM_CFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/src/include -I$(top_srcdir)/crypt -O0
|
2016-11-23 19:23:33 +00:00
|
|
|
AM_CPPFLAGS = $(AM_CFLAGS)
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libks.la
|
2017-02-28 00:53:15 +00:00
|
|
|
libks_la_SOURCES = src/ks.c src/ks_string.c src/ks_json.c src/cJSON.c src/cJSON_Utils.c src/ks_thread.c src/ks_thread_pool.c src/ks_mutex.c src/ks_config.c
|
2016-11-23 19:23:33 +00:00
|
|
|
libks_la_SOURCES += src/ks_log.c src/ks_socket.c src/ks_buffer.c src/ks_pool.c src/simclist.c
|
2017-03-22 22:47:33 +00:00
|
|
|
libks_la_SOURCES += src/ks_time.c src/ks_printf.c src/ks_hash.c src/ks_q.c src/ks_dso.c
|
2017-03-07 18:45:52 +00:00
|
|
|
libks_la_SOURCES += src/ks_ssl.c src/kws.c src/ks_rng.c src/ks_base64.c
|
2017-03-23 19:32:58 +00:00
|
|
|
libks_la_SOURCES += crypt/aeskey.c crypt/aestab.c crypt/sha2.c crypt/aes_modes.c crypt/aescrypt.c
|
2017-01-25 23:10:50 +00:00
|
|
|
libks_la_SOURCES += src/ks_acl.c
|
2016-11-23 19:23:33 +00:00
|
|
|
|
|
|
|
libks_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
libks_la_CPPFLAGS = -DPOSIX
|
|
|
|
libks_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:1:0 -lncurses -lpthread -lm
|
|
|
|
|
|
|
|
library_includedir = $(prefix)/include
|
|
|
|
library_include_HEADERS = src/include/ks_config.h src/include/ks.h src/include/ks_threadmutex.h src/include/ks_json.h src/include/ks_buffer.h
|
2017-02-28 00:53:15 +00:00
|
|
|
library_include_HEADERS += src/include/ks_thread_pool.h src/include/ks_cJSON.h src/include/ks_cJSON_Utils.h
|
2016-11-23 19:23:33 +00:00
|
|
|
library_include_HEADERS += src/include/ks_pool.h src/include/simclist.h src/include/ks_time.h src/include/ks_q.h src/include/ks_socket.h
|
2017-03-22 22:47:33 +00:00
|
|
|
library_include_HEADERS += src/include/ks_dso.h src/include/ks_platform.h src/include/ks_types.h src/include/ks_rng.h
|
2017-03-07 18:45:52 +00:00
|
|
|
library_include_HEADERS += src/include/ks_printf.h src/include/ks_hash.h src/include/ks_ssl.h src/include/kws.h
|
|
|
|
library_include_HEADERS += src/include/ks_base64.h
|
2017-03-22 23:29:03 +00:00
|
|
|
library_include_HEADERS += src/include/ks_acl.h
|
2016-11-23 19:23:33 +00:00
|
|
|
|
|
|
|
tests: libks.la
|
|
|
|
$(MAKE) -C test tests
|