SUBDIRS = gst backend properties . plugins bin_PROGRAMS = totem totem-video-thumbnailer totem-audio-preview lib_LTLIBRARIES = libtotem.la noinst_LTLIBRARIES = libtotem_player.la AM_CPPFLAGS = \ -D_REENTRANT \ -DDBUS_API_SUBJECT_TO_CHANGE \ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ -DDATADIR=\""$(datadir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ -DTOTEM_PLUGIN_DIR=\""$(libdir)/totem/plugins"\"\ -DBINDIR=\""$(bindir)"\" \ -DGTKBUILDERDIR=\"""\" \ $(DISABLE_DEPRECATED) \ -I$(top_srcdir)/ \ -I$(top_srcdir)/src/backend \ -I$(top_builddir)/src/backend \ -I$(srcdir)/plugins AM_CFLAGS = $(WARN_CFLAGS) # Header files installed for use by plugins (and consequently introspected using gobject-introspection; see the bottom of the Makefile) INST_H_FILES = \ totem.h \ totem-interface.h \ plugins/totem-plugin.h \ plugins/totem-dirs.h headerdir = $(includedir)/totem/$(TOTEM_API_VERSION) header_DATA = $(INST_H_FILES) # Totem UI ltlibrary (used by browser plugins) libtotem_player_la_SOURCES = \ $(INST_H_FILES) \ totem-interface.c \ totem-time-label.c \ totem-time-label.h libtotem_player_la_CPPFLAGS = \ -DG_LOG_DOMAIN=\""Totem"\" \ $(AM_CPPFLAGS) libtotem_player_la_LIBADD = \ $(PLAYER_LIBS) \ gst/libtotemtimehelpers.la libtotem_player_la_CFLAGS = \ $(LIBPLAYER_CFLAGS) \ -I$(srcdir)/gst/ \ $(AM_CFLAGS) # Totem main library (used for main player; separate to allow gtk-doc to be used) BUILT_SOURCES = griloresources.h griloresources.c EXTRA_DIST = grilo.gresource.xml totemmaintoolbar.ui totemselectiontoolbar.ui grilo.ui totem-grilo.conf griloresources.h: grilo.gresource.xml $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/grilo.gresource.xml \ --target=$@ --sourcedir=$(srcdir) --c-name _totem --generate-header griloresources.c: $(EXTRA_DIST) griloresources.h $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/grilo.gresource.xml \ --target=$@ --sourcedir=$(srcdir) --c-name _totem --generate-source libtotem_la_SOURCES = \ $(TOTEM_MARSHAL_FILES) \ $(INST_H_FILES) \ totem-object.c \ totem-private.h \ totem-preferences.c \ totem-preferences.h \ totem-options.c \ totem-options.h \ totem-playlist.c \ totem-playlist.h \ totem-session.c \ totem-session.h \ totem-open-location.c \ totem-open-location.h \ totem-menu.c \ totem-menu.h \ totem-uri.c \ totem-uri.h \ totem-subtitle-encoding.c \ totem-subtitle-encoding.h \ totem-profile.h \ plugins/totem-plugins-engine.c \ plugins/totem-plugins-engine.h \ plugins/totem-dirs.c \ totem-grilo.c \ totem-grilo.h \ totem-search-entry.c \ totem-search-entry.h \ totem-main-toolbar.h \ totem-main-toolbar.c \ totem-selection-toolbar.h \ totem-selection-toolbar.c \ icon-helpers.c \ icon-helpers.h \ griloresources.h \ griloresources.c libtotem_la_CPPFLAGS = \ -I$(top_builddir)/data \ -DG_LOG_DOMAIN=\""Totem"\" \ $(AM_CPPFLAGS) libtotem_la_CFLAGS = \ $(PLAYER_CFLAGS) \ $(AM_CFLAGS) \ -I$(srcdir)/gst/ \ -I$(top_srcdir)/libgd libtotem_la_LDFLAGS = \ -export-dynamic \ -no-undefined \ $(AM_LDFLAGS) libtotem_la_LIBADD = \ libtotem_player.la \ backend/libbaconvideowidget.la \ $(top_builddir)/libgd/libgd.la \ $(PLAYER_LIBS) # Totem totem_SOURCES = totem.c totem_CPPFLAGS = \ -DG_LOG_DOMAIN=\""Totem"\" \ $(AM_CPPFLAGS) totem_CFLAGS = \ $(PLAYER_CFLAGS) \ -I$(srcdir)/gst/ \ $(AM_CFLAGS) totem_LDADD = \ libtotem.la \ $(PLAYER_LIBS) # Totem video thumbnailer totem_video_thumbnailer_SOURCES = \ totem-video-thumbnailer.c \ totem-resources.c \ totem-resources.h totem_video_thumbnailer_CPPFLAGS = \ -DG_LOG_DOMAIN=\""TotemVideoThumbnailer"\" \ $(AM_CPPFLAGS) totem_video_thumbnailer_CFLAGS = \ $(THUMBNAILER_CFLAGS) \ $(AM_CFLAGS) totem_video_thumbnailer_LDADD = \ $(THUMBNAILER_LIBS) \ gst/libtotemgstpixbufhelpers.la \ gst/libtotemgsthelpers.la \ gst/libtotemtimehelpers.la \ -lm # Nautilus Property Page if HAVE_NAUTILUS nautilusdir = $(NAUTILUSDIR) nautilus_LTLIBRARIES = libtotem-properties-page.la libtotem_properties_page_la_SOURCES = \ totem-properties-main.c \ totem-properties-view.c \ totem-properties-view.h libtotem_properties_page_la_CPPFLAGS = \ -I$(top_srcdir)/src/properties \ -I$(top_builddir)/data \ -DG_LOG_DOMAIN=\""TotemPropertiesPage"\"\ $(AM_CPPFLAGS) libtotem_properties_page_la_CFLAGS = \ $(NAUTILUS_CFLAGS) \ $(AM_CFLAGS) libtotem_properties_page_la_LDFLAGS = \ -export_dynamic -avoid-version -module -no-undefined \ $(AM_LDFLAGS) libtotem_properties_page_la_LIBADD = \ properties/libbaconvideowidgetproperties.la \ $(NAUTILUS_LIBS) noinst_PROGRAMS = test-properties-page test_properties_page_SOURCES = \ totem-properties-main.c \ totem-properties-view.c \ totem-properties-view.h \ test-properties-page.c test_properties_page_CPPFLAGS = \ -I$(top_builddir)/data \ -I$(top_srcdir)/src/properties \ $(AM_CPPFLAGS) test_properties_page_CFLAGS = \ $(NAUTILUS_CFLAGS) \ $(AM_CFLAGS) test_properties_page_LDADD = \ backend/libbaconvideowidget.la \ properties/libbaconvideowidgetproperties.la \ libtotem_player.la \ $(NAUTILUS_LIBS) endif # HAVE_NAUTILUS # Totem Audio Preview for Nautilus totem_audio_preview_SOURCES = \ totem-audio-preview.c \ totem-resources.c \ totem-resources.h totem_audio_preview_CPPFLAGS = \ -I$(top_builddir)/data \ -I$(top_srcdir)/src/gst \ -DG_LOG_DOMAIN=\""TotemAudioPreview"\" \ $(AM_CPPFLAGS) totem_audio_preview_CFLAGS = \ $(PREVIEW_CFLAGS) \ $(AM_CFLAGS) totem_audio_preview_LDADD = \ gst/libtotemgsthelpers.la \ $(PREVIEW_LIBS) # Introspection -include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) if HAVE_INTROSPECTION introspection_sources = $(INST_H_FILES) $(filter %.c,$(libtotem_player_la_SOURCES) $(libtotem_la_SOURCES)) # NOTE: This should change with $(TOTEM_API_VERSION) Totem-1.0.gir: libtotem.la Totem_1_0_gir_INCLUDES = GLib-2.0 GObject-2.0 Gio-2.0 Gtk-3.0 TotemPlParser-1.0 Totem_1_0_gir_SCANNERFLAGS = --c-include=totem.h --pkg-export=totem Totem_1_0_gir_CFLAGS = \ $(PLAYER_CFLAGS) \ $(libtotem_la_CPPFLAGS) Totem_1_0_gir_LIBS = libtotem.la $(top_builddir)/libgd/libgd.la Totem_1_0_gir_FILES = $(introspection_sources) Totem_1_0_gir_EXPORT_PACKAGES = totem INTROSPECTION_GIRS += Totem-1.0.gir girdir = $(datadir)/gir-1.0 gir_DATA = $(INTROSPECTION_GIRS) typelibdir = $(libdir)/girepository-1.0 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) CLEANFILES = $(gir_DATA) $(typelib_DATA) endif -include $(top_srcdir)/git.mk