summaryrefslogtreecommitdiff
path: root/src/plugins/sample-vala/Makefile.am
blob: f82f2e38820e52ed6862dd9ad4b1d0a8c29d2eb8 (plain)
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
include $(top_srcdir)/src/plugins/Makefile.plugins

plugindir = $(PLUGINDIR)/sample-vala
plugin_LTLIBRARIES = libsample-vala.la

plugin_in_files = sample-vala.plugin.in

# here we are explicitly specifying gtk+-3.0 to use the vapi because vala still
# cannot parse the gir
AM_VALAFLAGS = \
	--girdir=$(abs_top_builddir)/src \
	--pkg Totem-1.0 --pkg libpeas-1.0 --pkg gtk+-3.0

libsample_vala_la_SOURCES = totem-sample-vala-plugin.vala
libsample_vala_la_LDFLAGS = $(plugin_ldflags)
libsample_vala_la_CFLAGS = $(plugin_cflags) $(vala_plugin_cflags)
libsample_vala_la_LIBADD = $(plugin_libadd)

GITIGNOREFILES = \
	$(libsample_vala_la_SOURCES:.vala=.c) \
	libsample_vala_la_vala.stamp \
	$(NULL)

# Override to _not_ install the test plugins
install-pluginLTLIBRARIES:
install-pluginDATA:
uninstall-pluginLTLIBRARIES:
uninstall-pluginDATA:

-include $(top_srcdir)/git.mk