blob: ca3c2e3bd260a6dbf9648f0ceb885b21374d4f57 (
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
|
#
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2009-2010 - DIGITEO
#
# 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
#
#### Target ######
modulename=scinotes
#### scinotes : Conf files ####
libsciscinotes_la_rootdir = $(mydatadir)
libsciscinotes_la_root_DATA = license.txt
#### scinotes : init scripts & configuration files ####
libsciscinotes_la_etcdir = $(mydatadir)/etc
libsciscinotes_la_etc_DATA = \
etc/scinotesConfiguration.xml \
etc/keysConfiguration.xml \
etc/scinotesGUIConfiguration.xml \
etc/scinotes.quit \
etc/scinotes.start \
etc/XConfiguration-scinotes.xml \
etc/XConfiguration-scinotes.xsl
SCINOTES_JNI_SOURCES = src/jni/ScilabKeywords_wrap.c
SCINOTES_C_SOURCES = src/c/ScilabKeywords.c
SCINOTES_CXX_SOURCES = src/jni/SciNotes.cpp \
src/cpp/callscinotes.cpp
GATEWAY_C_SOURCES = sci_gateway/c/gw_scinotes.c
GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_scinotes.cpp \
sci_gateway/cpp/sci_closeSciNotesFromScilab.cpp
libsciscinotes_la_CPPFLAGS = -I$(srcdir)/includes/ \
-I$(srcdir)/src/cpp/ \
-I$(srcdir)/src/c/ \
-I$(srcdir)/src/jni/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/commons/src/jni/ \
-I$(top_srcdir)/modules/core/includes/ \
-I$(top_srcdir)/modules/fileio/includes/ \
-I$(top_srcdir)/modules/functions/includes/ \
-I$(top_srcdir)/modules/jvm/includes/ \
-I$(top_srcdir)/modules/localization/includes/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
$(JAVA_JNI_INCLUDE) \
$(AM_CPPFLAGS)
# Without the scinotes module
libsciscinotes_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/localization/includes/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
$(AM_CPPFLAGS)
SCINOTES_DISABLE_C_SOURCES = src/noscinotes/noscinotes.c
libsciscinotes_disable_la_SOURCES = $(SCINOTES_DISABLE_C_SOURCES)
pkglib_LTLIBRARIES = libsciscinotes-disable.la
if GUI
pkglib_LTLIBRARIES += libsciscinotes.la
noinst_LTLIBRARIES = libsciscinotes-algo.la
endif
libsciscinotes_la_LDFLAGS = $(AM_LDFLAGS)
libsciscinotes_algo_la_SOURCES = $(SCINOTES_C_SOURCES) $(SCINOTES_JNI_SOURCES) $(SCINOTES_CXX_SOURCES)
libsciscinotes_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES)
libsciscinotes_algo_la_CPPFLAGS = $(libsciscinotes_la_CPPFLAGS)
# For the code check (splint)
CHECK_SRC= $(SCINOTES_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libsciscinotes_la_CPPFLAGS)
GIWS_WRAPPERS = src/jni/SciNotes.giws.xml
SWIG_WRAPPERS = src/jni/ScilabKeywords.i
BUILT_SOURCES=
if GIWS
BUILT_SOURCES+=giws
endif
if SWIG
BUILT_SOURCES+=swig
endif
libsciscinotes_la_LIBADD = libsciscinotes-algo.la $(X_LIBS) $(X_EXTRA_LIBS)
#### scinotes : gateway declaration ####
libsciscinotes_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libsciscinotes_la_sci_gateway_DATA = sci_gateway/scinotes_gateway.xml
if GUI
if BUILD_HELP
USEANT=1
endif
endif
include $(top_srcdir)/Makefile.incl.am
|