embed all files of xslt in windows/linux binary
[scilab.git] / scilab / modules / preferences / Makefile.am
index 4ec4508..825685c 100644 (file)
@@ -20,27 +20,49 @@ libscipreferences_la_root_DATA =  license.txt
 
 #### preferences : init scripts & configuration files ####
 libscipreferences_la_etcdir = $(mydatadir)/etc
-libscipreferences_la_etc_DATA = 
+libscipreferences_la_etc_DATA = \
+       etc/preferences.quit \
+       etc/preferences.start \
+       etc/XConfiguration.xml \
+       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
 
 include $(top_srcdir)/Makefile.incl.am
 
+PREFERENCES_JNI_SOURCES = src/jni/ScilabPreferences.cpp
 
-PREFERENCES_JNI_SOURCES = 
+PREFERENCES_C_SOURCES =
 
-PREFERENCES_C_SOURCES = 
+PREFERENCES_CPP_SOURCES =
 
-PREFERENCES_CPP_SOURCES = 
-
-GIWS_WRAPPERS = 
+GIWS_WRAPPERS = src/jni/ScilabPreferences.giws.xml
 
 if GIWS
     BUILT_SOURCES=giws
 endif
 
 
-GATEWAY_C_SOURCES = 
+GATEWAY_C_SOURCES = sci_gateway/c/gw_preferences.c
 
-GATEWAY_CPP_SOURCES = 
+GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_addModulePreferences.cpp \
+                      sci_gateway/cpp/sci_removeModulePreferences.cpp
 
 libscipreferences_la_CFLAGS= $(JAVA_JNI_INCLUDE) \
     -I$(top_srcdir)/libs/MALLOC/includes/ \
@@ -67,9 +89,11 @@ libscipreferences_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
 libscipreferences_disable_la_CFLAGS = -Iincludes/ \
     -I$(top_srcdir)/modules/output_stream/includes
 
-PREFERENCES_DISABLE_C_SOURCES = 
+PREFERENCES_DISABLE_C_SOURCES = src/nopreferences/nopreferences.c
+libscipreferences_disable_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
+libscipreferences_disable_la_SOURCES = $(PREFERENCES_DISABLE_C_SOURCES)
 
-pkglib_LTLIBRARIES = 
+pkglib_LTLIBRARIES = libscipreferences-disable.la
 
 if GUI
     pkglib_LTLIBRARIES += libscipreferences.la 
@@ -89,7 +113,7 @@ INCLUDE_FLAGS = $(libscipreferences_la_CFLAGS)
 
 
 #### SWIG Declaration ####
-SWIG_WRAPPERS = src/jni/ScilabKeywords.i 
+SWIG_WRAPPERS = 
 
 if SWIG
     BUILT_SOURCES=swig
@@ -103,7 +127,7 @@ libscipreferences_la_LIBADD = libscipreferences-algo.la \
 
 #### preferences : gateway declaration ####
 libscipreferences_la_sci_gatewaydir = $(mydatadir)/sci_gateway
-libscipreferences_la_sci_gateway_DATA = 
+libscipreferences_la_sci_gateway_DATA = sci_gateway/preferences_gateway.xml
 
 if GUI
     USEANT=1