File: Makefile.am

package info (click to toggle)
scilab 6.1.0%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 373,664 kB
  • sloc: xml: 800,046; cpp: 278,515; ansic: 223,487; java: 191,492; fortran: 91,481; ml: 23,103; tcl: 16,853; sh: 10,897; makefile: 9,608; lex: 1,611; perl: 1,566; yacc: 1,264; php: 690; cs: 614; javascript: 50
file content (261 lines) | stat: -rw-r--r-- 8,297 bytes parent folder | download
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU
#
# 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.


CORE_C_SOURCES = \
    src/c/csignal.c \
    src/c/resizesignal.c \
    src/c/md5.c \
    src/c/getmodules.c \
    src/c/getmemory.c \
    src/c/isanan.c \
    src/c/returnanan.c \
    src/c/loadversion.c \
    src/c/version.c \
    src/c/GetXmlFileEncoding.c \
    src/c/islittleendian.c \
    src/c/getcommandlineargs.c \
    src/c/commandwords.c \
    src/c/freeArrayOfString.c \
    src/c/getstaticdebuginfo.c \
    src/c/getdynamicdebuginfo.c \
    src/c/dynamic_gateways.c \
    src/c/setPrecisionFPU.c \
    src/c/getos.c \
    src/c/transposeMatrix.c \
    src/c/getversion.c \
    src/c/backtrace.c \
    src/c/signal_mgmt.c \
    src/c/suspendProcess.c \
    src/c/saveCWDInPreferences.c \
    src/c/getmaxMALLOC.c \
    src/c/sci_mem_alloc.c \
    src/c/hashtable/hashtable.c \
    src/c/hashtable/hashtable_utility.c \
    src/c/InitializePreferences.c

CORE_CPP_SOURCES = \
    src/cpp/demangle.cpp \
    src/cpp/backtrace_print.cpp \
    src/cpp/storeCommand.cpp \
    src/cpp/banner.cpp \
    src/cpp/with_module.cpp \
    src/cpp/runner.cpp \
    src/cpp/tasks.cpp \
    src/cpp/getvariablesname.cpp \
    src/cpp/getmacrosname.cpp \
    src/cpp/getfunctionsname.cpp \
    src/cpp/InitScilab.cpp \
    src/cpp/parsecommand.cpp \
    src/cpp/pause.cpp \
    src/cpp/setformat.cpp

CORE_FORTRAN_SOURCES = \
    src/fortran/clunit.f \
    src/fortran/folhp.f \
    src/fortran/xerbla.f \
    src/fortran/expsum.f \
    src/fortran/readinter.f \
    src/fortran/rewindinter.f \
    src/fortran/backspaceinter.f \
	src/fortran/write_inter.f \
	src/fortran/read_inter.f

GATEWAY_C_SOURCES = \
	sci_gateway/c/sci_getdebuginfo.c

GATEWAY_CPP_SOURCES = \
	sci_gateway/cpp/core_gw.cpp \
	sci_gateway/cpp/sci_getmodules.cpp \
	sci_gateway/cpp/sci_clear.cpp \
	sci_gateway/cpp/sci_clearfun.cpp \
	sci_gateway/cpp/sci_newfun.cpp \
	sci_gateway/cpp/sci_funptr.cpp \
	sci_gateway/cpp/sci_banner.cpp \
	sci_gateway/cpp/sci_quit.cpp \
	sci_gateway/cpp/sci_exit.cpp \
	sci_gateway/cpp/sci_argn.cpp \
	sci_gateway/cpp/sci_clearglobal.cpp \
	sci_gateway/cpp/sci_global.cpp \
	sci_gateway/cpp/sci_isglobal.cpp \
	sci_gateway/cpp/sci_getscilabmode.cpp \
	sci_gateway/cpp/sci_getos.cpp \
	sci_gateway/cpp/sci_exists.cpp \
	sci_gateway/cpp/sci_with_module.cpp \
	sci_gateway/cpp/sci_lasterror.cpp \
	sci_gateway/cpp/sci_getversion.cpp \
	sci_gateway/cpp/sci_warning.cpp \
	sci_gateway/cpp/sci_getmd5.cpp \
	sci_gateway/cpp/sci_error.cpp \
	sci_gateway/cpp/sci_pause.cpp \
	sci_gateway/cpp/sci_abort.cpp \
	sci_gateway/cpp/sci_who.cpp \
	sci_gateway/cpp/sci_format.cpp \
	sci_gateway/cpp/sci_sciargs.cpp \
	sci_gateway/cpp/sci_ieee.cpp \
	sci_gateway/cpp/sci_funcprot.cpp \
	sci_gateway/cpp/sci_mode.cpp \
	sci_gateway/cpp/sci_typename.cpp \
	sci_gateway/cpp/sci_what.cpp \
	sci_gateway/cpp/sci_where.cpp \
	sci_gateway/cpp/sci_getmemory.cpp \
	sci_gateway/cpp/sci_errclear.cpp \
	sci_gateway/cpp/sci_intppty.cpp \
	sci_gateway/cpp/sci_analyzeroptions.cpp \
	sci_gateway/cpp/sci_macr2tree.cpp \
	sci_gateway/cpp/sci_predef.cpp \
	sci_gateway/cpp/sci_debug.cpp \
	sci_gateway/cpp/sci_recursionlimit.cpp \
	sci_gateway/cpp/sci_type.cpp \
	sci_gateway/cpp/sci_list.cpp \
	sci_gateway/cpp/sci_struct.cpp \
	sci_gateway/cpp/sci_insert.cpp \
	sci_gateway/cpp/sci_null.cpp \
	sci_gateway/cpp/sci_cell.cpp \
	sci_gateway/cpp/sci_makecell.cpp \
	sci_gateway/cpp/sci_typeof.cpp \
	sci_gateway/cpp/sci_tlist.cpp \
	sci_gateway/cpp/sci_mlist.cpp \
	sci_gateway/cpp/sci_isfield.cpp \
	sci_gateway/cpp/sci_oldEmptyBehaviour.cpp \
	sci_gateway/cpp/sci_fieldnames.cpp \
	sci_gateway/cpp/sci_checkNamedArguments.cpp

if ENABLE_DEBUG
GATEWAY_CPP_SOURCES += \
    sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp \
	sci_gateway/cpp/sci_inspectorGetItem.cpp \
	sci_gateway/cpp/sci_inspectorGetItemCount.cpp \
	sci_gateway/cpp/sci_inspectorGetUnreferencedItem.cpp \
	sci_gateway/cpp/sci_inspectorShowItem.cpp \
	sci_gateway/cpp/sci_inspectorShowUnreferencedItem.cpp \
	sci_gateway/cpp/sci_inspectorGetFunctionList.cpp
endif

libscicore_la_CPPFLAGS = \
    -I$(srcdir)/includes/ \
    -I$(srcdir)/src/c/ \
    -I$(srcdir)/src/cpp/ \
    -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/call_scilab/includes/ \
    -I$(top_srcdir)/modules/api_scilab/includes/ \
    -I$(top_srcdir)/modules/action_binding/includes/ \
    -I$(top_srcdir)/modules/output_stream/includes/ \
    -I$(top_srcdir)/modules/localization/includes/ \
    -I$(top_srcdir)/modules/functions_manager/includes/ \
    -I$(top_srcdir)/modules/elementary_functions/includes/ \
    -I$(top_srcdir)/modules/io/includes/ \
    -I$(top_srcdir)/modules/tclsci/includes/ \
    -I$(top_srcdir)/modules/dynamic_link/includes/ \
    -I$(top_srcdir)/modules/elementary_functions/includes/ \
    -I$(top_srcdir)/modules/string/includes/ \
    -I$(top_srcdir)/modules/fileio/includes/ \
    -I$(top_srcdir)/modules/console/includes/ \
    -I$(top_srcdir)/modules/threads/includes/ \
    -I$(top_srcdir)/modules/history_manager/includes/ \
    -I$(top_srcdir)/modules/preferences/includes/ \
    -I$(top_srcdir)/modules/external_objects/includes/ \
    -I$(top_srcdir)/modules/jvm/includes/ \
    -I$(top_srcdir)/modules/jvm/src/c/ \
    -I$(top_srcdir)/modules/gui/includes/ \
    -I$(top_srcdir)/modules/graphics/includes/ \
    -I$(top_srcdir)/modules/hdf5/includes/ \
    -I$(top_srcdir)/modules/fftw/includes/ \
    -I$(top_srcdir)/modules/ui_data/includes/ \
    $(HDF5_CFLAGS) \
    $(XML_CFLAGS) \
    $(AM_CPPFLAGS)

# Used by sci_getdebuginfo:
if TCLTK
libscicore_la_CPPFLAGS += $(TCL_INC_PATH) \
		                  $(TK_INC_PATH)
endif

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


libscicore_la_LDFLAGS = $(AM_LDFLAGS)
#-Wl,--version-script,LibScilab_Import.def

# For the code check (splint)
CHECK_SRC= $(CORE_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libscicore_la_CPPFLAGS)

libscicore_algo_la_SOURCES = $(CORE_C_SOURCES) $(CORE_CPP_SOURCES) $(CORE_FORTRAN_SOURCES)
libscicore_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
libscicore_algo_la_CPPFLAGS = $(libscicore_la_CPPFLAGS)

# Commented because it is easier to comment first the core module
libscicore_la_LIBADD = libscicore-algo.la $(XML_LIBS) $(FLIBS)

#### Target ######
modulename=core

#### core : Conf files ####
libscicore_la_rootdir = $(mydatadir)
libscicore_la_root_DATA =  license.txt


#### core : init scripts ####
libscicore_la_etcdir = $(mydatadir)/etc
libscicore_la_etc_DATA = etc/core.quit etc/core.start

#### core :  dtd files ####
libscicore_la_xmldir = $(mydatadir)/xml
libscicore_la_xml_DATA = xml/modules.dtd xml/version.dtd

#### core : include files ####
libscicore_la_includedir=$(pkgincludedir)
libscicore_la_include_HEADERS = \
includes/backtrace_print.h \
includes/BOOL.h \
includes/core_math.h \
includes/existfunction.h \
includes/exit_status.hxx \
includes/freeArrayOfString.h \
includes/getcommandlineargs.h \
includes/getmemory.h \
includes/getos.h \
includes/getversion.h \
includes/hashtable.h \
includes/hashtable_utility.h \
includes/machine.h \
includes/PATH_MAX.h \
includes/scilabDefaults.h \
includes/sci_malloc.h \
includes/sci_mem_alloc.h \
includes/scisparse.h \
includes/sci_types.h \
includes/storeCommand.h \
includes/timer.hxx \
includes/version.h


if GUI
USEANT=1
endif


include $(top_srcdir)/Makefile.incl.am