syncevolution/src/gtk-ui/Makefile.am
Jussi Kukkonen a99e8c43c7 dbus client: add MuxWindow class, use it in the client
MuxWindow is a top-level widget (a GtkWindow) that includes
builtin "window decoration": a title bar with a title and
selected buttons. MuxWindow disables actual window decorations
and makes the window fullscreen by default.
2009-04-16 10:24:48 +03:00

38 lines
1,003 B
Makefile

gladedir = $(datadir)/syncevolution/
glade_DATA = \
ui.xml
themercdir = $(datadir)/syncevolution/
themerc_DATA = \
close.png close_hover.png settings.png settings_hover.png \
sync-ui.rc
EXTRA_DIST = \
$(glade_DATA)
$(themerc_DATA)
ui.xml: ui.glade
$(GTK_BUILDER_CONV) $< $(@F)
bin_PROGRAMS = \
sync-ui
sync_ui_SOURCES = \
sync-ui.c sync-ui-config.c sync-ui-config.h \
mux-bin.c mux-bin.h mux-window.c mux-window.h mux-icon-button.c mux-icon-button.h
sync_ui_LDADD = $(GUI_LIBS) $(DBUS_GLIB_LIBS) -L$(top_builddir)/syncevo-dbus -lsyncevo-dbus
sync_ui_CFLAGS = $(GUI_CFLAGS) $(DBUS_GLIB_CFLAGS) -DGLADEDIR=\""$(gladedir)"\" -DTHEMEDIR=\""$(themercdir)"\"
BUILT_SOURCES = \
syncevo-bindings.h
%-bindings.h: stamp-%-bindings.h
@true
stamp-%-bindings.h: $(top_srcdir)/interfaces/%.xml
$(DBUS_BINDING_TOOL) --mode=glib-client --prefix=syncevo $< > xgen-$(@F) \
&& (cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%)) \
&& rm -f xgen-$(@F) \
&& echo timestamp > $(@F)