Commit bb167fac authored by Morten Welinder's avatar Morten Welinder

Make fn-logical a plugin.

parent b9f9988c
...@@ -56,6 +56,7 @@ Morten: ...@@ -56,6 +56,7 @@ Morten:
* Make fn-date a plugin. * Make fn-date a plugin.
* Make fn-eng a plugin. * Make fn-eng a plugin.
* Make fn-financial a plugin. * Make fn-financial a plugin.
* Make fn-logical a plugin.
* Make fn-string a plugin. * Make fn-string a plugin.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
......
...@@ -644,6 +644,7 @@ plugins/numtheory/Makefile ...@@ -644,6 +644,7 @@ plugins/numtheory/Makefile
plugins/fn-date/Makefile plugins/fn-date/Makefile
plugins/fn-eng/Makefile plugins/fn-eng/Makefile
plugins/fn-financial/Makefile plugins/fn-financial/Makefile
plugins/fn-logical/Makefile
plugins/fn-string/Makefile plugins/fn-string/Makefile
plugins/derivatives/Makefile plugins/derivatives/Makefile
plugins/sc/Makefile plugins/sc/Makefile
......
...@@ -51,7 +51,7 @@ endif ...@@ -51,7 +51,7 @@ endif
SUBDIRS_FILE_FORMATS = $(EXCEL_DIR) lotus-123 oleo sc sylk xbase html dif \ SUBDIRS_FILE_FORMATS = $(EXCEL_DIR) lotus-123 oleo sc sylk xbase html dif \
xml_sax applix mps $(GNOME_GLOSSARY_DIR) $(PSICONV_DIR) xml_sax applix mps $(GNOME_GLOSSARY_DIR) $(PSICONV_DIR)
SUBDIRS_FUNCTIONS = numtheory fn-date fn-eng fn-string derivatives \ SUBDIRS_FUNCTIONS = numtheory fn-date fn-eng fn-logical fn-string derivatives \
$(PYTHON_DIR) $(PERL_DIR) $(GUILE_DIR) $(GB_DIR) \ $(PYTHON_DIR) $(PERL_DIR) $(GUILE_DIR) $(GB_DIR) \
$(GDA_DIR) $(PYFUNC_DIR) $(GDA_DIR) $(PYFUNC_DIR)
......
Makefile.in
Makefile
.deps
.libs
*.lo
*.la
plugin.xml
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(GNUMERIC_CFLAGS)
gnumeric_plugin_fnlogicaldir = $(gnumeric_plugindir)/fn-logical
xmldir = $(gnumeric_plugin_fnlogicaldir)
gnumeric_plugin_fnlogical_LTLIBRARIES = plugin.la
plugin_la_LDFLAGS = -module -avoid-version
plugin_la_SOURCES = functions.c
xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
EXTRA_DIST = $(xml_in_files)
DISTCLEANFILES = $(xml_DATA)
<?xml version="1.0"?>
<plugin id="Gnumeric_fnlogical">
<information>
<_name>Logical Functions</_name>
<_description>Functions for manipulating truth values</_description>
</information>
<loader type="g_module">
<attribute name="module_file" value="plugin.la"/>
</loader>
<services>
<service type="function_group" id="logical">
<_category>Logical</_category>
<functions>
<function name="and"/>
<function name="or"/>
<function name="xor"/>
<function name="not"/>
<function name="if"/>
<function name="true"/>
<function name="false"/>
</functions>
</service>
</services>
</plugin>
...@@ -19,6 +19,8 @@ plugins/fn-eng/functions.c ...@@ -19,6 +19,8 @@ plugins/fn-eng/functions.c
plugins/fn-eng/plugin.xml.in plugins/fn-eng/plugin.xml.in
plugins/fn-financial/functions.c plugins/fn-financial/functions.c
plugins/fn-financial/plugin.xml.in plugins/fn-financial/plugin.xml.in
plugins/fn-logical/functions.c
plugins/fn-logical/plugin.xml.in
plugins/fn-string/functions.c plugins/fn-string/functions.c
plugins/fn-string/plugin.xml.in plugins/fn-string/plugin.xml.in
plugins/gb/plugin.c plugins/gb/plugin.c
...@@ -177,7 +179,6 @@ src/formats.c ...@@ -177,7 +179,6 @@ src/formats.c
src/func.c src/func.c
src/functions/fn-database.c src/functions/fn-database.c
src/functions/fn-information.c src/functions/fn-information.c
src/functions/fn-logical.c
src/functions/fn-lookup.c src/functions/fn-lookup.c
src/functions/fn-math.c src/functions/fn-math.c
src/functions/fn-sheet.c src/functions/fn-sheet.c
......
...@@ -39,7 +39,6 @@ extern void math_functions_init (void); ...@@ -39,7 +39,6 @@ extern void math_functions_init (void);
extern void sheet_functions_init (void); extern void sheet_functions_init (void);
extern void stat_functions_init (void); extern void stat_functions_init (void);
extern void lookup_functions_init (void); extern void lookup_functions_init (void);
extern void logical_functions_init (void);
extern void database_functions_init (void); extern void database_functions_init (void);
extern void information_functions_init (void); extern void information_functions_init (void);
...@@ -52,7 +51,6 @@ functions_init (void) ...@@ -52,7 +51,6 @@ functions_init (void)
sheet_functions_init (); sheet_functions_init ();
stat_functions_init (); stat_functions_init ();
lookup_functions_init (); lookup_functions_init ();
logical_functions_init ();
database_functions_init (); database_functions_init ();
information_functions_init (); information_functions_init ();
} }
......
...@@ -10,7 +10,6 @@ noinst_LIBRARIES = libfunctions.a ...@@ -10,7 +10,6 @@ noinst_LIBRARIES = libfunctions.a
libfunctions_a_SOURCES = \ libfunctions_a_SOURCES = \
fn-database.c \ fn-database.c \
fn-information.c \ fn-information.c \
fn-logical.c \
fn-lookup.c \ fn-lookup.c \
fn-math.c \ fn-math.c \
fn-sheet.c \ fn-sheet.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment