add filesep & pathsep functions
[scilab.git] / scilab / modules / fileio / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006 
4 ##########
5
6 FILEIO_SOURCES = src/c/FileExist.c \
7 src/c/xls.c \
8 src/c/fileio.c \
9 src/c/olestream-unwrap.c \
10 src/c/pldstr.c \
11 src/c/ole.c \
12 src/c/bytedecoders.c \
13 src/c/logger.c \
14 src/c/ripole.c \
15 src/c/bt-int.c \
16 src/c/do_xxprintf.c \
17 src/c/do_xxscanf.c \
18 src/c/findfiles.c \
19 src/c/Status2Mode.c \
20 src/c/addfile.c \
21 src/c/delfile.c \
22 src/c/getfiledesc.c \
23 src/c/getfileinfo.c \
24 src/c/getfiletype.c \
25 src/c/mclearerr.c \
26 src/c/mclose.c \
27 src/c/meof.c \
28 src/c/merror.c \
29 src/c/mget.c \
30 src/c/mgetstr.c \
31 src/c/mopen.c \
32 src/c/mput.c \
33 src/c/mputstr.c \
34 src/c/mseek.c \
35 src/c/mtell.c \
36 src/c/diary.c \
37 src/c/readline.c \
38 src/c/getdrives.c \
39 src/c/deleteafile.c
40
41
42 GATEWAY_SOURCES = \
43 sci_gateway/c/sci_xls_read.c \
44 sci_gateway/c/gw_fileio.c \
45 sci_gateway/c/sci_fileio.c \
46 sci_gateway/c/sci_xls_open.c \
47 sci_gateway/c/intreadxls.c \
48 sci_gateway/c/sci_mfprintf.c \
49 sci_gateway/c/sci_mprintf.c \
50 sci_gateway/c/sci_msprintf.c \
51 sci_gateway/c/sci_mscanf.c \
52 sci_gateway/c/sci_msscanf.c \
53 sci_gateway/c/sci_mfscanf.c \
54 sci_gateway/c/sci_fprintfMat.c \
55 sci_gateway/c/sci_NumTokens.c \
56 sci_gateway/c/sci_fscanfMat.c \
57 sci_gateway/c/sci_findfiles.c \
58 sci_gateway/c/sci_maxfiles.c \
59 sci_gateway/c/sci_getdrives.c \
60 sci_gateway/c/sci_fullpath.c \
61 sci_gateway/c/sci_deletefile.c \
62 sci_gateway/c/sci_pathsep.c \
63 sci_gateway/c/sci_filesep.c
64
65 libscifileio_la_CFLAGS=-Iincludes/ -Isrc/c/ -I$(top_srcdir)/libs/MALLOC/includes/ 
66
67 pkglib_LTLIBRARIES = libscifileio.la
68
69 libscifileio_la_SOURCES = $(FILEIO_SOURCES) $(GATEWAY_SOURCES)
70
71 libscifileio_la_LIBADD = \
72         $(top_builddir)/libs/MALLOC/libscimalloc.la \
73     $(top_builddir)/libs/libst/libscilibst.la
74
75 # cyclic deps
76 #       $(top_builddir)/modules/core/libscicore.la
77
78
79
80
81 #### Target ######
82 modulename=fileio
83
84
85 #### fileio : Conf files ####
86 libscifileio_la_rootdir = $(mydatadir)
87 libscifileio_la_root_DATA = changelog.txt licence.txt readme.txt version.xml
88
89
90 #### fileio : init scripts #### 
91 libscifileio_la_etcdir = $(mydatadir)/etc
92 libscifileio_la_etc_DATA = etc/fileio.quit etc/fileio.start
93
94 #### fileio : gateway declaration #### 
95 libscifileio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
96 libscifileio_la_sci_gateway_DATA = sci_gateway/fileio_gateway.xml
97
98 #### fileio : include files ####
99 libscifileio_la_includedir=$(pkgincludedir)/fileio
100 libscifileio_la_include_HEADERS = includes/FileExist.h \
101 includes/gw_fileio.h \
102 includes/sci_fileio.h
103
104
105 #### fileio : demos files ####
106 libscifileio_la_demosdir=$(mydatadir)
107 nobase_libscifileio_la_demos_DATA = demos/excel/Testo1.xls \
108 demos/excel/o1.xls \
109 demos/excel/Test1.xls \
110 demos/excel/Testobig.xls \
111 demos/excel/Testbig.xls \
112 demos/excel/t1.xls \
113 demos/excel/README
114
115 include $(top_srcdir)/Makefile.incl.am