2 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 # Copyright (C) 2011 - DIGITEO - Calixte DENIZET
5 # This file must be used under the terms of the CeCILL.
6 # This source file is licensed as described in the file COPYING, which
7 # you should have received as part of this distribution. The terms
8 # are also available at
9 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
16 #### xml : Conf files ####
17 libscixml_la_rootdir = $(mydatadir)
18 libscixml_la_root_DATA = license.txt
21 #### scinotes : init scripts & configuration files ####
22 libscixml_la_etcdir = $(mydatadir)/etc
23 libscixml_la_etc_DATA = etc/xml.quit \
26 include $(top_srcdir)/Makefile.incl.am
30 XML_C_SOURCES = src/c/XMLMlistsManagement.c
32 XML_CPP_SOURCES = src/cpp/VariableScope.cpp \
33 src/cpp/XMLObject.cpp \
34 src/cpp/XMLDocument.cpp \
35 src/cpp/XMLElement.cpp \
38 src/cpp/XMLNodeList.cpp \
39 src/cpp/XMLNodeSet.cpp \
40 src/cpp/XMLXPath.cpp \
42 src/cpp/XMLNotHandledElement.cpp \
43 src/cpp/XMLValidation.cpp \
44 src/cpp/XMLValidationDTD.cpp \
45 src/cpp/XMLValidationSchema.cpp \
46 src/cpp/XMLValidationRelaxNG.cpp
48 GATEWAY_C_SOURCES = sci_gateway/c/gw_xml.c
50 GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_xmlRead.cpp \
51 sci_gateway/cpp/sci_xmlXPath.cpp \
52 sci_gateway/cpp/sci_extraction.cpp \
53 sci_gateway/cpp/sci_insertion.cpp \
54 sci_gateway/cpp/sci_print.cpp \
55 sci_gateway/cpp/sci_xmlGetOpenStreams.cpp \
56 sci_gateway/cpp/sci_xmlClose.cpp \
57 sci_gateway/cpp/sci_xmlDump.cpp \
58 sci_gateway/cpp/sci_xmlReadStr.cpp \
59 sci_gateway/cpp/sci_xmlFormat.cpp \
60 sci_gateway/cpp/sci_percent_XMLList_e.cpp \
61 sci_gateway/cpp/sci_percent_XMLAttr_e.cpp \
62 sci_gateway/cpp/sci_percent_XMLList_size.cpp \
63 sci_gateway/cpp/sci_percent_XMLAttr_size.cpp \
64 sci_gateway/cpp/sci_percent_XMLList_length.cpp \
65 sci_gateway/cpp/sci_percent_XMLAttr_length.cpp \
66 sci_gateway/cpp/sci_percent_c_i_XMLAttr.cpp \
67 sci_gateway/cpp/sci_percent_s_i_XMLList.cpp \
68 sci_gateway/cpp/sci_xmlElement.cpp \
69 sci_gateway/cpp/sci_xmlDocument.cpp \
70 sci_gateway/cpp/sci_xmlNs.cpp \
71 sci_gateway/cpp/sci_xmlAddNs.cpp \
72 sci_gateway/cpp/sci_xmlGetNsByHref.cpp \
73 sci_gateway/cpp/sci_xmlGetNsByPrefix.cpp \
74 sci_gateway/cpp/sci_xmlWrite.cpp \
75 sci_gateway/cpp/sci_percent_foo_i_XMLList.cpp \
76 sci_gateway/cpp/sci_xmlValidationFile.cpp \
77 sci_gateway/cpp/sci_xmlValidate.cpp \
78 sci_gateway/cpp/sci_xmlIsValidObject.cpp \
79 sci_gateway/cpp/sci_xmlAsNumber.cpp \
80 sci_gateway/cpp/sci_xmlAsText.cpp \
81 sci_gateway/cpp/sci_xmlRemove.cpp \
82 sci_gateway/cpp/sci_xmlSetAttributes.cpp
84 libscixml_la_CFLAGS= -I$(srcdir)/includes/ \
85 -I$(top_srcdir)/libs/MALLOC/includes/ \
86 -I$(top_srcdir)/modules/core/includes \
87 -I$(top_srcdir)/modules/api_scilab/includes \
88 -I$(top_srcdir)/modules/output_stream/includes \
89 -I$(top_srcdir)/modules/string/includes \
90 -I$(top_srcdir)/modules/fileio/includes
93 libscixml_la_CPPFLAGS = -I$(srcdir)/includes/ \
94 -I$(srcdir)/src/cpp/ \
96 -I$(top_srcdir)/modules/api_scilab/includes \
97 -I$(top_srcdir)/modules/output_stream/includes \
98 -I$(top_srcdir)/modules/string/includes \
99 -I$(top_srcdir)/modules/fileio/includes \
103 pkglib_LTLIBRARIES = libscixml.la
104 noinst_LTLIBRARIES = libscixml-algo.la
106 noinst_LTLIBRARIES = libscixml-algo.la libscixml.la
109 libscixml_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS) $(X_LIBS) $(X_EXTRA_LIBS)
111 libscixml_algo_la_SOURCES = $(XML_C_SOURCES) $(XML_JNI_SOURCES) $(XML_CPP_SOURCES)
112 libscixml_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
113 libscixml_algo_la_CFLAGS = $(libscixml_la_CFLAGS)
114 libscixml_algo_la_CPPFLAGS = $(libscixml_la_CPPFLAGS)
116 libscixml_la_LIBADD = libscixml-algo.la
118 # For the code check (splint)
119 CHECK_SRC= $(XML_C_SOURCES) $(GATEWAY_C_SOURCES)
120 INCLUDE_FLAGS = $(libscixml_la_CFLAGS)
122 #### xml : include files ####
123 libscixml_la_includedir=$(pkgincludedir)
125 #### xml : gateway declaration ####
126 libscixml_la_sci_gatewaydir = $(mydatadir)/sci_gateway
127 libscixml_la_sci_gateway_DATA = sci_gateway/xml_gateway.xml