summaryrefslogtreecommitdiff
path: root/modules/output_stream/Makefile.am
blob: f6dcbf382945c92964c0e01303c3056f85694c6a (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
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2007 - INRIA - Bruno JOFRET
# Copyright (C) 2010 - DIGITEO - Bruno JOFRET
#
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution.  The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt

OUTPUT_STREAM_CXX_SOURCES = src/cpp/Diary.cpp \
	src/cpp/DiaryList.cpp \
	src/cpp/diary_manager.cpp \
	src/cpp/getDiaryDate.cpp \
	src/cpp/getFullFilename.cpp

GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_diary.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/basout.c \
				src/c/sciprint.c \
				src/c/sciprint_full.c \
				src/c/errmds.c \
				src/c/errorTable.c \
				src/c/error.c \
				src/c/error_internal.c \
				src/c/do_xxprintf.c \
				src/c/set_xxprintf.c \
				src/c/lasterror.c

OUTPUT_STREAM_FORTRAN_SOURCES = src/fortran/wspdsp.f \
		src/fortran/wmdsp.f \
		src/fortran/strdsp.f \
		src/fortran/prntid.f \
		src/fortran/print.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


GATEWAY_C_SOURCES = sci_gateway/c/gw_output_stream.c \
		sci_gateway/c/sci_print.c \
		sci_gateway/c/sci_mprintf.c \
		sci_gateway/c/sci_msprintf.c \
		sci_gateway/c/sci_disp.c

GATEWAY_FORTRAN_SOURCES = sci_gateway/fortran/intprint.f \
			sci_gateway/fortran/intdisp.f

libscioutput_stream_la_CPPFLAGS= \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/core/includes/ \
-I$(srcdir)/src/cpp/ \
-I$(srcdir)/src/c/ \
-I$(top_srcdir)/modules/console/includes/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/string/includes/ \
-I$(top_srcdir)/modules/localization/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_CXX_SOURCES) $(OUTPUT_STREAM_FORTRAN_SOURCES) $(JNI_SOURCES)
libscioutput_stream_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
libscioutput_stream_algo_la_CPPFLAGS = $(libscioutput_stream_la_CPPFLAGS)

# For the code check (splint)
CHECK_SRC= $(OUTPUT_STREAM_C_SOURCES) $(GATEWAY_C_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

include $(top_srcdir)/Makefile.incl.am