~swem/totem/assignment

« back to all changes in this revision

Viewing changes to src/plugins/sample-vala/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-01-27 09:40:18 UTC
  • mfrom: (1.4.2 upstream) (5.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20100127094018-q6rzt7va0y8ketwt
Tags: 2.29.4-1
* New upstream development release:
  + debian/patches/90_autotools.patch:
    - Refreshed for the new version.
  + debian/control.in:
    - Update build dependencies and dependencies.
    - Drop tracker plugin, it needs tracker 0.7.
  + debian/totem-mozilla.links:
    - Drop the complex plugin, it doesn't exist anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BUILT_SOURCES = totem-sample-vala-plugin.c totem-sample-vala-plugin.h
 
1
BUILT_SOURCES = totem-sample-vala-plugin.vala.stamp
2
2
 
3
3
plugindir = $(PLUGINDIR)/sample-vala
4
4
plugin_DATA = $(plugin_in_files:.totem-plugin.in=.totem-plugin)
13
13
# override to _not_ install the test plugins
14
14
install-pluginLTLIBRARIES:
15
15
 
16
 
totem-sample-vala-plugin.c totem-sample-vala-plugin.h: totem-sample-vala-plugin.vala
17
 
        $(VALAC) -C --vapidir=$(top_srcdir)/bindings/vala -X -I$(top_srcdir)/src/plugins -X -I$(top_srcdir)/src/ --pkg=totem -X "$(DEPENDENCY_CFLAGS)" $^
18
 
 
19
16
common_defines = \
20
17
        -D_REENTRANT                                    \
21
18
        -DDBUS_API_SUBJECT_TO_CHANGE                    \
27
24
        -DTOTEM_PLUGIN_DIR=\""$(libdir)/totem/plugins"\"\
28
25
        $(DISABLE_DEPRECATED)
29
26
 
30
 
nodist_libsample_vala_la_SOURCES = $(BUILT_SOURCES)
 
27
libsample_vala_la_VALASOURCES = \
 
28
        totem-sample-vala-plugin.vala
 
29
 
 
30
libsample_vala_la_SOURCES = \
 
31
        totem-sample-vala-plugin.vala.stamp \
 
32
        $(libsample_vala_la_VALASOURCES:.vala=.c)
 
33
 
31
34
libsample_vala_la_LDFLAGS = $(modules_flags)
32
35
libsample_vala_la_CPPFLAGS = $(common_defines)
33
36
 
41
44
        -I$(top_srcdir)/src     \
42
45
        -I$(top_srcdir)/src/plugins
43
46
 
 
47
totem-sample-vala-plugin.vala.stamp: $(libsample_vala_la_VALASOURCES)
 
48
        $(VALAC) $(VALAFLAGS) -C --vapidir=$(top_srcdir)/bindings/vala --pkg=totem $^
 
49
        touch $@
 
50
 
44
51
endif
45
52
 
46
 
EXTRA_DIST = $(plugin_in_files) totem-sample-vala-plugin.vala
47
 
 
48
 
CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
49
 
DISTCLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
 
53
EXTRA_DIST = $(plugin_in_files) $(libsample_vala_la_VALASOURCES) totem-sample-vala-plugin.vala.stamp
 
54
 
 
55
MAINTAINERCLEANFILES = \
 
56
        $(libsample_vala_la_VALASOURCES:.vala=.c)
 
57
 
 
58
CLEANFILES = $(plugin_DATA)
 
59
DISTCLEANFILES = $(plugin_DATA)