aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eet.am
blob: b860da7a88a9391e48ee5fb4a1f63202aeab7a16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106

### 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 \
static_libs/lz4/lz4.c \
static_libs/lz4/lz4.h \
static_libs/lz4/lz4hc.c \
static_libs/lz4/lz4hc.h

lib_eet_libeet_la_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_builddir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eet \
-I$(top_srcdir)/src/static_libs/lz4 \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/eet\" \
-DEFL_EET_BUILD \
@EFL_CFLAGS@ \
@EFL_COV_CFLAGS@ \
@EET_CFLAGS@ \
@USE_EVIL_CFLAGS@

lib_eet_libeet_la_LIBADD = \
lib/eina/libeina.la \
@USE_EVIL_LIBS@ \
@EET_LIBS@ \
@EFL_COV_LIBS@

lib_eet_libeet_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

EXTRA_DIST += static_libs/lz4/README

### Binary

bin_PROGRAMS += bin/eet/eet

bin_eet_eet_SOURCES = bin/eet/eet_main.c

bin_eet_eet_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_builddir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eet \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EFL_CFLAGS@ \
@EFL_COV_CFLAGS@ \
@EET_CFLAGS@ \
@USE_EVIL_CFLAGS@

bin_eet_eet_LDADD = \
lib/eet/libeet.la \
lib/eina/libeina.la \
@USE_EVIL_LIBS@ \
@EET_LIBS@ \
@EFL_COV_LIBS@

### 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 = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_builddir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eet \
-DTESTS_WD=\"`pwd`\" \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet\" \
@CHECK_CFLAGS@ \
@EET_CFLAGS@

tests_eet_eet_suite_LDADD = \
lib/eet/libeet.la \
lib/eina/libeina.la \
@CHECK_LIBS@ \
@EET_LIBS@

endif

EXTRA_DIST += \
tests/eet/cert.pem \
tests/eet/key_enc_none.pem \
tests/eet/key_enc.pem \
tests/eet/key.pem