summaryrefslogtreecommitdiffstats
path: root/scilab/modules/output_stream/Makefile.am
blob: 2a015ff8cd6ce8bdb62fbc7f334c353796b9dbcf (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
##
##  -*- makefile -*-
##
## Makefile.am
## Made by  Bruno JOFRET <bruno.jofret@inria.fr>
##
## Started on  Fri Oct 26 13:48:04 2007 Bruno
## Last update Fri, 23 Nov 2007 15:00:33 +0100 Sylvestre
##
## Copyright INRIA 2007
##

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

GATEWAY_CPP_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/errmsg.c \
				src/c/error.c \
				src/c/error_internal.c \
				src/c/do_xxprintf.c \
				src/c/set_xxprintf.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_CFLAGS=  -I$(top_srcdir)/libs/MALLOC/includes/ \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/core/includes \
-I$(srcdir)/src/c/ \
-I$(top_srcdir)/modules/api_scilab/includes \
-I$(top_srcdir)/modules/string/includes

libscioutput_stream_la_CPPFLAGS=  -I$(top_srcdir)/libs/MALLOC/includes/ \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/core/includes \
-I$(srcdir)/src/cpp/ \
-I$(srcdir)/src/c/ \
-I$(top_srcdir)/modules/api_scilab/includes \
-I$(top_srcdir)/modules/string/includes


pkglib_LTLIBRARIES = libscioutput_stream.la

libscioutput_stream_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

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)

# For the code check (splint)
CHECK_SRC= $(OUTPUT_STREAM_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libscioutput_stream_la_CFLAGS)

# Many stuff depends on this one ... commented
#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)/modules/core/libscicore.la $(top_builddir)/libs/MALLOC/libscimalloc.la
#### Target ######
modulename=output_stream

#### output_stream : Conf files ####
libscioutput_stream_la_rootdir = $(mydatadir)
libscioutput_stream_la_root_DATA = changelog.txt license.txt readme.txt version.xml


#### 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/Scierror.h

include $(top_srcdir)/Makefile.incl.am