1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
4 # This file is distributed under the same license as the Scilab package.
9 src/c/scanf_functions.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 \
26 src/c/getrelativefilename.c \
31 src/c/copyfile_others.c \
32 src/c/getFullFilename.c \
36 src/c/createtempfilename.c \
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
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
92 FILEIO_CPP_SOURCES = \
93 src/cpp/expandPathVariable.cpp \
94 src/cpp/filemanager_interface.cpp \
95 src/cpp/fullpath.cpp \
102 src/cpp/mgetstr.cpp \
103 src/cpp/filemanager.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
114 libscifileio_la_CPPFLAGS = \
115 -I$(srcdir)/includes/ \
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 \
143 pkglib_LTLIBRARIES = libscifileio.la
144 noinst_LTLIBRARIES = libscifileio-algo.la
146 noinst_LTLIBRARIES = libscifileio-algo.la libscifileio.la
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)
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)
160 # pb of order $(top_builddir)/modules/console/libsciconsole.la
161 libscifileio_la_LIBADD = libscifileio-algo.la
167 #### fileio : Conf files ####
168 libscifileio_la_rootdir = $(mydatadir)
169 libscifileio_la_root_DATA = license.txt
172 #### fileio : init scripts ####
173 libscifileio_la_etcdir = $(mydatadir)/etc
174 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
176 #### fileio : include files ####
177 libscifileio_la_includedir=$(pkgincludedir)
178 libscifileio_la_include_HEADERS = includes/getFullFilename.h \
179 includes/dynlib_fileio.h
181 #### fileio : CSV import GUI library
182 MACROSDIRSEXT= macros/importgui
184 include $(top_srcdir)/Makefile.incl.am