* Bug #14397 fixed - mgeti did not read u-int64 > 2^52
[scilab.git] / scilab / modules / fileio / 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 FILEIO_C_SOURCES = \
8     src/c/FileExist.c \
9     src/c/scanf_functions.c \
10     src/c/do_xxscanf.c \
11     src/c/findfiles.c \
12     src/c/Status2Mode.c \
13     src/c/getdrives.c \
14     src/c/deleteafile.c \
15     src/c/getshortpathname.c \
16     src/c/getlongpathname.c \
17     src/c/FindFileExtension.c \
18     src/c/URIFileToFilename.c \
19     src/c/createdirectory.c \
20     src/c/isdir.c \
21     src/c/isDrive.c \
22     src/c/removedir.c \
23     src/c/cluni0.c \
24     src/c/scicurdir.c \
25     src/c/fileinfo.c \
26     src/c/getrelativefilename.c \
27     src/c/splitpath.c \
28     src/c/movefile.c \
29     src/c/basename.c \
30     src/c/pathconvert.c \
31     src/c/copyfile_others.c \
32     src/c/getFullFilename.c \
33     src/c/os_wfopen.c \
34     src/c/fscanfMat.c \
35     src/c/fprintfMat.c \
36     src/c/createtempfilename.c \
37         src/c/dlManager.c \
38         src/c/convert_tools.c
39
40 GATEWAY_C_SOURCES = \
41     sci_gateway/c/sci_fprintfMat.c \
42     sci_gateway/c/sci_fscanfMat.c \
43     sci_gateway/c/sci_chdir.c \
44     sci_gateway/c/sci_pwd.c \
45     sci_gateway/c/sci_copyfile.c \
46     sci_gateway/c/sci_tempname.c \
47     sci_gateway/c/sci_movefile.c \
48         sci_gateway/c/sci_getURL.c \
49         sci_gateway/c/sci_splitURL.c
50
51 GATEWAY_CPP_SOURCES = \
52         sci_gateway/cpp/fileio_gw.cpp \
53         sci_gateway/cpp/sci_mopen.cpp \
54         sci_gateway/cpp/sci_mclose.cpp \
55         sci_gateway/cpp/sci_mget.cpp \
56         sci_gateway/cpp/sci_mgeti.cpp \
57         sci_gateway/cpp/sci_mput.cpp \
58         sci_gateway/cpp/sci_mputl.cpp \
59         sci_gateway/cpp/sci_mgetl.cpp \
60         sci_gateway/cpp/sci_pathconvert.cpp \
61         sci_gateway/cpp/sci_isdir.cpp \
62         sci_gateway/cpp/sci_filesep.cpp \
63         sci_gateway/cpp/sci_fileparts.cpp \
64         sci_gateway/cpp/sci_findfiles.cpp \
65         sci_gateway/cpp/sci_basename.cpp \
66         sci_gateway/cpp/sci_fileinfo.cpp \
67         sci_gateway/cpp/sci_isfile.cpp \
68         sci_gateway/cpp/sci_deletefile.cpp \
69         sci_gateway/cpp/sci_getshortpathname.cpp \
70         sci_gateway/cpp/sci_getlongpathname.cpp \
71         sci_gateway/cpp/sci_fileext.cpp \
72         sci_gateway/cpp/sci_createdir.cpp \
73         sci_gateway/cpp/sci_fullpath.cpp \
74         sci_gateway/cpp/sci_removedir.cpp \
75         sci_gateway/cpp/sci_meof.cpp \
76         sci_gateway/cpp/sci_mputstr.cpp \
77         sci_gateway/cpp/sci_mgetstr.cpp \
78         sci_gateway/cpp/sci_mseek.cpp \
79         sci_gateway/cpp/sci_mtell.cpp \
80         sci_gateway/cpp/sci_newest.cpp \
81         sci_gateway/cpp/sci_merror.cpp \
82         sci_gateway/cpp/sci_mclearerr.cpp \
83         sci_gateway/cpp/sci_get_absolute_file_path.cpp \
84         sci_gateway/cpp/sci_getrelativefilename.cpp \
85         sci_gateway/cpp/sci_pathsep.cpp \
86         sci_gateway/cpp/sci_mfprintf.cpp \
87         sci_gateway/cpp/sci_mfscanf.cpp \
88         sci_gateway/cpp/sci_mscanf.cpp \
89         sci_gateway/cpp/sci_msscanf.cpp \
90         sci_gateway/cpp/sci_getdrives.cpp
91
92 FILEIO_CPP_SOURCES = \
93         src/cpp/expandPathVariable.cpp \
94         src/cpp/filemanager_interface.cpp \
95         src/cpp/fullpath.cpp \
96         src/cpp/mopen.cpp \
97         src/cpp/mclose.cpp \
98         src/cpp/mput.cpp \
99         src/cpp/mget.cpp \
100         src/cpp/mputl.cpp \
101         src/cpp/mgetl.cpp \
102         src/cpp/mgetstr.cpp \
103         src/cpp/filemanager.cpp \
104         src/cpp/mseek.cpp \
105         src/cpp/mtell.cpp \
106         src/cpp/newest.cpp \
107         src/cpp/scilab_sscanf.cpp \
108     src/cpp/addfile.cpp \
109     src/cpp/delfile.cpp \
110     src/cpp/getfiledesc.cpp \
111     src/cpp/getfileinfo.cpp \
112     src/cpp/getfiletype.cpp
113
114 libscifileio_la_CPPFLAGS = \
115     -I$(srcdir)/includes/ \
116         -I$(srcdir)/src/c/ \
117         -I$(srcdir)/src/cpp/ \
118     -I$(top_srcdir)/modules/ast/includes/ast/ \
119     -I$(top_srcdir)/modules/ast/includes/exps/ \
120     -I$(top_srcdir)/modules/ast/includes/operations/ \
121     -I$(top_srcdir)/modules/ast/includes/parse/ \
122     -I$(top_srcdir)/modules/ast/includes/symbol/ \
123     -I$(top_srcdir)/modules/ast/includes/system_env/ \
124     -I$(top_srcdir)/modules/ast/includes/types/ \
125     -I$(top_srcdir)/modules/ast/includes/analysis/ \
126         -I$(top_srcdir)/modules/api_scilab/includes \
127         -I$(top_srcdir)/modules/output_stream/includes \
128         -I$(top_srcdir)/modules/functions_manager/includes \
129         -I$(top_srcdir)/modules/string/includes \
130         -I$(top_srcdir)/modules/io/includes \
131         -I$(top_srcdir)/modules/threads/includes \
132         -I$(top_srcdir)/modules/console/includes \
133         -I$(top_srcdir)/modules/localization/includes \
134         -I$(top_srcdir)/modules/dynamic_link/includes \
135         -I$(top_srcdir)/modules/preferences/includes \
136         $(HDF5_CFLAGS) \
137         $(XML_FLAGS) \
138         $(CURL_CFLAGS) \
139         $(AM_CPPFLAGS)
140
141
142 if MAINTAINER_MODE
143 pkglib_LTLIBRARIES = libscifileio.la
144 noinst_LTLIBRARIES = libscifileio-algo.la
145 else
146 noinst_LTLIBRARIES = libscifileio-algo.la libscifileio.la
147 endif
148
149
150
151 libscifileio_algo_la_SOURCES = $(FILEIO_C_SOURCES) $(FILEIO_CPP_SOURCES) $(FILEIO_FORTRAN_SOURCES)
152 libscifileio_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
153 libscifileio_algo_la_CPPFLAGS = $(libscifileio_la_CPPFLAGS)
154 libscifileio_algo_la_LDFLAGS = $(CURL_LIBS)
155
156 # For the code check (splint)
157 CHECK_SRC= $(FILEIO_C_SOURCES) $(FILEIO_CPP_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
158 INCLUDE_FLAGS = $(libscifileio_la_CPPFLAGS)
159
160 # pb of order $(top_builddir)/modules/console/libsciconsole.la
161 libscifileio_la_LIBADD = libscifileio-algo.la
162
163 #### Target ######
164 modulename=fileio
165
166
167 #### fileio : Conf files ####
168 libscifileio_la_rootdir = $(mydatadir)
169 libscifileio_la_root_DATA =  license.txt
170
171
172 #### fileio : init scripts ####
173 libscifileio_la_etcdir = $(mydatadir)/etc
174 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
175
176 #### fileio : include files ####
177 libscifileio_la_includedir=$(pkgincludedir)
178 libscifileio_la_include_HEADERS = includes/getFullFilename.h \
179 includes/dynlib_fileio.h
180
181 #### fileio : CSV import GUI library
182 MACROSDIRSEXT= macros/importgui
183
184 include $(top_srcdir)/Makefile.incl.am