* isnum has been redesigned in native code. Up to 130x performance
[scilab.git] / scilab / modules / spreadsheet / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6
7 SPREADSHEET_C_SOURCES = \
8 src/c/xls.c \
9 src/c/checkCsvWriteFormat.c \
10 src/c/csvDefault.c \
11 src/c/csvRead.c \
12 src/c/csvWrite.c \
13 src/c/getRange.c \
14 src/c/splitLine.c \
15 src/c/utftolatin.c
16
17 RIPOLE_SOURCES = \
18 src/c/ripole/olestream-unwrap.c \
19 src/c/ripole/pldstr.c \
20 src/c/ripole/ole.c \
21 src/c/ripole/bytedecoders.c \
22 src/c/ripole/logger.c \
23 src/c/ripole/ripole.c \
24 src/c/ripole/bt-int.c
25
26 GATEWAY_C_SOURCES = \
27 sci_gateway/c/gw_spreadsheet.c \
28 sci_gateway/c/sci_xls_read.c \
29 sci_gateway/c/sci_xls_open.c \
30 sci_gateway/c/gw_csv_helpers.c \
31 sci_gateway/c/sci_csvDefault.c \
32 sci_gateway/c/sci_csvRead.c \
33 sci_gateway/c/sci_csvStringToDouble.c \
34 sci_gateway/c/sci_csvTextScan.c \
35 sci_gateway/c/sci_csvWrite.c
36
37 libscispreadsheet_la_CPPFLAGS = \
38 -I$(srcdir)/includes/ \
39 -I$(srcdir)/src/c/ \
40 -I$(srcdir)/src/c/ripole \
41 -I$(top_srcdir)/modules/localization/includes/ \
42 -I$(top_srcdir)/modules/output_stream/includes/ \
43 -I$(top_srcdir)/modules/io/includes/ \
44 -I$(top_srcdir)/modules/string/src/c/ \
45 -I$(top_srcdir)/modules/string/includes/ \
46 -I$(top_srcdir)/modules/api_scilab/includes/ \
47 -I$(top_srcdir)/modules/fileio/includes/ \
48 $(AM_CPPFLAGS)
49
50 pkglib_LTLIBRARIES = libscispreadsheet.la
51 noinst_LTLIBRARIES = libscispreadsheet-algo.la
52
53
54 libscispreadsheet_algo_la_SOURCES = $(SPREADSHEET_C_SOURCES) $(RIPOLE_SOURCES)
55 libscispreadsheet_la_SOURCES = $(GATEWAY_C_SOURCES)
56 libscispreadsheet_algo_la_CPPFLAGS = $(libscispreadsheet_la_CPPFLAGS)
57
58 # For the code check (splint)
59 CHECK_SRC= $(SPREADSHEET_C_SOURCES) $(GATEWAY_C_SOURCES) $(RIPOLE_SOURCES)
60 INCLUDE_FLAGS = $(libscispreadsheet_la_CPPFLAGS)
61
62 libscispreadsheet_la_LIBADD = libscispreadsheet-algo.la
63
64 #### Target ######
65 modulename=spreadsheet
66
67
68 #### spreadsheet : Conf files ####
69 libscispreadsheet_la_rootdir = $(mydatadir)
70 libscispreadsheet_la_root_DATA =  license.txt
71
72
73 ####�spreadsheet : init scripts ####
74 libscispreadsheet_la_etcdir = $(mydatadir)/etc
75 libscispreadsheet_la_etc_DATA = etc/spreadsheet.quit etc/spreadsheet.start
76
77 ####�spreadsheet : gateway declaration ####
78 libscispreadsheet_la_sci_gatewaydir = $(mydatadir)/sci_gateway
79 libscispreadsheet_la_sci_gateway_DATA = sci_gateway/spreadsheet_gateway.xml
80
81 include $(top_srcdir)/Makefile.incl.am