melunko@249: SUBDIRS = . melunko@249: melunko@249: lib_LTLIBRARIES = libgmyth.la melunko@249: melunko@249: BUILT_SOURCES = \ melunko@249: gmyth_marshal.c \ melunko@249: gmyth_marshal.h melunko@249: melunko@249: libgmyth_la_SOURCES = \ melunko@249: gmyth_common.c \ melunko@249: gmyth_debug.c \ melunko@249: gmyth_epg.c \ melunko@249: gmyth_recorder.c \ melunko@249: gmyth_remote_util.c \ melunko@249: gmyth_tvchain.c \ melunko@249: gmyth_scheduler.c \ melunko@249: gmyth_util.c \ melunko@249: gmyth_query.c \ melunko@249: gmyth_socket.c \ melunko@249: gmyth_stringlist.c \ melunko@249: gmyth_monitor_handler.c \ melunko@249: gmyth_file_transfer.c \ melunko@249: gmyth_livetv.c \ melunko@249: gmyth_backendinfo.c \ melunko@249: gmyth_programinfo.c \ melunko@249: gmyth_uri.c \ melunko@249: $(BUILT_SOURCES) melunko@249: melunko@249: melunko@249: EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list melunko@249: melunko@249: gmyth_marshal.h: gmyth_marshal.list melunko@249: glib-genmarshal --header --prefix=gmyth_marshal gmyth_marshal.list > gmyth_marshal.h.tmp melunko@249: mv gmyth_marshal.h.tmp gmyth_marshal.h melunko@249: melunko@249: gmyth_marshal.c: gmyth_marshal.list gmyth_marshal.h melunko@249: echo "#include \"glib-object.h\"" > gmyth_marshal.c.tmp melunko@249: echo "#include \"gmyth_marshal.h\"" >> gmyth_marshal.c.tmp melunko@249: glib-genmarshal --body --prefix=gmyth_marshal $(srcdir)/gmyth_marshal.list >> gmyth_marshal.c.tmp melunko@249: mv gmyth_marshal.c.tmp gmyth_marshal.c melunko@249: melunko@249: libgmyth_la_CFLAGS = \ melunko@249: -DDATADIR=\"$(pkgdatadir)\" \ melunko@249: $(GLIB_CFLAGS) \ melunko@249: $(GOBJECT_CFLAGS) \ melunko@249: $(GST_CFLAGS) \ melunko@249: $(GSTBASE_CFLAGS) \ melunko@249: $(GSTPLUGINSBASE_CFLAGS) \ melunko@249: $(MYSQL_CFLAGS) melunko@249: melunko@249: libgmyth_la_LDFLAGS = \ melunko@249: -export-dynamic \ melunko@249: $(MYSQL_LIBS) \ melunko@249: $(GST_LIBS) \ melunko@249: $(GSTBASE_LIBS) \ melunko@249: $(GSTPLUGINS_LIBS) melunko@249: melunko@249: libgmyth_includedir = \ melunko@249: $(pkgincludedir) melunko@249: melunko@249: libgmyth_include_HEADERS = \ melunko@249: gmyth.h \ melunko@249: gmyth_common.h \ melunko@249: gmyth_debug.h \ melunko@249: gmyth_epg.h \ melunko@249: gmyth_recorder.h \ melunko@249: gmyth_scheduler.h \ melunko@249: gmyth_tvchain.h \ melunko@249: gmyth_util.h \ melunko@249: gmyth_query.h \ melunko@249: gmyth_socket.h \ melunko@249: gmyth_remote_util.h \ melunko@249: gmyth_stringlist.h \ melunko@249: gmyth_monitor_handler.h \ melunko@249: gmyth_file_transfer.h \ melunko@249: gmyth_livetv.h \ melunko@249: gmyth_backendinfo.h \ melunko@249: gmyth_programinfo.h \ melunko@249: gmyth_uri.h melunko@249: melunko@249: CLEANFILES = $(BUILT_SOURCES)