* Bug #12383 fixed - csvRead memory leak
[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/csv_complex.c \
11 src/c/csvDefault.c \
12 src/c/csvIsnum.c \
13 src/c/csvRead.c \
14 src/c/csv_strsubst.c \
15 src/c/csvWrite.c \
16 src/c/getRange.c \
17 src/c/latintoutf.c \
18 src/c/splitLine.c \
19 src/c/stringToComplex.c \
20 src/c/utftolatin.c
21
22 RIPOLE_SOURCES = \
23 src/c/ripole/olestream-unwrap.c \
24 src/c/ripole/pldstr.c \
25 src/c/ripole/ole.c \
26 src/c/ripole/bytedecoders.c \
27 src/c/ripole/logger.c \
28 src/c/ripole/ripole.c \
29 src/c/ripole/bt-int.c
30
31 GATEWAY_C_SOURCES = \
32 sci_gateway/c/gw_spreadsheet.c \
33 sci_gateway/c/sci_xls_read.c \
34 sci_gateway/c/sci_xls_open.c \
35 sci_gateway/c/gw_csv_helpers.c \
36 sci_gateway/c/sci_csvDefault.c \
37 sci_gateway/c/sci_csvIsnum.c \
38 sci_gateway/c/sci_csvRead.c \
39 sci_gateway/c/sci_csvStringToDouble.c \
40 sci_gateway/c/sci_csvTextScan.c \
41 sci_gateway/c/sci_csvWrite.c
42
43 libscispreadsheet_la_CPPFLAGS = \
44 -I$(srcdir)/includes/ \
45 -I$(srcdir)/src/c/ \
46 -I$(srcdir)/src/c/ripole \
47 -I$(top_srcdir)/modules/localization/includes/ \
48 -I$(top_srcdir)/modules/output_stream/includes/ \
49 -I$(top_srcdir)/modules/io/includes/ \
50 -I$(top_srcdir)/modules/string/src/c/ \
51 -I$(top_srcdir)/modules/string/includes/ \
52 -I$(top_srcdir)/modules/api_scilab/includes/ \
53 -I$(top_srcdir)/modules/fileio/includes/ \
54 $(AM_CPPFLAGS)
55
56 pkglib_LTLIBRARIES = libscispreadsheet.la
57 noinst_LTLIBRARIES = libscispreadsheet-algo.la
58
59
60 libscispreadsheet_algo_la_SOURCES = $(SPREADSHEET_C_SOURCES) $(RIPOLE_SOURCES)
61 libscispreadsheet_la_SOURCES = $(GATEWAY_C_SOURCES)
62 libscispreadsheet_algo_la_CPPFLAGS = $(libscispreadsheet_la_CPPFLAGS)
63
64 # For the code check (splint)
65 CHECK_SRC= $(SPREADSHEET_C_SOURCES) $(GATEWAY_C_SOURCES) $(RIPOLE_SOURCES)
66 INCLUDE_FLAGS = $(libscispreadsheet_la_CPPFLAGS)
67
68 libscispreadsheet_la_LIBADD = libscispreadsheet-algo.la 
69
70 #### Target ######
71 modulename=spreadsheet
72
73
74 #### spreadsheet : Conf files ####
75 libscispreadsheet_la_rootdir = $(mydatadir)
76 libscispreadsheet_la_root_DATA =  license.txt 
77
78
79 ####�spreadsheet : init scripts ####
80 libscispreadsheet_la_etcdir = $(mydatadir)/etc
81 libscispreadsheet_la_etc_DATA = etc/spreadsheet.quit etc/spreadsheet.start
82
83 ####�spreadsheet : gateway declaration ####
84 libscispreadsheet_la_sci_gatewaydir = $(mydatadir)/sci_gateway
85 libscispreadsheet_la_sci_gateway_DATA = sci_gateway/spreadsheet_gateway.xml
86
87 include $(top_srcdir)/Makefile.incl.am