aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eet.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
commit58a9a0ad574c417bbe56043f151fc91ceba78822 (patch)
tree7578110d789dfdd63bee714449f952bf13d27a23 /src/Makefile_Eet.am
parentmerge: fix installation of emnryo's default.inc file (diff)
downloadefl-58a9a0ad574c417bbe56043f151fc91ceba78822.tar.gz
merge: don't use recursive subdirs. Compilation should be faster.
Please check. note1: Only lib and bin for now, but should be extended to other stuff note2: distcheck does not work because eo_suite is failing. SVN revision: 78758
Diffstat (limited to 'src/Makefile_Eet.am')
-rw-r--r--src/Makefile_Eet.am88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/Makefile_Eet.am b/src/Makefile_Eet.am
new file mode 100644
index 0000000000..b6a198f626
--- /dev/null
+++ b/src/Makefile_Eet.am
@@ -0,0 +1,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@