Makefile.am 752 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#
# Makefile for the Python Gnumeric plugin.
#
# Where can we find the Gnumeric include files.
#
GNUMERIC_SRC_DIR = $(srcdir)/../../src

#
# Where to install the plugin
#
plugindir = $(libdir)/gnumeric/plugins

# CFLAGS += -g -Wall 	\
# 	-Wshadow             -Wpointer-arith  	\
# 	-Wmissing-prototypes -Wmissing-declarations 

Tom Dyas's avatar
Tom Dyas committed
17
plugin_LTLIBRARIES = libperl.la
18

Tom Dyas's avatar
Tom Dyas committed
19
libperl_la_SOURCES = perl.c xsinit.c
20 21 22 23 24 25 26 27 28 29 30

xsinit.c:
	perl -MExtUtils::Embed -e xsinit -- -o xsinit.c

INCLUDES = 						\
	-I$(GNUMERIC_SRC_DIR)				\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	-I$(includedir)					\
	$(PERL_CCOPTS)					\
	$(GNOME_INCLUDEDIR)

31
libperl_la_LDADD = $(PERL_LDOPTS)
32 33 34 35 36 37 38

Perlscriptsdir = $(datadir)/gnumeric/perl

Perlscripts_DATA = startup.pl

EXTRA_DIST = startup.pl