1
modules_flags = -export_dynamic -avoid-version -module
1
include $(top_srcdir)/src/plugins/Makefile.plugins
3
3
plugindir = $(PLUGINDIR)/chapters
4
4
plugin_LTLIBRARIES = libchapters.la
6
plugin_in_files = chapters.totem-plugin.in
8
%.totem-plugin: %.totem-plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
10
plugin_DATA = $(plugin_in_files:.totem-plugin.in=.totem-plugin)
6
plugin_in_files = chapters.plugin.in
12
8
uidir = $(plugindir)
13
9
ui_DATA = chapters-list.ui chapters-edit.ui
17
-DDBUS_API_SUBJECT_TO_CHANGE \
18
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
19
-DGCONF_PREFIX=\""/apps/totem"\" \
20
-DDATADIR=\""$(datadir)"\" \
21
-DLIBEXECDIR=\""$(libexecdir)"\" \
22
-DBINDIR=\""$(bindir)"\" \
23
-DTOTEM_PLUGIN_DIR=\""$(libdir)/totem/plugins"\"\
26
libchapters_la_SOURCES = totem-chapters.c totem-cmml-parser.c totem-cmml-parser.h totem-chapters-utils.c totem-chapters-utils.h totem-edit-chapter.c totem-edit-chapter.h
27
libchapters_la_LDFLAGS = $(modules_flags)
28
libchapters_la_LIBADD = $(CHAPTERS_LIBS)
29
libchapters_la_CPPFLAGS = $(common_defines)
31
libchapters_la_CFLAGS = \
32
$(DEPENDENCY_CFLAGS) \
40
-I$(top_srcdir)/src/backend \
41
-I$(top_srcdir)/src/plugins
43
EXTRA_DIST = $(plugin_in_files) $(ui_DATA)
45
CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
46
DISTCLEANFILES = $(plugin_DATA)
10
EXTRA_DIST += $(ui_DATA)
12
libchapters_la_SOURCES = \
16
totem-chapters-utils.c \
17
totem-chapters-utils.h \
18
totem-edit-chapter.c \
20
libchapters_la_LDFLAGS = $(plugin_ldflags)
21
libchapters_la_LIBADD = \
24
libchapters_la_CFLAGS = \
28
-include $(top_srcdir)/git.mk