INCLUDES = -DG_LOG_DOMAIN=\"hildon-@API_VERSION_MAJOR@\" \ -DLOCALEDIR=\"$(localedir)\" CLEANFILES = \ hildon-enum-types.c \ hildon-enum-types.h \ hildon-marshalers.h \ hildon-marshalers.c EXTRA_DIST = hildon-marshalers.list lib_LTLIBRARIES = libhildon-@API_VERSION_MAJOR@.la libhildon_@API_VERSION_MAJOR@_la_LDFLAGS = $(HILDON_WIDGETS_LT_LDFLAGS) libhildon_@API_VERSION_MAJOR@_la_LIBADD = \ $(GTK_LIBS) \ $(GCONF_LIBS) \ $(CANBERRA_LIBS) \ @HILDON_LT_LDFLAGS@ libhildon_@API_VERSION_MAJOR@_la_CFLAGS = \ $(GTK_CFLAGS) \ $(GCONF_CFLAGS) \ $(CANBERRA_CFLAGS) libhildon_@API_VERSION_MAJOR@_la_SOURCES = \ hildon-private.c \ hildon-note.c \ hildon-sound.c \ hildon-date-selector.c \ hildon-time-selector.c \ hildon-touch-selector.c \ hildon-touch-selector-entry.c \ hildon-picker-dialog.c \ hildon-picker-button.c \ hildon-date-button.c \ hildon-time-button.c \ hildon-helper.c \ hildon-wizard-dialog.c \ hildon-defines.c \ hildon-find-toolbar.c \ hildon-edit-toolbar.c \ hildon-banner.c \ hildon-caption.c \ hildon-window.c \ hildon-stackable-window.c \ hildon-window-stack.c \ hildon-animation-actor.c \ hildon-remote-texture.c \ hildon-program.c \ hildon-enum-types.c \ hildon-marshalers.c \ hildon-pannable-area.c \ hildon-entry.c \ hildon-text-view.c \ hildon-app-menu.c \ hildon-button.c \ hildon-check-button.c \ hildon-gtk.c \ hildon-main.c \ hildon-live-search.c libhildon_@API_VERSION_MAJOR@_built_public_headers = \ hildon-enum-types.h \ hildon-marshalers.h libhildon_@API_VERSION_MAJOR@_includedir = \ $(includedir)/$(PACKAGE)-$(API_VERSION_MAJOR)/$(PACKAGE) libhildon_@API_VERSION_MAJOR@_public_headers = \ hildon-caption.h \ hildon-defines.h \ hildon-find-toolbar.h \ hildon-edit-toolbar.h \ hildon-helper.h \ hildon-note.h \ hildon-program.h \ hildon-sound.h \ hildon-date-selector.h \ hildon-time-selector.h \ hildon-touch-selector.h \ hildon-touch-selector-column.h \ hildon-touch-selector-entry.h \ hildon-picker-dialog.h \ hildon-picker-button.h \ hildon-date-button.h \ hildon-time-button.h \ hildon.h \ hildon-window.h \ hildon-stackable-window.h \ hildon-window-stack.h \ hildon-animation-actor.h \ hildon-remote-texture.h \ hildon-wizard-dialog.h \ hildon-pannable-area.h \ hildon-entry.h \ hildon-text-view.h \ hildon-app-menu.h \ hildon-button.h \ hildon-check-button.h \ hildon-gtk.h \ hildon-version.h \ hildon-main.h \ hildon-live-search.h \ hildon-stock.h libhildon_@API_VERSION_MAJOR@_include_HEADERS = \ $(libhildon_@API_VERSION_MAJOR@_public_headers) \ $(libhildon_@API_VERSION_MAJOR@_built_public_headers) noinst_HEADERS = hildon-private.h \ hildon-caption-private.h \ hildon-picker-button-private.h \ hildon-edit-toolbar-private.h \ hildon-find-toolbar-private.h \ hildon-note-private.h \ hildon-program-private.h \ hildon-window-private.h \ hildon-stackable-window-private.h \ hildon-window-stack-private.h \ hildon-animation-actor-private.h \ hildon-remote-texture-private.h \ hildon-wizard-dialog-private.h \ hildon-app-menu-private.h \ hildon-touch-selector-private.h # Don't build the library until we have built the header that it needs: $(OBJECTS) $(libhildon_$(API_VERSION_MAJOR)_la_OBJECTS): hildon-enum-types.h hildon-marshalers.c hildon-marshalers.h hildon-enum-types.h: @REBUILD@ $(libhildon_$(API_VERSION_MAJOR)_public_headers) Makefile $(AM_V_GEN) (cd $(srcdir) && glib-mkenums \ --fhead "#ifndef __HILDON_ENUM_TYPES_H__\n" \ --fhead "#define __HILDON_ENUM_TYPES_H__\n" \ --fhead "\n" \ --fhead "#include \n" \ --fhead "\n" \ --fhead "G_BEGIN_DECLS\n" \ --fhead "\n" \ --fprod "/* Enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void);\n#define HILDON_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "\nG_END_DECLS\n\n#endif /* __HILDON_ENUM_TYPES_H__ */" \ $(libhildon_$(API_VERSION_MAJOR)_public_headers)) > $@ hildon-enum-types.c: @REBUILD@ $(libhildon_$(API_VERSION_MAJOR)_public_headers) Makefile $(AM_V_GEN) (cd $(srcdir) && glib-mkenums \ --fhead "#include \"hildon.h\"\n" \ --fhead "#include " \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ $(libhildon_$(API_VERSION_MAJOR)_public_headers)) > $@ hildon-marshalers.h: hildon-marshalers.list $(AM_V_GEN) glib-genmarshal --prefix _hildon_marshal --header hildon-marshalers.list >hildon-marshalers.h hildon-marshalers.c: hildon-marshalers.list hildon-marshalers.h $(AM_V_GEN) echo '#include "hildon-marshalers.h"' >hildon-marshalers.c $(AM_V_at) glib-genmarshal --prefix _hildon_marshal --body hildon-marshalers.list >>hildon-marshalers.c