diff options
| author | Ken VanDine <ken.vandine@canonical.com> | 2011-08-10 12:58:49 -0400 |
|---|---|---|
| committer | Ken VanDine <ken.vandine@canonical.com> | 2011-08-10 12:58:49 -0400 |
| commit | 9cae3218511419b9bb0bddd896dd8b13fac76a50 (patch) | |
| tree | 61a59ad4047068ab761c592717a2993872044bee /Makefile.am.marshal | |
| parent | 6a7027eea846bcc0c0a249f7e93fdadb407bed71 (diff) | |
| parent | 4f6158a1040258efb1403d6baf246b605dfa76cb (diff) | |
| download | ayatana-indicator-sound-9cae3218511419b9bb0bddd896dd8b13fac76a50.tar.gz ayatana-indicator-sound-9cae3218511419b9bb0bddd896dd8b13fac76a50.tar.bz2 ayatana-indicator-sound-9cae3218511419b9bb0bddd896dd8b13fac76a50.zip | |
* New upstream release.
- Don't allow starting programs via the greeter indicators (LP: #811853)
- support libunity's Track and Player specific items (LP: #824050)
Diffstat (limited to 'Makefile.am.marshal')
| -rw-r--r-- | Makefile.am.marshal | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Makefile.am.marshal b/Makefile.am.marshal new file mode 100644 index 0000000..a6ab024 --- /dev/null +++ b/Makefile.am.marshal @@ -0,0 +1,45 @@ +# Rules for generating marshal files using glib-genmarshal +# +# Define: +# glib_marshal_list = marshal list file +# glib_marshal_prefix = prefix for marshal functions +# +# before including Makefile.am.marshal. You will also need to have +# the following targets already defined: +# +# CLEANFILES +# DISTCLEANFILES +# BUILT_SOURCES +# EXTRA_DIST +# +# Author: Emmanuele Bassi <ebassi@linux.intel.com> + +marshal_h = $(glib_marshal_list:.list=.h) +marshal_c = $(glib_marshal_list:.list=.c) + +CLEANFILES += stamp-marshal +DISTCLEANFILES += $(marshal_h) $(marshal_c) +BUILT_SOURCES += $(marshal_h) $(marshal_c) +EXTRA_DIST += $(glib_marshal_list) + +stamp-marshal: $(glib_marshal_list) + $(QUIET_GEN)$(GLIB_GENMARSHAL) \ + --prefix=$(glib_marshal_prefix) \ + --header \ + $(srcdir)/$(glib_marshal_list) > xgen-mh \ + && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \ + && rm -f xgen-mh \ + && echo timestamp > $(@F) + +$(marshal_h): stamp-marshal + @true + +$(marshal_c): $(marshal_h) + $(QUIET_GEN)(echo "#include \"$(marshal_h)\"" ; \ + $(GLIB_GENMARSHAL) \ + --prefix=$(glib_marshal_prefix) \ + --body \ + $(srcdir)/$(glib_marshal_list)) > xgen-mc \ + && cp xgen-mc $(marshal_c) \ + && rm -f xgen-mc + |
