summaryrefslogtreecommitdiff
path: root/src/plugins/properties/Makefile.am
blob: 4615a8d439621d85c6b5e55faeae4335d33f1148 (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
modules_flags = -export_dynamic -avoid-version -module

plugindir = $(PLUGINDIR)/properties
plugin_LTLIBRARIES = libmovie-properties.la
noinst_LTLIBRARIES = libbaconvideowidgetproperties.la

plugin_in_files = movie-properties.totem-plugin.in
plugin_DATA = $(plugin_in_files:.totem-plugin.in=.totem-plugin)

%.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

common_defines = \
	-DG_LOG_DOMAIN=\""Totem"\"	\
	$(DISABLE_DEPRECATED)		\
	-I$(top_srcdir)/		\
	-I$(top_srcdir)/src		\
	-I$(top_srcdir)/src/backend	\
	-I$(top_srcdir)/src/plugins

libmovie_properties_la_SOURCES = totem-movie-properties.c
libmovie_properties_la_LDFLAGS = $(modules_flags)
libmovie_properties_la_LIBADD = libbaconvideowidgetproperties.la
libmovie_properties_la_CPPFLAGS = $(common_defines)

libmovie_properties_la_CFLAGS = \
	$(DEPENDENCY_CFLAGS)	\
	$(PEAS_CFLAGS)		\
	$(WARN_CFLAGS)		\
	$(DBUS_CFLAGS)

libbaconvideowidgetproperties_la_SOURCES =		\
	bacon-video-widget-properties.c			\
	bacon-video-widget-properties.h

libbaconvideowidgetproperties_la_CPPFLAGS = $(common_defines)
libbaconvideowidgetproperties_la_CFLAGS =	\
	$(DEPENDENCY_CFLAGS)			\
	$(WARN_CFLAGS)				\
	$(DBUS_CFLAGS)

EXTRA_DIST = $(plugin_in_files)

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

-include $(top_srcdir)/git.mk