melunko@249: SUBDIRS = . melunko@249: rosfran@252: lib_LTLIBRARIES = libgmythupnp.la melunko@249: rosfran@699: INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src @GLIB_CFLAGS@ @GOBJECT_CFLAGS@ rosfran@699: rosfran@696: BUILT_SOURCES = \ rosfran@696: gmyth_upnp_marshal.c \ rosfran@696: gmyth_upnp_marshal.h rosfran@696: rosfran@252: libgmythupnp_la_SOURCES = \ rosfran@699: gmyth_upnp.c \ rosfran@699: $(BUILT_SOURCES) rosfran@696: rosfran@696: EXTRA_libgmythupnp_la_SOURCES = gmyth_upnp_marshal.list rosfran@696: rosfran@696: gmyth_upnp_marshal.h: gmyth_upnp_marshal.list rosfran@696: glib-genmarshal --header --prefix=gmyth_upnp_marshal gmyth_upnp_marshal.list > gmyth_upnp_marshal.h.tmp rosfran@696: mv gmyth_upnp_marshal.h.tmp gmyth_upnp_marshal.h rosfran@696: rosfran@696: gmyth_upnp_marshal.c: gmyth_upnp_marshal.list gmyth_upnp_marshal.h rosfran@696: echo "#include \"glib-object.h\"" > gmyth_upnp_marshal.c.tmp rosfran@696: echo "#include \"gmyth_upnp_marshal.h\"" >> gmyth_upnp_marshal.c.tmp rosfran@696: glib-genmarshal --body --prefix=gmyth_upnp_marshal $(srcdir)/gmyth_upnp_marshal.list >> gmyth_upnp_marshal.c.tmp rosfran@696: mv gmyth_upnp_marshal.c.tmp gmyth_upnp_marshal.c rosfran@696: rosfran@252: libgmythupnp_la_CFLAGS = \ rosfran@252: -DDATADIR=\"$(pkgdatadir)\" \ rosfran@252: $(LIBGMYTH_CFLAGS) \ renatofilho@909: $(LIBUPNP_CFLAGS) melunko@249: rosfran@252: libgmythupnp_la_LDFLAGS = \ rosfran@252: -export-dynamic \ rosfran@252: $(LIBGMYTH_LIBS) \ renatofilho@909: $(LIBUPNP_LIBS) melunko@249: rosfran@252: libgmythupnp_includedir = \ melunko@249: $(pkgincludedir) melunko@249: rosfran@252: libgmythupnp_include_HEADERS = \ rosfran@252: gmyth_upnp.h melunko@249: melunko@249: CLEANFILES = $(BUILT_SOURCES)