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