summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-02-20 19:36:03 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-02-20 20:23:24 +0900
commit6f8599360223b7139647611e1f9a9bdbe2ffe41e (patch)
treeaf45c30b5d772319cc3f6562dc1d51a22b4964c4 /doc
parent7e71c1838094fab0b8a7f3a0f967e27b200e7bc2 (diff)
doc: fix build on windows.
Diffstat (limited to 'doc')
-rw-r--r--doc/previews/Makefile.am65
1 files changed, 33 insertions, 32 deletions
diff --git a/doc/previews/Makefile.am b/doc/previews/Makefile.am
index 864e583..4337167 100644
--- a/doc/previews/Makefile.am
+++ b/doc/previews/Makefile.am
@@ -3,34 +3,35 @@ if EFL_BUILD_DOC
3.PHONY: doc 3.PHONY: doc
4 4
5AM_CPPFLAGS = \ 5AM_CPPFLAGS = \
6 -I$(abs_top_srcdir)/src/lib/eo \ 6-I$(top_builddir)/src/lib/efl \
7 -I$(abs_top_srcdir)/src/lib/efl \ 7-I. \
8 -I$(abs_top_srcdir)/src/lib/eina \ 8-I$(builddir) \
9 -I$(abs_top_srcdir)/src/lib/evas \ 9-I$(top_srcdir)/src/lib/evil \
10 -I$(abs_top_srcdir)/src/lib/ecore \ 10-I$(top_builddir)/src/lib/evil \
11 -I$(abs_top_srcdir)/src/lib/ecore_evas \ 11-I$(top_srcdir)/src/lib/eina \
12 -DEFL_BETA_API_SUPPORT=1 \ 12-I$(top_builddir)/src/lib/eina \
13 -DEFL_EO_API_SUPPORT=1 \ 13-I$(top_srcdir)/src/lib/eo \
14 -D_GNU_SOURCE 14-I$(top_builddir)/src/lib/eo \
15-I$(top_srcdir)/src/lib/eet \
16-I$(top_builddir)/src/lib/eet \
17-I$(top_srcdir)/src/lib/evas \
18-I$(top_builddir)/src/lib/evas \
19-I$(top_srcdir)/src/lib/ecore \
20-I$(top_builddir)/src/lib/ecore \
21-I$(top_srcdir)/src/lib/ecore_evas \
22-I$(top_builddir)/src/lib/ecore_evas \
23-DEFL_BETA_API_SUPPORT=1 \
24-DEFL_EO_API_SUPPORT=1 \
25@ECORE_EVAS_LDFLAGS@
15 26
16LDADD = \ 27LDADD = \
17 -L$(abs_top_builddir)/src/lib/eo/.libs \ 28$(top_builddir)/src/lib/eina/libeina.la \
18 -L$(abs_top_builddir)/src/lib/eina/.libs \ 29$(top_builddir)/src/lib/eo/libeo.la \
19 -L$(abs_top_builddir)/src/lib/ecore/.libs \ 30$(top_builddir)/src/lib/eet/libeet.la \
20 -L$(abs_top_builddir)/src/lib/evas/.libs \ 31$(top_builddir)/src/lib/evas/libevas.la \
21 -L$(abs_top_builddir)/src/lib/ecore_evas/.libs \ 32$(top_builddir)/src/lib/ecore/libecore.la \
22 -leo \ 33$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
23 -leina \ 34@ECORE_EVAS_LDFLAGS@
24 -levas \
25 -lecore \
26 -lecore_evas
27
28if HAVE_WIN32
29AM_CPPFLAGS += -I$(abs_top_srcdir)/src/lib/evil @EVIL_CFLAGS@
30LDADD += -L$(abs_top_builddir)/src/lib/evil/.libs \
31 -levil \
32 -ldl
33endif
34 35
35noinst_PROGRAMS = preview_text_filter 36noinst_PROGRAMS = preview_text_filter
36 37
@@ -40,22 +41,22 @@ HTMLDIR = ${abs_top_srcdir}/doc/html
40PREVIEWS = blend blur bump curve grow mask transform \ 41PREVIEWS = blend blur bump curve grow mask transform \
41 example_1 42 example_1
42 43
43previews-data: 44previews-data: preview_text_filter
44 $(MKDIR_P) $(DATADIR) 45 $(MKDIR_P) $(DATADIR)
45 $(MKDIR_P) $(HTMLDIR) 46 $(MKDIR_P) $(HTMLDIR)
46 @for a in $(PREVIEWS) ; do \ 47 @for a in $(PREVIEWS) ; do \
47 echo " GEN filter_$${a}.png" ; \ 48 echo " GEN filter_$${a}.png" ; \
48 FONT="Sans" ; \ 49 FONT="Sans" ; \
49 SIZE=24 ; \ 50 SIZE=24 ; \
50 FILTER=`cat ${abs_top_srcdir}/src/examples/evas/filters/filter_$${a}.txt` ; \ 51 FILTER=`cat ${top_srcdir}/src/examples/evas/filters/filter_$${a}.txt` ; \
51 if [ -e ${abs_top_srcdir}/doc/previews/filter_$${a}.sh ] ; then \ 52 if [ -e ${top_srcdir}/doc/previews/filter_$${a}.sh ] ; then \
52 source ${abs_top_srcdir}/doc/previews/filter_$${a}.sh ; \ 53 source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
53 fi ; \ 54 fi ; \
54 $(abs_top_srcdir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \ 55 $(top_builddir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \
55 cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \ 56 cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
56 done 57 done
57 58
58doc: Makefile preview_text_filter previews-data 59doc: Makefile previews-data
59 60
60endif 61endif
61 62