archiveList complete with gateways, primitives, test and help
[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 src/c/dlManager.c \
60 src/c/convert_tools.c \
61 src/c/archive_list.c 
62
63 GATEWAY_SOURCES = \
64 sci_gateway/c/gw_fileio.c \
65 sci_gateway/c/sci_mfprintf.c \
66 sci_gateway/c/sci_mscanf.c \
67 sci_gateway/c/sci_msscanf.c \
68 sci_gateway/c/sci_mfscanf.c \
69 sci_gateway/c/sci_fprintfMat.c \
70 sci_gateway/c/sci_fscanfMat.c \
71 sci_gateway/c/sci_findfiles.c \
72 sci_gateway/c/sci_maxfiles.c \
73 sci_gateway/c/sci_getdrives.c \
74 sci_gateway/c/sci_fullpath.c \
75 sci_gateway/c/sci_deletefile.c \
76 sci_gateway/c/sci_pathsep.c \
77 sci_gateway/c/sci_filesep.c \
78 sci_gateway/c/sci_getshortpathname.c \
79 sci_gateway/c/sci_getlongpathname.c \
80 sci_gateway/c/sci_fileext.c \
81 sci_gateway/c/sci_isdir.c \
82 sci_gateway/c/sci_removedir.c \
83 sci_gateway/c/sci_createdir.c \
84 sci_gateway/c/sci_chdir.c \
85 sci_gateway/c/sci_pwd.c \
86 sci_gateway/c/sci_mclearerr.c \
87 sci_gateway/c/sci_mclose.c \
88 sci_gateway/c/sci_merror.c \
89 sci_gateway/c/sci_mget.c \
90 sci_gateway/c/sci_mgetl.c \
91 sci_gateway/c/sci_mgetstr.c \
92 sci_gateway/c/sci_moef.c \
93 sci_gateway/c/sci_mopen.c \
94 sci_gateway/c/sci_mput.c \
95 sci_gateway/c/sci_mputstr.c \
96 sci_gateway/c/sci_mseek.c \
97 sci_gateway/c/sci_mtell.c \
98 sci_gateway/c/sci_fileinfo.c \
99 sci_gateway/c/sci_newest.c \
100 sci_gateway/c/sci_get_absolute_file_path.c  \
101 sci_gateway/c/sci_getrelativefilename.c \
102 sci_gateway/c/sci_copyfile.c \
103 sci_gateway/c/sci_fileparts.c \
104 sci_gateway/c/sci_movefile.c \
105 sci_gateway/c/sci_basename.c \
106 sci_gateway/c/sci_pathconvert.c \
107 sci_gateway/c/sci_isfile.c \
108 sci_gateway/c/sci_mputl.c \
109 sci_gateway/c/sci_tempname.c \
110 sci_gateway/c/sci_getURL.c \
111 sci_gateway/c/sci_splitURL.c \
112 sci_gateway/c/sci_archive_list.c 
113
114 libscifileio_la_CPPFLAGS = -I$(srcdir)/includes/ \
115                                 -I$(srcdir)/src/c/ \
116                                 -I$(top_srcdir)/modules/output_stream/includes/ \
117                                 -I$(top_srcdir)/modules/io/includes/ \
118                                 -I$(top_srcdir)/modules/api_scilab/includes/ \
119                                 -I$(top_srcdir)/modules/string/includes/ \
120                                 -I$(top_srcdir)/modules/localization/includes/ \
121                                 -I$(top_srcdir)/modules/preferences/includes/ \
122                                 $(XML_FLAGS) \
123                                 $(CURL_CFLAGS) \
124                                 $(LIBARCHIVE_CFLAGS) \
125                                 $(AM_CPPFLAGS)
126
127 if MAINTAINER_MODE
128 pkglib_LTLIBRARIES = libscifileio.la
129 noinst_LTLIBRARIES = libscifileio-algo.la
130 else
131 noinst_LTLIBRARIES = libscifileio-algo.la libscifileio.la
132 endif
133
134
135
136 libscifileio_algo_la_SOURCES = $(FILEIO_SOURCES)
137 libscifileio_la_SOURCES = $(GATEWAY_SOURCES) $(GATEWAY_CXX_SOURCES)
138 libscifileio_algo_la_CPPFLAGS = $(libscifileio_la_CPPFLAGS)
139 libscifileio_algo_la_LIBADD = $(CURL_LIBS)  $(LIBARCHIVE_LIBS)
140
141 # For the code check (splint)
142 CHECK_SRC= $(FILEIO_SOURCES) $(GATEWAY_SOURCES)
143 INCLUDE_FLAGS = $(libscifileio_la_CPPFLAGS)
144
145 # pb of order $(top_builddir)/modules/console/libsciconsole.la
146 libscifileio_la_LIBADD = libscifileio-algo.la $(CURL_LIBS)
147
148 #### Target ######
149 modulename=fileio
150
151
152 #### fileio : Conf files ####
153 libscifileio_la_rootdir = $(mydatadir)
154 libscifileio_la_root_DATA =  license.txt 
155
156
157 #### fileio : init scripts ####
158 libscifileio_la_etcdir = $(mydatadir)/etc
159 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
160
161 #### fileio : gateway declaration ####
162 libscifileio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
163 libscifileio_la_sci_gateway_DATA = sci_gateway/fileio_gateway.xml
164
165 #### fileio : include files ####
166 libscifileio_la_includedir=$(pkgincludedir)
167 libscifileio_la_include_HEADERS = includes/getFullFilename.h \
168 includes/dynlib_fileio.h
169
170 include $(top_srcdir)/Makefile.incl.am