summaryrefslogtreecommitdiff
path: root/src/plugins/skipto/Makefile.am
blob: 8388c10cb36c4767843bc969536f264de0d8c5d5 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
modules_flags = -export_dynamic -avoid-version -module

plugindir = $(PLUGINDIR)/skipto
gladedir = $(plugindir)
plugin_LTLIBRARIES = libskipto.la

plugin_in_files = skipto.totem-plugin.in

%.totem-plugin: %.totem-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache

plugin_DATA = $(plugin_in_files:.totem-plugin.desktop.in=.totem-plugin)
glade_DATA = skip_to.glade

common_defines = \
	-D_REENTRANT					\
	-DDBUS_API_SUBJECT_TO_CHANGE			\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"	\
	-DGCONF_PREFIX=\""/apps/totem"\"		\
	-DDATADIR=\""$(datadir)"\"			\
	-DLIBEXECDIR=\""$(libexecdir)"\"		\
	-DBINDIR=\""$(bindir)"\"			\
	-DTOTEM_PLUGIN_DIR=\""$(libdir)/totem/plugins"\"\
	$(DISABLE_DEPRECATED)

libskipto_la_SOURCES = \
	totem-skipto-plugin.c	\
	totem-skipto.c		\
	totem-skipto.h
libskipto_la_LDFLAGS = $(modules_flags)
libskipto_la_CPPFLAGS = \
	$(common_defines)		\
	-I$(top_srcdir)/src/backend	\
	-I$(top_srcdir)/src/plparse

libskipto_la_CFLAGS = \
	$(EXTRA_GNOME_CFLAGS)	\
	$(WARN_CFLAGS)		\
	$(DBUS_CFLAGS)		\
	$(AM_CFLAGS)		\
	-I$(top_srcdir)/lib	\
	-I$(top_srcdir)/src	\
	-I$(top_srcdir)/src/plugins

EXTRA_DIST = $(plugin_in_files) $(glade_DATA)

CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
DISTCLEANFILES = $(plugin_DATA)