summaryrefslogtreecommitdiffstats
path: root/scilab/modules/output_stream/Makefile.am
blob: a467f2be7de26881375cf8dddf819fac9dfe9827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2007 - INRIA - Bruno JOFRET
# Copyright (C) 2010 - DIGITEO - Bruno JOFRET
# Copyright (C) 2011 - DIGITEO - Antoine ELIAS
#
# Copyright (C) 2012 - 2016 - Scilab Enterprises
#
# This file is hereby licensed under the terms of the GNU GPL v2.0,
# pursuant to article 5.3.4 of the CeCILL v.2.1.
# This file was originally licensed under the terms of the CeCILL v2.1,
# and continues to be available under such terms.
# For more information, see the COPYING file which you should have received
# along with this program.

OUTPUT_STREAM_CPP_SOURCES = \
	src/cpp/Diary.cpp \
	src/cpp/scilabWrite.cpp \
	src/cpp/DiaryList.cpp \
	src/cpp/diary_manager.cpp \
	src/cpp/getDiaryDate.cpp \
	src/cpp/getUniqueFilename.cpp \
	src/cpp/scilab_sprintf.cpp \
	src/cpp/basout.cpp \
	src/cpp/Sciwarning.cpp


GATEWAY_CPP_SOURCES = \
	sci_gateway/cpp/sci_diary.cpp \
	sci_gateway/cpp/sci_disp.cpp \
	sci_gateway/cpp/output_stream_gw.cpp \
	sci_gateway/cpp/sci_msprintf.cpp \
	sci_gateway/cpp/sci_mprintf.cpp

OUTPUT_STREAM_C_SOURCES = \
	src/c/erro.c \
	src/c/cerro.c \
	src/c/Scierror.c \
	src/c/msgstore.c \
	src/c/msgout.c \
	src/c/msgs.c \
	src/c/msgstxt.c \
	src/c/sciprint.c \
	src/c/sciprint_full.c \
	src/c/error.c

OUTPUT_STREAM_FORTRAN_SOURCES = \
	src/fortran/wspdsp.f \
	src/fortran/wmdsp.f \
	src/fortran/strdsp.f \
	src/fortran/lspdsp.f \
	src/fortran/fmttyp.f \
	src/fortran/fmt.f \
	src/fortran/dspdsp.f \
	src/fortran/dmrdsp.f \
	src/fortran/dmpdsp.f \
	src/fortran/dmdspf.f \
	src/fortran/dmdsp.f \
	src/fortran/dldsp.f \
	src/fortran/basouttofile.f \
	src/fortran/formatnumber.f


libscioutput_stream_la_CPPFLAGS= \
    -I$(srcdir)/includes/ \
    -I$(srcdir)/src/cpp/ \
    -I$(srcdir)/src/c/ \
    -I$(top_srcdir)/modules/ast/includes/ast/ \
    -I$(top_srcdir)/modules/ast/includes/exps/ \
    -I$(top_srcdir)/modules/ast/includes/operations/ \
    -I$(top_srcdir)/modules/ast/includes/parse/ \
    -I$(top_srcdir)/modules/ast/includes/symbol/ \
    -I$(top_srcdir)/modules/ast/includes/system_env/ \
    -I$(top_srcdir)/modules/ast/includes/types/ \
    -I$(top_srcdir)/modules/ast/includes/analysis/ \
    -I$(top_srcdir)/modules/core/includes/ \
    -I$(top_srcdir)/modules/api_scilab/includes \
    -I$(top_srcdir)/modules/string/includes \
    -I$(top_srcdir)/modules/functions_manager/includes \
    -I$(top_srcdir)/modules/threads/includes \
    -I$(top_srcdir)/modules/console/includes \
    -I$(top_srcdir)/modules/dynamic_link/includes \
    -I$(top_srcdir)/modules/localization/includes/ \
    -I$(top_srcdir)/modules/fileio/includes/ \
    $(AM_CPPFLAGS)

if MAINTAINER_MODE
pkglib_LTLIBRARIES = libscioutput_stream.la
noinst_LTLIBRARIES = libscioutput_stream-algo.la
else
noinst_LTLIBRARIES = libscioutput_stream-algo.la libscioutput_stream.la
endif


libscioutput_stream_algo_la_SOURCES = $(OUTPUT_STREAM_C_SOURCES) $(OUTPUT_STREAM_CPP_SOURCES) $(OUTPUT_STREAM_FORTRAN_SOURCES) $(JNI_SOURCES)
libscioutput_stream_la_SOURCES = $(GATEWAY_CPP_SOURCES)
libscioutput_stream_algo_la_CPPFLAGS = $(libscioutput_stream_la_CPPFLAGS)

# For the code check (splint)
CHECK_SRC= $(OUTPUT_STREAM_C_SOURCES) $(OUTPUT_STREAM_CPP_SOURCES) $(OUTPUT_STREAM_CPP_SOURCES)
INCLUDE_FLAGS = $(libscioutput_stream_la_CPPFLAGS)

libscioutput_stream_la_LIBADD =  libscioutput_stream-algo.la

#### Target ######
modulename=output_stream

#### output_stream : Conf files ####
libscioutput_stream_la_rootdir = $(mydatadir)
libscioutput_stream_la_root_DATA =  license.txt


#### output_stream : init scripts ####
libscioutput_stream_la_etcdir = $(mydatadir)/etc
libscioutput_stream_la_etc_DATA = \
    etc/output_stream.quit \
    etc/output_stream.start

#### output_stream : gateway declaration ####
libscioutput_stream_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscioutput_stream_la_sci_gateway_DATA = sci_gateway/output_stream_gateway.xml

#### output_stream : include files ####
libscioutput_stream_la_includedir=$(pkgincludedir)
libscioutput_stream_la_include_HEADERS = includes/do_error_number.h \
includes/sciprint.h \
includes/cerro.h \
includes/Scierror.h \
includes/dynlib_output_stream.h \
includes/scilabWrite.hxx

include $(top_srcdir)/Makefile.incl.am