blob: 7a1babcc6849000907b24581a584a188863e9f42 (
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
|
#
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) INRIA - 2006 - Sylvestre Ledru
# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL
#
# 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=javasci
#### javasci : Conf files ####
libjavasci2_la_rootdir = $(mydatadir)
libjavasci2_la_root_DATA = license.txt
#### javasci : init scripts ####
libjavasci2_la_etcdir = $(mydatadir)/etc
libjavasci2_la_etc_DATA = etc/javasci.quit etc/javasci.start
if JAVASCI
### All the compilation process of java is deleguated to ant
#### Javasci : sources ####
JAVASCI_V2_C_SOURCES = \
src/jni/call_scilab_wrap.c \
src/jni/putLists.c \
src/c/javasci2_helper.c
pkglib_LTLIBRARIES = libjavasci2.la
libjavasci2_la_SOURCES = $(JAVASCI_V2_C_SOURCES)
# For the code check (splint)
CHECK_SRC= $(JAVASCI_C_SOURCES)
INCLUDE_FLAGS = $(libjavasci2_la_CPPFLAGS)
libjavasci2_la_CPPFLAGS = -I$(srcdir)/includes/ \
-I$(srcdir)/src/c/ \
$(JAVA_JNI_INCLUDE) \
$(TCL_INC_PATH) \
$(TK_INC_PATH) \
-I$(top_srcdir)/modules/tclsci/includes/ \
-I$(top_srcdir)/modules/call_scilab/includes/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/fileio/includes/ \
-I$(top_srcdir)/modules/localization/includes/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
$(AM_CPPFLAGS)
libjavasci2_la_LIBADD = \
$(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
$(top_builddir)/modules/libscilab.la
BUILT_SOURCES=
if SWIG
BUILT_SOURCES+=swig
endif
#### SWIG Declaration ####
SWIG_WRAPPERS = src/jni/call_scilab.i
USEANT=1
include $(top_srcdir)/Makefile.incl.am
endif
|