summaryrefslogtreecommitdiffstats
path: root/scilab/modules/fileio/Makefile.am
blob: be7f46c285ee34f3b7f58bbfb7213ef2ebbd8f1f (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
##########
### Sylvestre Ledru <sylvestre.ledru@inria.fr>
### INRIA - Scilab 2006
##########

FILEIO_SOURCES = src/c/FileExist.c \
src/c/scanf_functions.c \
src/c/do_xxscanf.c \
src/c/findfiles.c \
src/c/Status2Mode.c \
src/c/addfile.c \
src/c/delfile.c \
src/c/filesmanagement.c \
src/c/getfiledesc.c \
src/c/getfileinfo.c \
src/c/getfiletype.c \
src/c/mclearerr.c \
src/c/mclose.c \
src/c/meof.c \
src/c/merror.c \
src/c/mget.c \
src/c/mgetl.c \
src/c/mgeti.c \
src/c/mgetstr.c \
src/c/mopen.c \
src/c/mput.c \
src/c/mputi.c \
src/c/mputstr.c \
src/c/mseek.c \
src/c/mtell.c \
src/c/readline.c \
src/c/getdrives.c \
src/c/deleteafile.c \
src/c/getshortpathname.c \
src/c/getlongpathname.c \
src/c/FindFileExtension.c \
src/c/URIFileToFilename.c \
src/c/createdirectory.c \
src/c/isdir.c \
src/c/isDrive.c \
src/c/removedir.c \
src/c/cluni0.c \
src/c/scicurdir.c \
src/c/fullpath.c \
src/c/fileinfo.c \
src/c/getrelativefilename.c \
src/c/splitpath.c \
src/c/movefile.c \
src/c/expandPathVariable.c \
src/c/basename.c \
src/c/pathconvert.c \
src/c/copyfile_others.c \
src/c/getFullFilename.c

GATEWAY_SOURCES = \
sci_gateway/c/gw_fileio.c \
sci_gateway/c/sci_mfprintf.c \
sci_gateway/c/sci_mscanf.c \
sci_gateway/c/sci_msscanf.c \
sci_gateway/c/sci_mfscanf.c \
sci_gateway/c/sci_fprintfMat.c \
sci_gateway/c/sci_fscanfMat.c \
sci_gateway/c/sci_findfiles.c \
sci_gateway/c/sci_maxfiles.c \
sci_gateway/c/sci_getdrives.c \
sci_gateway/c/sci_fullpath.c \
sci_gateway/c/sci_deletefile.c \
sci_gateway/c/sci_pathsep.c \
sci_gateway/c/sci_filesep.c \
sci_gateway/c/sci_getshortpathname.c \
sci_gateway/c/sci_getlongpathname.c \
sci_gateway/c/sci_fileext.c \
sci_gateway/c/sci_isdir.c \
sci_gateway/c/sci_removedir.c \
sci_gateway/c/sci_createdir.c \
sci_gateway/c/sci_chdir.c \
sci_gateway/c/sci_pwd.c \
sci_gateway/c/sci_mclearerr.c \
sci_gateway/c/sci_mclose.c \
sci_gateway/c/sci_merror.c \
sci_gateway/c/sci_mget.c \
sci_gateway/c/sci_mgetl.c \
sci_gateway/c/sci_mgetstr.c \
sci_gateway/c/sci_moef.c \
sci_gateway/c/sci_mopen.c \
sci_gateway/c/sci_mput.c \
sci_gateway/c/sci_mputstr.c \
sci_gateway/c/sci_mseek.c \
sci_gateway/c/sci_mtell.c \
sci_gateway/c/sci_fileinfo.c \
sci_gateway/c/sci_newest.c \
sci_gateway/c/sci_get_absolute_file_path.c  \
sci_gateway/c/sci_getrelativefilename.c \
sci_gateway/c/sci_copyfile.c \
sci_gateway/c/sci_fileparts.c \
sci_gateway/c/sci_movefile.c \
sci_gateway/c/sci_basename.c \
sci_gateway/c/sci_pathconvert.c \
sci_gateway/c/sci_isfile.c


libscifileio_la_CXXFLAGS=	-I$(srcdir)/includes/ \
				-I$(srcdir)/src/c/ \
				-I$(top_srcdir)/libs/MALLOC/includes/ \
				-I$(top_srcdir)/modules/api_scilab/includes \
				-I$(top_srcdir)/modules/output_stream/includes

libscifileio_la_CFLAGS=		-I$(srcdir)/includes/ \
				-I$(srcdir)/src/c/ \
				-I$(top_srcdir)/libs/MALLOC/includes/ \
				-I$(top_srcdir)/modules/output_stream/includes \
				-I$(top_srcdir)/modules/io/includes \
				-I$(top_srcdir)/modules/api_scilab/includes \
				-I$(top_srcdir)/modules/string/includes \
				-I$(top_srcdir)/modules/localization/includes

pkglib_LTLIBRARIES = libscifileio.la

libscifileio_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

libscifileio_la_SOURCES = $(FILEIO_SOURCES) $(GATEWAY_SOURCES) $(GATEWAY_CPP_SOURCES)

# For the code check (splint)
CHECK_SRC= $(FILEIO_SOURCES) $(GATEWAY_SOURCES)
INCLUDE_FLAGS = $(libscifileio_la_CFLAGS)

# pb of order $(top_builddir)/modules/shell/libscishell.la
libscifileio_la_LIBADD =  	$(top_builddir)/modules/core/libscicore.la \
				$(top_builddir)/modules/string/libscistring.la \
				$(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
				$(top_builddir)/libs/MALLOC/libscimalloc.la \
				$(top_builddir)/modules/output_stream/libscioutput_stream.la \
				$(top_builddir)/libs/libst/libscilibst.la
#### Target ######
modulename=fileio


#### fileio : Conf files ####
libscifileio_la_rootdir = $(mydatadir)
libscifileio_la_root_DATA = changelog.txt license.txt readme.txt version.xml


#### fileio : init scripts ####
libscifileio_la_etcdir = $(mydatadir)/etc
libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start

#### fileio : gateway declaration ####
libscifileio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscifileio_la_sci_gateway_DATA = sci_gateway/fileio_gateway.xml

include $(top_srcdir)/Makefile.incl.am