2 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
3 -I$(top_srcdir)/src -I$(top_builddir)/src \
6 gnumeric_plugin_fnfinancialdir = $(gnumeric_plugindir)/fn-financial
7 xmldir = $(gnumeric_plugin_fnfinancialdir)
8 gnumeric_plugin_fnfinancial_LTLIBRARIES = plugin.la
9 plugin_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
10 plugin_la_SOURCES = functions.c sc-fin.c sc-fin.h
12 xml_in_files = plugin.xml.in
13 xml_DATA = $(xml_in_files:.xml.in=.xml)
15 pofiles = $(wildcard $(top_srcdir)/po/*.po) $(wildcard $(top_srcdir)/po-functions/*.po)
17 plugin.xml: plugin.xml.in $(pofiles)
18 LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@.tmp
19 @PERL@ -pi -e "s/VERSION/${VERSION}/" $@.tmp
24 EXTRA_DIST = $(xml_in_files)
25 CLEANFILES = $(xml_DATA)