summaryrefslogtreecommitdiff
path: root/modules/spreadsheet/Makefile.am
blob: 4b3857b52508178b39c15431f5d63611a139b368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
#
# This file is distributed under the same license as the Scilab package.


SPREADSHEET_C_SOURCES = \
src/c/xls.c \
src/c/checkCsvWriteFormat.c \
src/c/csvDefault.c \
src/c/csvRead.c \
src/c/csvWrite.c \
src/c/getRange.c \
src/c/splitLine.c \
src/c/utftolatin.c

RIPOLE_SOURCES = \
src/c/ripole/olestream-unwrap.c \
src/c/ripole/pldstr.c \
src/c/ripole/ole.c \
src/c/ripole/bytedecoders.c \
src/c/ripole/logger.c \
src/c/ripole/ripole.c \
src/c/ripole/bt-int.c

GATEWAY_C_SOURCES = \
sci_gateway/c/gw_spreadsheet.c \
sci_gateway/c/sci_xls_read.c \
sci_gateway/c/sci_xls_open.c \
sci_gateway/c/gw_csv_helpers.c \
sci_gateway/c/sci_csvDefault.c \
sci_gateway/c/sci_csvRead.c \
sci_gateway/c/sci_csvStringToDouble.c \
sci_gateway/c/sci_csvTextScan.c \
sci_gateway/c/sci_csvWrite.c

libscispreadsheet_la_CPPFLAGS = \
-I$(srcdir)/includes/ \
-I$(srcdir)/src/c/ \
-I$(srcdir)/src/c/ripole \
-I$(top_srcdir)/modules/localization/includes/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
-I$(top_srcdir)/modules/io/includes/ \
-I$(top_srcdir)/modules/string/src/c/ \
-I$(top_srcdir)/modules/string/includes/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/fileio/includes/ \
$(AM_CPPFLAGS)

pkglib_LTLIBRARIES = libscispreadsheet.la
noinst_LTLIBRARIES = libscispreadsheet-algo.la


libscispreadsheet_algo_la_SOURCES = $(SPREADSHEET_C_SOURCES) $(RIPOLE_SOURCES)
libscispreadsheet_la_SOURCES = $(GATEWAY_C_SOURCES)
libscispreadsheet_algo_la_CPPFLAGS = $(libscispreadsheet_la_CPPFLAGS)

# For the code check (splint)
CHECK_SRC= $(SPREADSHEET_C_SOURCES) $(GATEWAY_C_SOURCES) $(RIPOLE_SOURCES)
INCLUDE_FLAGS = $(libscispreadsheet_la_CPPFLAGS)

libscispreadsheet_la_LIBADD = libscispreadsheet-algo.la

#### Target ######
modulename=spreadsheet


#### spreadsheet : Conf files ####
libscispreadsheet_la_rootdir = $(mydatadir)
libscispreadsheet_la_root_DATA =  license.txt


####�spreadsheet : init scripts ####
libscispreadsheet_la_etcdir = $(mydatadir)/etc
libscispreadsheet_la_etc_DATA = etc/spreadsheet.quit etc/spreadsheet.start

####�spreadsheet : gateway declaration ####
libscispreadsheet_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscispreadsheet_la_sci_gateway_DATA = sci_gateway/spreadsheet_gateway.xml

include $(top_srcdir)/Makefile.incl.am