* Bug 12837 fixed: strcmpi() actual removal
[scilab.git] / scilab / modules / helptools / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2008 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 if GUI
7 if BUILD_HELP
8
9 USEANT=1
10
11 HELPTOOLS_SOURCES = \
12     src/jni/BuildDocObject.cpp \
13         src/jni/SciDocMain.cpp
14
15 GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_buildDoc.cpp
16
17 GIWS_WRAPPERS = \
18     src/jni/BuildDocObject.giws.xml \
19         src/jni/BuildDocObjectv2.giws.xml
20
21 libscihelptools_la_LIBADD = \
22     libscihelptools-algo.la \
23     $(top_builddir)/modules/commons/libscicommons.la
24
25 libscihelptools_algo_la_SOURCES =  $(HELPTOOLS_SOURCES)
26 libscihelptools_algo_la_CPPFLAGS = $(libscihelptools_la_CPPFLAGS)
27 noinst_LTLIBRARIES = libscihelptools-algo.la
28
29 HELPTOOLS_DISABLE_CPP_SOURCES = sci_gateway/nogui/nogui.cpp
30
31 if GIWS
32 BUILT_SOURCES=giws
33 endif
34
35 else
36 GATEWAY_CXX_SOURCES = sci_gateway/nogui/nogui.cpp
37 endif
38
39 else
40 GATEWAY_CXX_SOURCES = sci_gateway/nogui/nogui.cpp
41 endif
42
43 pkglib_LTLIBRARIES = libscihelptools.la libscihelptools-disable.la
44
45 libscihelptools_la_CPPFLAGS= \
46         $(JAVA_JNI_INCLUDE) \
47         -I$(srcdir)/src/jni/ \
48         -I$(srcdir)/includes/ \
49     -I$(top_srcdir)/modules/ast/includes/ast/ \
50     -I$(top_srcdir)/modules/ast/includes/exps/ \
51     -I$(top_srcdir)/modules/ast/includes/operations/ \
52     -I$(top_srcdir)/modules/ast/includes/parse/ \
53     -I$(top_srcdir)/modules/ast/includes/symbol/ \
54     -I$(top_srcdir)/modules/ast/includes/system_env/ \
55     -I$(top_srcdir)/modules/ast/includes/types/ \
56     -I$(top_srcdir)/modules/ast/includes/analysis/ \
57         -I$(top_srcdir)/modules/localization/includes/ \
58         -I$(top_srcdir)/modules/jvm/includes/ \
59         -I$(top_srcdir)/modules/output_stream/includes/ \
60         -I$(top_srcdir)/modules/api_scilab/includes/ \
61         -I$(top_srcdir)/modules/commons/src/jni \
62         -I$(top_srcdir)/modules/dynamic_link/includes \
63         -I$(top_srcdir)/modules/string/includes \
64         $(AM_CPPFLAGS)
65
66 libscihelptools_la_SOURCES =  $(GATEWAY_CXX_SOURCES)
67
68 libscihelptools_disable_la_CPPFLAGS = $(libscihelptools_la_CPPFLAGS)
69
70 libscihelptools_disable_la_SOURCES =  $(HELPTOOLS_DISABLE_CPP_SOURCES)
71
72 # For the code check (splint)
73 INCLUDE_FLAGS = $(libscihelptools_la_CFLAGS)
74
75
76 #### Target ######
77 modulename=helptools
78
79 #### helptools : Conf files ####
80 libscihelptools_la_rootdir = $(mydatadir)
81 libscihelptools_la_root_DATA =  license.txt
82
83 #### helptools : init scripts ####
84 libscihelptools_la_etcdir = $(mydatadir)/etc
85 libscihelptools_la_etc_DATA = etc/helptools.quit etc/helptools.start etc/MAIN_CHAPTERS etc/fopconf.xml etc/SciDocConf.xml
86
87 #### helptools : gateway declaration ####
88 libscihelptools_la_sci_gatewaydir = $(mydatadir)/sci_gateway
89 libscihelptools_la_sci_gateway_DATA = sci_gateway/helptools_gateway.xml
90
91 #### New documentation generation system
92 libscihelptools_la_data_configurationdir = $(mydatadir)/data/configuration
93 libscihelptools_la_data_configuration_DATA = data/configuration/scilab_primitives.txt \
94 data/configuration/scilab_macros.txt
95
96 libscihelptools_la_data_templatedir = $(mydatadir)/data/template
97 libscihelptools_la_data_template_DATA = data/template/template_chm.html \
98 data/template/template_html.html \
99 data/template/template_javahelp.html \
100 data/template/template_web.html
101 libscihelptools_la_data_cssdir = $(mydatadir)/data/css
102 libscihelptools_la_data_css_DATA = data/css/scilab_code.css \
103 data/css/c_code.css \
104 data/css/xml_code.css \
105 data/css/style.css
106
107 libscihelptools_la_xsl_fodir = $(mydatadir)/xsl/fo
108 libscihelptools_la_xsl_fo_DATA = xsl/fo/docbook.xsl
109
110
111 #### helptools : schema files ####
112 libscihelptools_la_schemadir = $(mydatadir)/schema
113 libscihelptools_la_schema_DATA = \
114 schema/docbook.rng \
115 schema/dbits.rng \
116 schema/mathml3-common.rng \
117 schema/docbookxi.rng \
118 schema/mathml3-content.rng \
119 schema/mathml3.rng \
120 schema/scilab.rng \
121 schema/mathml3-presentation.rng \
122 schema/extendedStyle.xsl
123
124 #### helptools : pages files ####
125 libscihelptools_la_data_pagesdir = $(mydatadir)/data/pages
126 libscihelptools_la_data_pages_DATA = \
127 data/pages/CHANGES.html \
128 data/pages/error.html \
129 data/pages/homepage-en_US.html \
130 data/pages/homepage-fr_FR.html \
131 data/pages/ban-en_US.png \
132 data/pages/ban-fr_FR.png
133
134 mostlyclean-local:
135         rm -rf web javaHelp html pdf
136
137 include $(top_srcdir)/Makefile.incl.am
138