efl/src/Makefile_Eet.am

108 lines
2.2 KiB
Plaintext
Raw Normal View History

### 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@ \
-lm
lib_eet_libeet_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
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 \
sorry vincent. i know you dont like thus, but with this commit efl tree simply is broken and doesnt compile. error here: ... src/Makefile_Evas.am:1809: unterminated conditionals: HAVE_WINDOWS_TRUE src/Makefile.am:24: src/Makefile_Evas.am' included from here src/Makefile.am:128: unterminated conditionals: HAVE_WINDOWS_TRUE src/Makefile.am: installing ./depcomp' automake: #################### automake: ## Internal Error ## automake: #################### automake: undefined condition TRUE' for RECURSIVE_TARGETS' automake: RECURSIVE_TARGETS: automake: { automake: HAVE_WINDOWS => { automake: type: += automake: where: /usr/share/automake-1.11/am/texinfos.am: automake: comment: automake: value: dvi-recursive html-recursive info-recursive pdf-recursive ps-recursive \ automake: install-dvi-recursive \ automake: install-html-recursive \ automake: install-info-recursive \ automake: install-pdf-recursive \ automake: install-ps-recursive all-recursive check-recursive installcheck-recursive automake: owner: Automake automake: } automake: } automake: automake: Please contact <bug-automake@gnu.org>. at /usr/share/automake-1.11/Automake/Channels.pm line 657 Automake::Channels::msg('automake', '', 'undefined condition TRUE\' for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /usr/share/automake-1.11/Automake/ChannelDefs.pm line 208 Automake::ChannelDefs::prog_error('undefined condition TRUE\' for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /usr/share/automake-1.11/Automake/Item.pm line 94 Automake::Item::rdef('Automake::Variable=HASH(0x38cbe20)', 'Automake::Condition=HASH(0x2832a48)') called at /usr/bin/automake line 4102 Automake::handle_subdirs() called at /usr/bin/automake line 8305 Automake::generate_makefile('src/Makefile.am', 'src/Makefile.in') called at /usr/bin/automake line 8602 Automake::handle_makefile('src/Makefile.in') called at /usr/bin/automake line 8616 Automake::handle_makefiles_serial() called at /usr/bin/automake line 8769 autoreconf: automake failed with exit status: 255 ... i looked at the HAVE_WINDOWS if's and it seems fine to me - i couldnt find what was missing, so i had to resort to a revert instead of fix :( sorry :( SVN revision: 81267
2012-12-18 07:41:06 -08:00
-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 \
sorry vincent. i know you dont like thus, but with this commit efl tree simply is broken and doesnt compile. error here: ... src/Makefile_Evas.am:1809: unterminated conditionals: HAVE_WINDOWS_TRUE src/Makefile.am:24: src/Makefile_Evas.am' included from here src/Makefile.am:128: unterminated conditionals: HAVE_WINDOWS_TRUE src/Makefile.am: installing ./depcomp' automake: #################### automake: ## Internal Error ## automake: #################### automake: undefined condition TRUE' for RECURSIVE_TARGETS' automake: RECURSIVE_TARGETS: automake: { automake: HAVE_WINDOWS => { automake: type: += automake: where: /usr/share/automake-1.11/am/texinfos.am: automake: comment: automake: value: dvi-recursive html-recursive info-recursive pdf-recursive ps-recursive \ automake: install-dvi-recursive \ automake: install-html-recursive \ automake: install-info-recursive \ automake: install-pdf-recursive \ automake: install-ps-recursive all-recursive check-recursive installcheck-recursive automake: owner: Automake automake: } automake: } automake: automake: Please contact <bug-automake@gnu.org>. at /usr/share/automake-1.11/Automake/Channels.pm line 657 Automake::Channels::msg('automake', '', 'undefined condition TRUE\' for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /usr/share/automake-1.11/Automake/ChannelDefs.pm line 208 Automake::ChannelDefs::prog_error('undefined condition TRUE\' for RECURSIVE_TARGETS\'\x{a}RECURSIV...') called at /usr/share/automake-1.11/Automake/Item.pm line 94 Automake::Item::rdef('Automake::Variable=HASH(0x38cbe20)', 'Automake::Condition=HASH(0x2832a48)') called at /usr/bin/automake line 4102 Automake::handle_subdirs() called at /usr/bin/automake line 8305 Automake::generate_makefile('src/Makefile.am', 'src/Makefile.in') called at /usr/bin/automake line 8602 Automake::handle_makefile('src/Makefile.in') called at /usr/bin/automake line 8616 Automake::handle_makefiles_serial() called at /usr/bin/automake line 8769 autoreconf: automake failed with exit status: 255 ... i looked at the HAVE_WINDOWS if's and it seems fine to me - i couldnt find what was missing, so i had to resort to a revert instead of fix :( sorry :( SVN revision: 81267
2012-12-18 07:41:06 -08:00
-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