1.1 --- a/gmyth-upnp/src/Makefile.am Wed Jan 10 20:32:11 2007 +0000
1.2 +++ b/gmyth-upnp/src/Makefile.am Tue May 22 19:14:37 2007 +0100
1.3 @@ -2,9 +2,25 @@
1.4
1.5 lib_LTLIBRARIES = libgmythupnp.la
1.6
1.7 +BUILT_SOURCES = \
1.8 + gmyth_upnp_marshal.c \
1.9 + gmyth_upnp_marshal.h
1.10 +
1.11 libgmythupnp_la_SOURCES = \
1.12 gmyth_upnp.c
1.13 -
1.14 +
1.15 +EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list
1.16 +
1.17 +gmyth_upnp_marshal.h: gmyth_upnp_marshal.list
1.18 + glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp
1.19 + mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h
1.20 +
1.21 +gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h
1.22 + echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp
1.23 + echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp
1.24 + glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp
1.25 + mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c
1.26 +
1.27 libgmythupnp_la_CFLAGS = \
1.28 -DDATADIR=\"$(pkgdatadir)\" \
1.29 $(LIBGMYTH_CFLAGS) \