add function diary
[scilab.git] / scilab / modules / output_stream / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2007 - INRIA - Bruno JOFRET
3 # Copyright (C) 2010 - DIGITEO - Bruno JOFRET
4 #
5 # This file must be used under the terms of the CeCILL.
6 # This source file is licensed as described in the file COPYING, which
7 # you should have received as part of this distribution.  The terms
8 # are also available at
9 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10
11 OUTPUT_STREAM_CPP_SOURCES = \
12         src/cpp/Diary.cpp \
13         src/cpp/yaspio.cpp \
14         src/cpp/DiaryList.cpp \
15         src/cpp/diary_manager.cpp \
16         src/cpp/getDiaryDate.cpp \
17         src/cpp/getFullFilename.cpp \
18         src/cpp/scilab_sprintf.cpp
19
20 #
21 GATEWAY_CPP_SOURCES = \
22         sci_gateway/cpp/sci_diary.cpp \
23         sci_gateway/cpp/sci_disp.cpp \
24         sci_gateway/cpp/output_stream_gw.cpp \
25         sci_gateway/cpp/sci_msprintf.cpp \
26         sci_gateway/cpp/sci_mprintf.cpp
27
28 OUTPUT_STREAM_C_SOURCES = \
29         src/c/erro.c \
30         src/c/cerro.c \
31         src/c/Scierror.c \
32         src/c/msgstore.c \
33         src/c/msgout.c \
34         src/c/msgs.c \
35         src/c/msgstxt.c \
36         src/c/basout.c \
37         src/c/sciprint.c \
38         src/c/sciprint_full.c \
39         src/c/errmds.c \
40         src/c/errmsg.c \
41         src/c/error.c \
42         src/c/error_internal.c \
43         src/c/do_xxprintf.c \
44         src/c/set_xxprintf.c
45
46 OUTPUT_STREAM_FORTRAN_SOURCES = \
47         src/fortran/wspdsp.f \
48         src/fortran/wmdsp.f \
49         src/fortran/strdsp.f \
50         src/fortran/prntid.f \
51         src/fortran/print.f \
52         src/fortran/lspdsp.f \
53         src/fortran/fmttyp.f \
54         src/fortran/fmt.f \
55         src/fortran/dspdsp.f \
56         src/fortran/dmrdsp.f \
57         src/fortran/dmpdsp.f \
58         src/fortran/dmdspf.f \
59         src/fortran/dmdsp.f \
60         src/fortran/dldsp.f \
61         src/fortran/basouttofile.f \
62         src/fortran/formatnumber.f
63
64
65 GATEWAY_C_SOURCES = \
66         sci_gateway/c/gw_output_stream.c \
67         sci_gateway/c/sci_print.c
68
69
70 GATEWAY_FORTRAN_SOURCES = \
71         sci_gateway/fortran/intprint.f \
72         sci_gateway/fortran/intdisp.f
73
74 libscioutput_stream_la_CFLAGS=  \
75         -I$(top_srcdir)/libs/MALLOC/includes/ \
76         -I$(srcdir)/includes/ \
77         -I$(top_srcdir)/modules/core/includes \
78         -I$(srcdir)/src/c/ \
79         -I$(top_srcdir)/modules/string/includes \
80         -I$(top_srcdir)/modules/shell/includes \
81         -I$(top_srcdir)/modules/api_scilab/includes \
82         -I$(top_srcdir)/modules/operations/includes
83
84 libscioutput_stream_la_CPPFLAGS=  \
85         -I$(top_srcdir)/libs/MALLOC/includes/ \
86         -I$(srcdir)/includes/ \
87         -I$(top_srcdir)/modules/core/includes \
88         -I$(srcdir)/src/cpp/ \
89         -I$(srcdir)/src/c/ \
90         -I$(top_srcdir)/modules/api_scilab/includes \
91         -I$(top_srcdir)/modules/operations/includes \
92         -I$(top_srcdir)/modules/string/includes \
93         -I$(top_srcdir)/modules/types/includes \
94         -I$(top_srcdir)/modules/functions_manager/includes \
95         -I$(top_srcdir)/modules/symbol/includes \
96         -I$(top_srcdir)/modules/abstractSyntaxTree/includes \
97         -I$(top_srcdir)/modules/system_env/includes \
98         -I$(top_srcdir)/modules/shell/includes
99
100
101 pkglib_LTLIBRARIES = libscioutput_stream.la
102
103 if GUI
104 USEANT=1
105 endif
106
107 libscioutput_stream_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)
108
109 libscioutput_stream_la_SOURCES = $(OUTPUT_STREAM_C_SOURCES) $(OUTPUT_STREAM_CPP_SOURCES) $(OUTPUT_STREAM_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(GATEWAY_FORTRAN_SOURCES) $(JNI_SOURCES)
110
111 # For the code check (splint)
112 CHECK_SRC= $(OUTPUT_STREAM_C_SOURCES) $(GATEWAY_C_SOURCES) $(OUTPUT_STREAM_CPP_SOURCES)
113 INCLUDE_FLAGS = $(libscioutput_stream_la_CFLAGS) $(libscioutput_stream_la_CPPFLAGS)
114
115 # Many stuff depends on this one ... commented
116 #libscioutput_stream_la_LIBADD =  $(top_builddir)/modules/console/libsciconsole.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/modules/fileio/libscifileio.la $(top_builddir)/modules/shell/libscishell.la  $(top_builddir)/libs/MALLOC/libscimalloc.la
117 #### Target ######
118 modulename=output_stream
119
120 #### output_stream : Conf files ####
121 libscioutput_stream_la_rootdir = $(mydatadir)
122 libscioutput_stream_la_root_DATA = changelog.txt license.txt readme.txt version.xml
123
124
125 #### output_stream : init scripts ####
126 libscioutput_stream_la_etcdir = $(mydatadir)/etc
127 libscioutput_stream_la_etc_DATA = etc/output_stream.quit etc/output_stream.start
128
129 #### output_stream : gateway declaration ####
130 libscioutput_stream_la_sci_gatewaydir = $(mydatadir)/sci_gateway
131 libscioutput_stream_la_sci_gateway_DATA = sci_gateway/output_stream_gateway.xml
132
133 #### output_stream : include files ####
134 libscioutput_stream_la_includedir=$(pkgincludedir)
135 libscioutput_stream_la_include_HEADERS = includes/do_error_number.h \
136 includes/sciprint.h \
137 includes/cerro.h \
138 includes/Scierror.h
139
140 include $(top_srcdir)/Makefile.incl.am
141