aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eet.am
blob: b6a198f626cbcb9da840f8754d3f7f2b9de84ac3 (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

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

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

if HAVE_WINDOWS
lib_eet_libeet_la_CPPFLAGS += \
-I$(top_srcdir)/src/lib/evil \
-I$(top_builddir)/src/lib/evil
endif

lib_eet_libeet_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la

if HAVE_WINDOWS
lib_eet_libeet_la_LIBADD += $(top_builddir)/src/lib/evil/libevil.la
endif

lib_eet_libeet_la_LIBADD += @EET_LIBS@ -lm

lib_eet_libeet_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@

EXTRA_DIST += lib/eet/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_srcdir)/src/lib/eet \
-I$(top_builddir)/src/lib/eina \
-I$(top_builddir)/src/lib/eet \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EFL_CFLAGS@ \
@EET_CFLAGS@

if HAVE_WINDOWS
bin_eet_eet_CPPFLAGS += \
-I$(top_srcdir)/src/lib/evil \
-I$(top_builddir)/src/lib/evil
endif

bin_eet_eet_LDADD = \
$(top_builddir)/src/lib/eet/libeet.la \
$(top_builddir)/src/lib/eina/libeina.la

if HAVE_WINDOWS
bin_eet_eet_LDADD += $(top_builddir)/src/lib/evil/libevil.la
endif

bin_eet_eet_LDADD += @EET_LIBS@