Remove windows carriage return
[scilab.git] / scilab / modules / io / 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 IO_C_SOURCES = src/c/getpidc.c \
8 src/c/setenvc.c \
9 src/c/systemc.c \
10 src/c/getenvc.c \
11 src/c/GetenvB.c \
12 src/c/v2cuniterror.c
13
14 IO_FORTRAN_SOURCES = src/fortran/v2unit.f \
15 src/fortran/newsave.f \
16 src/fortran/v2cunit.f
17
18 GATEWAY_C_SOURCES = sci_gateway/c/sci_read4b.c \
19 sci_gateway/c/sci_getio.c \
20 sci_gateway/c/sci_readb.c \
21 sci_gateway/c/sci_host.c \
22 sci_gateway/c/sci_file.c \
23 sci_gateway/c/sci_getenv.c \
24 sci_gateway/c/sci_write.c \
25 sci_gateway/c/sci_writeb.c \
26 sci_gateway/c/sci_setenv.c \
27 sci_gateway/c/gw_io.c \
28 sci_gateway/c/sci_read.c \
29 sci_gateway/c/sci_getpid.c \
30 sci_gateway/c/sci_write4b.c \
31 sci_gateway/c/sci_load.c \
32 sci_gateway/c/sci_unix.c \
33 sci_gateway/c/sci_save.c
34
35 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/intwrite4b.f \
36 sci_gateway/fortran/intwritb.f \
37 sci_gateway/fortran/intwrite.f \
38 sci_gateway/fortran/intread4b.f \
39 sci_gateway/fortran/intread.f \
40 sci_gateway/fortran/intreadb.f \
41 sci_gateway/fortran/intfile.f
42
43 libsciio_la_CFLAGS=     -I$(srcdir)/includes/ \
44                         -I$(srcdir)/src/c/ \
45                         -I$(top_srcdir)/libs/MALLOC/includes/ \
46                         -I$(top_srcdir)/modules/fileio/includes/ \
47                         -I$(top_srcdir)/modules/api_scilab/includes/ \
48                         -I$(top_srcdir)/modules/output_stream/includes/
49
50 libsciio_la_CPPFLAGS=   -I$(srcdir)/includes/ \
51                         -I$(top_srcdir)/modules/core/includes/ \
52                         -I$(top_srcdir)/modules/api_scilab/includes \
53                         -I$(top_srcdir)/modules/output_stream/includes/
54
55
56 pkglib_LTLIBRARIES = libsciio.la
57
58 libsciio_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)
59
60 libsciio_la_SOURCES = $(IO_C_SOURCES) $(IO_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
61
62 # For the code check (splint)
63 CHECK_SRC= $(IO_C_SOURCES) $(GATEWAY_C_SOURCES)
64 INCLUDE_FLAGS = $(libsciio_la_CFLAGS)
65
66 libsciio_la_LIBADD =  $(top_builddir)/modules/arnoldi/libsciarnoldi.la $(top_builddir)/modules/elementary_functions/libscielementary_functions.la  $(top_builddir)/modules/fileio/libscifileio.la $(top_builddir)/modules/integer/libsciinteger.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la
67
68
69 #### Target ######
70 modulename=io
71
72 #### io : Conf files ####
73 libsciio_la_rootdir = $(mydatadir)
74 libsciio_la_root_DATA =  license.txt version.xml
75
76
77 ####io : init scripts ####
78 libsciio_la_etcdir = $(mydatadir)/etc
79 libsciio_la_etc_DATA = etc/io.quit etc/io.start
80
81 ####io : gateway declaration ####
82 libsciio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
83 libsciio_la_sci_gateway_DATA = sci_gateway/io_gateway.xml
84
85 include $(top_srcdir)/Makefile.incl.am
86