# # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab # Copyright (C) 2011 - 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=preferences #### preferences : Conf files #### libscipreferences_la_rootdir = $(mydatadir) libscipreferences_la_root_DATA = license.txt #### preferences : init scripts & configuration files #### libscipreferences_la_etcdir = $(mydatadir)/etc libscipreferences_la_etc_DATA = \ etc/preferences.quit \ etc/preferences.start \ etc/XConfiguration.xml \ etc/XConfiguration-preference.xml \ etc/XConfiguration-preference.xsl \ etc/XWizard-expression.xml \ etc/XWizard-function.xml \ etc/XWizard-xcos.xml \ etc/XWizard.xml #### preferences : xslt files #### libscipreferences_la_src_xsltdir = $(mydatadir)/src/xslt libscipreferences_la_src_xslt_DATA = \ src/xslt/XCommon-toolbars.xsl \ src/xslt/XCommon.xsl \ src/xslt/XConfiguration.xsl \ src/xslt/XGeneric.xsl \ src/xslt/XWizard.xsl libscipreferences_la_src_xslt_xwizarddir = $(mydatadir)/src/xslt/XWizard libscipreferences_la_src_xslt_xwizard_DATA = \ src/xslt/XWizard/XWizard-any.xsl \ src/xslt/XWizard/XWizard-expression.xsl \ src/xslt/XWizard/XWizard-function.xsl \ src/xslt/XWizard/XWizard-xcos.xsl PREFERENCES_JNI_SOURCES = src/jni/ScilabPreferences.cpp PREFERENCES_C_SOURCES = src/c/getScilabPreference.c GATEWAY_C_SOURCES = sci_gateway/c/gw_preferences.c GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_addModulePreferences.cpp \ sci_gateway/cpp/sci_removeModulePreferences.cpp \ sci_gateway/cpp/sci_preferences.cpp libscipreferences_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \ -I$(srcdir)/includes/ \ -I$(srcdir)/src/c/ \ -I$(srcdir)/src/jni/ \ $(XML_FLAGS) \ -I$(top_srcdir)/modules/commons/src/jni/ \ -I$(top_srcdir)/modules/jvm/includes/ \ -I$(top_srcdir)/modules/fileio/includes/ \ -I$(top_srcdir)/modules/output_stream/includes/ \ -I$(top_srcdir)/modules/localization/includes/ \ -I$(top_srcdir)/modules/api_scilab/includes/ \ -I$(top_srcdir)/modules/core/includes/ \ -I$(top_srcdir)/modules/functions/includes/ \ -I$(top_srcdir)/modules/string/includes/ \ $(AM_CPPFLAGS) # Without the preferences module libscipreferences_cli_la_CPPFLAGS = -I$(srcdir)/includes/ \ -I$(top_srcdir)/modules/localization/includes/ \ -I$(top_srcdir)/modules/output_stream/includes \ $(AM_CPPFLAGS) PREFERENCES_CLI_C_SOURCES = src/nopreferences/nopreferences.c libscipreferences_cli_la_SOURCES = $(PREFERENCES_CLI_C_SOURCES) libscipreferences_la_LDFLAGS = $(AM_LDFLAGS) pkglib_LTLIBRARIES = libscipreferences-cli.la if GUI pkglib_LTLIBRARIES += libscipreferences.la noinst_LTLIBRARIES = libscipreferences-algo.la endif libscipreferences_algo_la_SOURCES = $(PREFERENCES_C_SOURCES) libscipreferences_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) $(PREFERENCES_JNI_SOURCES) libscipreferences_algo_la_CFLAGS = $(libscipreferences_la_CFLAGS) libscipreferences_algo_la_CPPFLAGS = $(libscipreferences_la_CPPFLAGS) # For the code check (splint) CHECK_SRC= $(PREFERENCES_C_SOURCES) $(GATEWAY_C_SOURCES) INCLUDE_FLAGS = $(libscipreferences_la_CPPFLAGS) GIWS_WRAPPERS = src/jni/ScilabPreferences.giws.xml SWIG_WRAPPERS = BUILT_SOURCES= if GIWS BUILT_SOURCES+=giws endif if SWIG BUILT_SOURCES+=swig endif libscipreferences_cli_la_LIBADD = libscipreferences-algo.la libscipreferences_la_LIBADD = libscipreferences-algo.la $(X_LIBS) $(X_EXTRA_LIBS) $(XML_LIBS) #### preferences : gateway declaration #### libscipreferences_la_sci_gatewaydir = $(mydatadir)/sci_gateway libscipreferences_la_sci_gateway_DATA = sci_gateway/preferences_gateway.xml if GUI USEANT=1 endif include $(top_srcdir)/Makefile.incl.am