2012-11-01 05:56:52 -07:00
|
|
|
|
|
|
|
### Library
|
|
|
|
|
|
|
|
lib_LTLIBRARIES += lib/eet/libeet.la
|
|
|
|
|
|
|
|
installed_eetmainheadersdir = $(includedir)/eet-@VMAJ@
|
|
|
|
dist_installed_eetmainheaders_DATA = lib/eet/Eet.h
|
|
|
|
|
|
|
|
lib_eet_libeet_la_SOURCES = \
|
|
|
|
lib/eet/Eet_private.h \
|
|
|
|
lib/eet/eet_alloc.c \
|
|
|
|
lib/eet/eet_cipher.c \
|
|
|
|
lib/eet/eet_connection.c \
|
|
|
|
lib/eet/eet_data.c \
|
|
|
|
lib/eet/eet_dictionary.c \
|
|
|
|
lib/eet/eet_image.c \
|
|
|
|
lib/eet/eet_lib.c \
|
|
|
|
lib/eet/eet_node.c \
|
|
|
|
lib/eet/eet_utils.c \
|
2012-11-01 09:58:56 -07:00
|
|
|
static_libs/lz4/lz4.c \
|
|
|
|
static_libs/lz4/lz4.h \
|
|
|
|
static_libs/lz4/lz4hc.c \
|
|
|
|
static_libs/lz4/lz4hc.h
|
2012-11-01 05:56:52 -07:00
|
|
|
|
|
|
|
lib_eet_libeet_la_CPPFLAGS = \
|
2012-11-01 09:58:56 -07:00
|
|
|
-I$(top_srcdir)/src/static_libs/lz4 \
|
2012-11-01 05:56:52 -07:00
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
2012-11-01 09:45:53 -07:00
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/eet\" \
|
2013-01-14 14:36:23 -08:00
|
|
|
@EET_CFLAGS@
|
|
|
|
lib_eet_libeet_la_LIBADD = @EET_LIBS@
|
|
|
|
lib_eet_libeet_la_DEPENDENCIES = @EET_INTERNAL_LIBS@
|
2012-12-30 14:15:29 -08:00
|
|
|
lib_eet_libeet_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
2012-11-01 05:56:52 -07:00
|
|
|
|
2012-11-01 09:58:56 -07:00
|
|
|
EXTRA_DIST += static_libs/lz4/README
|
2012-11-01 05:56:52 -07:00
|
|
|
|
|
|
|
### Binary
|
|
|
|
|
|
|
|
bin_PROGRAMS += bin/eet/eet
|
|
|
|
|
|
|
|
bin_eet_eet_SOURCES = bin/eet/eet_main.c
|
|
|
|
|
|
|
|
bin_eet_eet_CPPFLAGS = \
|
|
|
|
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
|
|
|
|
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
|
2013-01-04 08:28:22 -08:00
|
|
|
-DPACKAGE_DATA_DIR=\"$(datadir)/eet\" \
|
2013-01-14 14:36:23 -08:00
|
|
|
@EET_CFLAGS@
|
2012-11-01 05:56:52 -07:00
|
|
|
|
2013-01-14 14:36:23 -08:00
|
|
|
bin_eet_eet_LDADD = @USE_EET_LIBS@
|
|
|
|
bin_eet_eet_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
|
2012-11-17 23:12:38 -08:00
|
|
|
|
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/eet/eet_suite
|
|
|
|
|
|
|
|
tests_eet_eet_suite_SOURCES = \
|
|
|
|
tests/eet/eet_suite.c \
|
|
|
|
tests/eet/eet_data_suite.c \
|
|
|
|
tests/eet/eet_suite.h
|
|
|
|
|
|
|
|
tests_eet_eet_suite_CPPFLAGS = \
|
2012-12-20 13:30:25 -08:00
|
|
|
-DTESTS_WD=\"`pwd`\" \
|
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet\" \
|
2012-11-17 23:12:38 -08:00
|
|
|
@CHECK_CFLAGS@ \
|
|
|
|
@EET_CFLAGS@
|
2013-01-14 14:36:23 -08:00
|
|
|
tests_eet_eet_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@
|
|
|
|
tests_eet_eet_suite_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
|
2012-11-17 23:12:38 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
tests/eet/cert.pem \
|
|
|
|
tests/eet/key_enc_none.pem \
|
|
|
|
tests/eet/key_enc.pem \
|
|
|
|
tests/eet/key.pem
|