File: Makefile.am

package info (click to toggle)
gnumeric 1.12.44-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 112,672 kB
  • sloc: ansic: 293,830; xml: 56,297; perl: 6,093; sh: 4,527; makefile: 2,940; yacc: 1,341; python: 384
file content (61 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
AUTOMAKE_OPTIONS=no-dependencies

AM_CPPFLAGS = \
    -I../.. \
    -DPLUGIN_ID=\"Gnumeric_PerlLoader\"		\
    -DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
    -I$(top_srcdir)/src	-I$(top_builddir)/src

gnumeric_plugin_perl_loaderdir = $(gnumeric_plugindir)/perl-loader
xmldir = $(gnumeric_plugin_perl_loaderdir)
gnumeric_plugin_perl_loader_LTLIBRARIES = perl_loader.la

perl_loader_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS) $(PERL_LDDLFLAGS)
perl_loader_la_LIBADD = $(PERL_LDOPTS) $(GTK_LIBS)
perl_loader_la_SOURCES = \
	boot.c \
	perl-loader.c \
	perl-loader.h \
	perl-gnumeric.h \
	perl-gnumeric.c
nodist_perl_loader_la_SOURCES = \
	xsinit.c

# Auto dep tracking is off here.  Add a few deps by hand
some_deps =					\
	$(top_srcdir)/src/application.h		\
	$(top_srcdir)/src/expr.h		\
	$(top_srcdir)/src/func.h		\
	$(top_srcdir)/src/gnm-plugin.h		\
	$(top_srcdir)/src/gnumeric.h		\
	$(top_srcdir)/src/sheet.h		\
	$(top_srcdir)/src/value.h		\
	$(top_srcdir)/src/workbook.h		\
	$(top_srcdir)/src/workbook-view.h	\
	perl-gnumeric.h				\
	perl-loader.h


boot.lo: $(some_deps)
perl-loader.lo: $(some_deps)
perl-gnumeric.lo: $(some_deps)


# Use the right compiler.  This is not 100% correct: we use GNUMERIC_CFLAGS
# here which might contain stuff we don't like.  It looks good enough,
# though.
dist_noinst_SCRIPTS=perl-cc-wrapper
COMPILE=$(PERL) $(srcdir)/perl-cc-wrapper $(PERL_CC) $(PERL_CCOPTS) \
	$(PERL_CCCDLFLAGS) $(AM_CPPFLAGS) --sanitize=1 $(GNUMERIC_CFLAGS)
LTCOMPILE=$(LIBTOOL) --tag=CC --mode=compile $(COMPILE)

xsinit.c:
	$(PERL) -MExtUtils::Embed -e xsinit -- -o xsinit.c

xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

@INTLTOOL_XML_RULE@

EXTRA_DIST = $(xml_in_files)
CLEANFILES = $(xml_DATA) xsinit.c