Fix some typos.
[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/output_stream/includes/ \
114                                 -I$(top_srcdir)/modules/io/includes/ \
115                                 -I$(top_srcdir)/modules/api_scilab/includes/ \
116                                 -I$(top_srcdir)/modules/string/includes/ \
117                                 -I$(top_srcdir)/modules/localization/includes/ \
118                                 $(AM_CPPFLAGS)
119
120 if MAINTAINER_MODE
121 pkglib_LTLIBRARIES = libscifileio.la
122 noinst_LTLIBRARIES = libscifileio-algo.la
123 else
124 noinst_LTLIBRARIES = libscifileio-algo.la libscifileio.la
125 endif
126
127
128
129 libscifileio_algo_la_SOURCES = $(FILEIO_SOURCES)
130 libscifileio_la_SOURCES = $(GATEWAY_SOURCES) $(GATEWAY_CXX_SOURCES)
131 libscifileio_algo_la_CPPFLAGS = $(libscifileio_la_CPPFLAGS)
132
133 # For the code check (splint)
134 CHECK_SRC= $(FILEIO_SOURCES) $(GATEWAY_SOURCES)
135 INCLUDE_FLAGS = $(libscifileio_la_CPPFLAGS)
136
137 # pb of order $(top_builddir)/modules/console/libsciconsole.la
138 libscifileio_la_LIBADD = libscifileio-algo.la
139
140 #### Target ######
141 modulename=fileio
142
143
144 #### fileio : Conf files ####
145 libscifileio_la_rootdir = $(mydatadir)
146 libscifileio_la_root_DATA =  license.txt 
147
148
149 #### fileio : init scripts ####
150 libscifileio_la_etcdir = $(mydatadir)/etc
151 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
152
153 #### fileio : gateway declaration ####
154 libscifileio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
155 libscifileio_la_sci_gateway_DATA = sci_gateway/fileio_gateway.xml
156
157 #### fileio : include files ####
158 libscifileio_la_includedir=$(pkgincludedir)
159 libscifileio_la_include_HEADERS = includes/getFullFilename.h \
160 includes/dynlib_fileio.h
161
162 include $(top_srcdir)/Makefile.incl.am