tempname function added (it will be used to fix bug 9614)
[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_SOURCES = src/c/FileExist.c \
8 src/c/scanf_functions.c \
9 src/c/do_xxscanf.c \
10 src/c/findfiles.c \
11 src/c/Status2Mode.c \
12 src/c/addfile.c \
13 src/c/delfile.c \
14 src/c/filesmanagement.c \
15 src/c/getfiledesc.c \
16 src/c/getfileinfo.c \
17 src/c/getfiletype.c \
18 src/c/mclearerr.c \
19 src/c/mclose.c \
20 src/c/meof.c \
21 src/c/merror.c \
22 src/c/mget.c \
23 src/c/mgetl.c \
24 src/c/mgeti.c \
25 src/c/mgetstr.c \
26 src/c/mopen.c \
27 src/c/mput.c \
28 src/c/mputi.c \
29 src/c/mputstr.c \
30 src/c/mseek.c \
31 src/c/mtell.c \
32 src/c/readline.c \
33 src/c/getdrives.c \
34 src/c/deleteafile.c \
35 src/c/getshortpathname.c \
36 src/c/getlongpathname.c \
37 src/c/FindFileExtension.c \
38 src/c/URIFileToFilename.c \
39 src/c/createdirectory.c \
40 src/c/isdir.c \
41 src/c/isDrive.c \
42 src/c/removedir.c \
43 src/c/cluni0.c \
44 src/c/scicurdir.c \
45 src/c/fullpath.c \
46 src/c/fileinfo.c \
47 src/c/getrelativefilename.c \
48 src/c/splitpath.c \
49 src/c/movefile.c \
50 src/c/expandPathVariable.c \
51 src/c/basename.c \
52 src/c/pathconvert.c \
53 src/c/copyfile_others.c \
54 src/c/getFullFilename.c \
55 src/c/mputl.c \
56 src/c/fscanfMat.c \
57 src/c/fprintfMat.c \
58 src/c/createtempfilename.c
59
60
61 GATEWAY_SOURCES = \
62 sci_gateway/c/gw_fileio.c \
63 sci_gateway/c/sci_mfprintf.c \
64 sci_gateway/c/sci_mscanf.c \
65 sci_gateway/c/sci_msscanf.c \
66 sci_gateway/c/sci_mfscanf.c \
67 sci_gateway/c/sci_fprintfMat.c \
68 sci_gateway/c/sci_fscanfMat.c \
69 sci_gateway/c/sci_findfiles.c \
70 sci_gateway/c/sci_maxfiles.c \
71 sci_gateway/c/sci_getdrives.c \
72 sci_gateway/c/sci_fullpath.c \
73 sci_gateway/c/sci_deletefile.c \
74 sci_gateway/c/sci_pathsep.c \
75 sci_gateway/c/sci_filesep.c \
76 sci_gateway/c/sci_getshortpathname.c \
77 sci_gateway/c/sci_getlongpathname.c \
78 sci_gateway/c/sci_fileext.c \
79 sci_gateway/c/sci_isdir.c \
80 sci_gateway/c/sci_removedir.c \
81 sci_gateway/c/sci_createdir.c \
82 sci_gateway/c/sci_chdir.c \
83 sci_gateway/c/sci_pwd.c \
84 sci_gateway/c/sci_mclearerr.c \
85 sci_gateway/c/sci_mclose.c \
86 sci_gateway/c/sci_merror.c \
87 sci_gateway/c/sci_mget.c \
88 sci_gateway/c/sci_mgetl.c \
89 sci_gateway/c/sci_mgetstr.c \
90 sci_gateway/c/sci_moef.c \
91 sci_gateway/c/sci_mopen.c \
92 sci_gateway/c/sci_mput.c \
93 sci_gateway/c/sci_mputstr.c \
94 sci_gateway/c/sci_mseek.c \
95 sci_gateway/c/sci_mtell.c \
96 sci_gateway/c/sci_fileinfo.c \
97 sci_gateway/c/sci_newest.c \
98 sci_gateway/c/sci_get_absolute_file_path.c  \
99 sci_gateway/c/sci_getrelativefilename.c \
100 sci_gateway/c/sci_copyfile.c \
101 sci_gateway/c/sci_fileparts.c \
102 sci_gateway/c/sci_movefile.c \
103 sci_gateway/c/sci_basename.c \
104 sci_gateway/c/sci_pathconvert.c \
105 sci_gateway/c/sci_isfile.c \
106 sci_gateway/c/sci_mputl.c \
107 sci_gateway/c/sci_tempname.c
108
109
110 libscifileio_la_CPPFLAGS=       -I$(srcdir)/includes/ \
111                                 -I$(srcdir)/src/c/ \
112                                 -I$(top_srcdir)/libs/MALLOC/includes/ \
113                                 -I$(top_srcdir)/modules/api_scilab/includes \
114                                 -I$(top_srcdir)/modules/output_stream/includes
115
116 libscifileio_la_CFLAGS=         -I$(srcdir)/includes/ \
117                                 -I$(srcdir)/src/c/ \
118                                 -I$(top_srcdir)/libs/MALLOC/includes/ \
119                                 -I$(top_srcdir)/modules/output_stream/includes \
120                                 -I$(top_srcdir)/modules/io/includes \
121                                 -I$(top_srcdir)/modules/api_scilab/includes \
122                                 -I$(top_srcdir)/modules/string/includes \
123                                 -I$(top_srcdir)/modules/localization/includes
124
125 noinst_LTLIBRARIES = libscifileio-algo.la
126 pkglib_LTLIBRARIES = libscifileio.la
127
128 libscifileio_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
129
130 libscifileio_algo_la_SOURCES = $(FILEIO_SOURCES)
131 libscifileio_la_SOURCES = $(GATEWAY_SOURCES) $(GATEWAY_CPP_SOURCES)
132 libscifileio_algo_la_CFLAGS = $(libscifileio_la_CFLAGS)
133
134 # For the code check (splint)
135 CHECK_SRC= $(FILEIO_SOURCES) $(GATEWAY_SOURCES)
136 INCLUDE_FLAGS = $(libscifileio_la_CFLAGS)
137
138 # pb of order $(top_builddir)/modules/console/libsciconsole.la
139 libscifileio_la_LIBADD = libscifileio-algo.la \
140                                 $(top_builddir)/modules/string/libscistring.la \
141                                 $(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
142                                 $(top_builddir)/libs/MALLOC/libscimalloc.la \
143                                 $(top_builddir)/modules/output_stream/libscioutput_stream.la \
144                                 $(top_builddir)/libs/libst/libscilibst.la
145 #### Target ######
146 modulename=fileio
147
148
149 #### fileio : Conf files ####
150 libscifileio_la_rootdir = $(mydatadir)
151 libscifileio_la_root_DATA =  license.txt 
152
153
154 #### fileio : init scripts ####
155 libscifileio_la_etcdir = $(mydatadir)/etc
156 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
157
158 #### fileio : gateway declaration ####
159 libscifileio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
160 libscifileio_la_sci_gateway_DATA = sci_gateway/fileio_gateway.xml
161
162 #### fileio : include files ####
163 libscifileio_la_includedir=$(pkgincludedir)
164 libscifileio_la_include_HEADERS = includes/getFullFilename.h \
165 includes/dynlib_fileio.h
166
167 include $(top_srcdir)/Makefile.incl.am