diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/scinotes/Makefile.am | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/scinotes/Makefile.am')
-rwxr-xr-x | modules/scinotes/Makefile.am | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/modules/scinotes/Makefile.am b/modules/scinotes/Makefile.am new file mode 100755 index 000000000..ca3c2e3bd --- /dev/null +++ b/modules/scinotes/Makefile.am @@ -0,0 +1,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 |