summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eina/Makefile.am26
-rw-r--r--legacy/eina/configure.in22
-rw-r--r--legacy/eina/doc/Makefile.am5
-rw-r--r--legacy/eina/src/include/Makefile.am8
4 files changed, 41 insertions, 20 deletions
diff --git a/legacy/eina/Makefile.am b/legacy/eina/Makefile.am
index 1a9109ec70..dc9596c9fd 100644
--- a/legacy/eina/Makefile.am
+++ b/legacy/eina/Makefile.am
@@ -4,34 +4,32 @@ ACLOCAL_AMFLAGS = -I m4
4 4
5SUBDIRS = src doc 5SUBDIRS = src doc
6 6
7DISTCLEANFILES = \
8eina-@VMAJ@.pc.in
9
7MAINTAINERCLEANFILES = \ 10MAINTAINERCLEANFILES = \
8Makefile.in \ 11Makefile.in \
9aclocal.m4 \ 12aclocal.m4 \
10config.guess \ 13config.guess \
11config.h.in \ 14config.h.in \
15config.h.in~ \
12config.sub \ 16config.sub \
13configure \ 17configure \
18depcomp \
14install-sh \ 19install-sh \
15ltconfig \ 20ltconfig \
16ltmain.sh \ 21ltmain.sh \
17missing mkinstalldirs \ 22missing
18stamp-h.in \
19build-stamp \
20configure-stamp \
21depcomp \
22eina.pc \
23eina_docs.tar.gz
24 23
25EXTRA_DIST = \ 24EXTRA_DIST = \
26AUTHORS \ 25AUTHORS \
27COPYING \ 26COPYING \
28gendoc \ 27OLD-COPYING.PLAIN \
29Doxyfile \
30README \ 28README \
31eina.pc 29eina-@VMAJ@.pc.in
32 30
33pkgconfigdir = $(libdir)/pkgconfig 31pkgconfigdir = $(libdir)/pkgconfig
34pkgconfig_DATA = eina.pc 32pkgconfig_DATA = eina-@VMAJ@.pc
35 33
36.PHONY: doc coverage benchmark 34.PHONY: doc coverage benchmark
37 35
@@ -76,9 +74,6 @@ coverage:
76 @make lcov-reset 74 @make lcov-reset
77 @make check 75 @make check
78 @make lcov-report 76 @make lcov-report
79
80clean-local:
81 @rm -rf coverage benchmark
82else 77else
83lcov-reset: 78lcov-reset:
84 @echo "reconfigure with --enable-coverage" 79 @echo "reconfigure with --enable-coverage"
@@ -102,3 +97,6 @@ else
102benchmark: 97benchmark:
103 @echo "reconfigure with --enable-bench" 98 @echo "reconfigure with --enable-bench"
104endif 99endif
100
101clean-local:
102 @rm -rf coverage benchmark
diff --git a/legacy/eina/configure.in b/legacy/eina/configure.in
index b6888e341a..31857e280d 100644
--- a/legacy/eina/configure.in
+++ b/legacy/eina/configure.in
@@ -285,7 +285,6 @@ case "${host_os}" in
285 EINA_CFLAGS="${EINA_CFLAGS} ${EVIL_CFLAGS}" 285 EINA_CFLAGS="${EINA_CFLAGS} ${EVIL_CFLAGS}"
286 ;; 286 ;;
287esac 287esac
288AC_SUBST(EINA_CFLAGS)
289 288
290if test "x$enable_coverage" = "xyes" ; then 289if test "x$enable_coverage" = "xyes" ; then
291 EINA_CFLAGS="${EINA_CFLAGS} ${DEBUG_CFLAGS}" 290 EINA_CFLAGS="${EINA_CFLAGS} ${DEBUG_CFLAGS}"
@@ -295,6 +294,8 @@ if ! test "${VMIC}" = "x" ; then
295 EINA_CFLAGS="${EINA_CFLAGS} -Wall -W -Wextra" # -Werror 294 EINA_CFLAGS="${EINA_CFLAGS} -Wall -W -Wextra" # -Werror
296fi 295fi
297 296
297AC_SUBST(EINA_CFLAGS)
298
298 299
299### Checks for linker characteristics 300### Checks for linker characteristics
300EINA_LIBS="" 301EINA_LIBS=""
@@ -317,11 +318,28 @@ AC_SUBST(lt_enable_auto_import)
317AC_FUNC_ALLOCA 318AC_FUNC_ALLOCA
318 319
319 320
321### Create the .pc.in file according to the major version
322cat > eina-${VMAJ}.pc.in << EOF
323prefix=@prefix@
324exec_prefix=@exec_prefix@
325libdir=@libdir@
326includedir=@includedir@
327
328Name: Eina
329Description: A Library that implements fast data types and miscellaneous tools
330Requires:
331Version: @VERSION@
332Libs: -L${libdir} -leina
333Libs.private: -ldl
334Cflags: -I${includedir}/eina-@VMAJ@ -I${includedir}/eina-@VMAJ@/eina
335EOF
336
337
320### Make the debug preprocessor configurable 338### Make the debug preprocessor configurable
321 339
322AC_CONFIG_FILES([ 340AC_CONFIG_FILES([
323Makefile 341Makefile
324eina.pc 342eina-${VMAJ}.pc
325doc/Makefile 343doc/Makefile
326src/Makefile 344src/Makefile
327src/include/Makefile 345src/include/Makefile
diff --git a/legacy/eina/doc/Makefile.am b/legacy/eina/doc/Makefile.am
index 975f39b05f..397357913b 100644
--- a/legacy/eina/doc/Makefile.am
+++ b/legacy/eina/doc/Makefile.am
@@ -1,6 +1,5 @@
1 1
2MAINTAINERCLEANFILES = \ 2MAINTAINERCLEANFILES = Makefile.in
3Makefile.in
4 3
5.PHONY: doc 4.PHONY: doc
6 5
@@ -19,3 +18,5 @@ endif
19 18
20clean-local: 19clean-local:
21 @rm -rf html/ latex/ man/ 20 @rm -rf html/ latex/ man/
21
22EXTRA_DIST = Doxyfile
diff --git a/legacy/eina/src/include/Makefile.am b/legacy/eina/src/include/Makefile.am
index 5fc561d051..5f3c6f033a 100644
--- a/legacy/eina/src/include/Makefile.am
+++ b/legacy/eina/src/include/Makefile.am
@@ -27,10 +27,14 @@ eina_inline_rbtree.x \
27eina_inline_mempool.x \ 27eina_inline_mempool.x \
28eina_iterator.h 28eina_iterator.h
29 29
30EXTRA_DIST = eina_config.h.in
31
32installed_mainheaderdir = $(prefix)/include/eina-@VMAJ@ 30installed_mainheaderdir = $(prefix)/include/eina-@VMAJ@
33installed_mainheader_DATA = Eina.h eina_config.h 31installed_mainheader_DATA = Eina.h eina_config.h
34 32
35installed_headersdir = $(prefix)/include/eina-@VMAJ@/eina 33installed_headersdir = $(prefix)/include/eina-@VMAJ@/eina
36installed_headers_DATA = $(EINAHEADERS) 34installed_headers_DATA = $(EINAHEADERS)
35
36EXTRA_DIST = \
37Eina.h \
38eina_config.h.in \
39$(EINAHEADERS) \
40eina_private.h