blob: d456515709faeeccc6b5d45430e77c21b98ab066 (
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
|
#
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) DIGITEO - 2010 - Allan CORNET
#
# 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-en.txt
#
#### Target ######
modulename=history_browser
#### history_browser : Conf files ####
libscihistory_browser_la_rootdir = $(mydatadir)
libscihistory_browser_la_root_DATA = license.txt
#### history_browser : init scripts ####
libscihistory_browser_la_etcdir = $(mydatadir)/etc
libscihistory_browser_la_etc_DATA = etc/history_browser.quit \
etc/history_browser.start
include $(top_srcdir)/Makefile.incl.am
if GUI
# List of the JNI files
HISTORY_BROWSER_JNI_SOURCES = src/jni/CommandHistory.cpp \
src/jni/GiwsException.cpp
HISTORY_BROWSER_CPP_SOURCES = src/cpp/CommandHistory_Wrap.cpp
GIWS_WRAPPERS = src/jni/CommandHistory.giws.xml
HISTORY_BROWSER_C_SOURCES =
if GIWS
BUILT_SOURCES=giws
endif
else
HISTORY_BROWSER_C_SOURCES = src/nohistory_browser/CommandHistory_Wrap_Fake.c
endif
libscihistory_browser_la_CFLAGS=
libscihistory_browser_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
-I$(srcdir)/src/jni/ \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/jvm/includes/
# Without the history_browser module
libscihistory_browser_disable_la_CFLAGS = -I$(srcdir)/includes/
HISTORY_BROWSER_DISABLE_C_SOURCES = src/nohistory_browser/CommandHistory_Wrap_Fake.c
libscihistory_browser_disable_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
libscihistory_browser_disable_la_SOURCES = $(HISTORY_BROWSER_DISABLE_C_SOURCES)
pkglib_LTLIBRARIES = libscihistory_browser-disable.la
if GUI
pkglib_LTLIBRARIES += libscihistory_browser.la
endif
libscihistory_browser_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS) $(X_LIBS) $(X_EXTRA_LIBS)
libscihistory_browser_la_SOURCES = $(HISTORY_BROWSER_C_SOURCES) $(HISTORY_BROWSER_JNI_SOURCES) $(HISTORY_BROWSER_CPP_SOURCES)
# For the code check (splint)
CHECK_SRC= $(HISTORY_BROWSER_C_SOURCES)
INCLUDE_FLAGS = $(libscihistory_browser_la_CFLAGS)
#### SWIG Declaration ####
SWIG_WRAPPERS =
if SWIG
BUILT_SOURCES=swig
endif
libscihistory_browser_la_LIBADD = \
$(top_builddir)/libs/MALLOC/libscimalloc.la \
$(top_builddir)/modules/output_stream/libscioutput_stream.la
#### history_browser : gateway declaration ####
libscihistory_browser_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscihistory_browser_la_sci_gateway_DATA =
if GUI
USEANT=1
endif
|