diff options
author | Alberto Garcia <agarcia@igalia.com> | 2009-04-30 13:10:26 +0200 |
---|---|---|
committer | Alberto Garcia <agarcia@igalia.com> | 2009-04-30 13:33:58 +0200 |
commit | 69a11338fe0cc36a868e5812b590f5437622988a (patch) | |
tree | abd1efc835e7e30f7799eac64ff45405f1624528 /hildon/Makefile.am | |
parent | 8a970bcc0a22925ed90b869c8f7c1ba521e189ac (diff) |
Renamed src/ to hildon/
* src/
* Makefile.am
* configure.ac
* doc/Makefile.am
* doc/hildon.types
* po/POTFILES.in:
Renamed src/ to hildon/
* examples/*.c
* debian/changelog
* debian/rules:
Include <hildon/hildon.h> directly in all examples.
Diffstat (limited to 'hildon/Makefile.am')
-rw-r--r-- | hildon/Makefile.am | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/hildon/Makefile.am b/hildon/Makefile.am new file mode 100644 index 0000000..5b8ddee --- /dev/null +++ b/hildon/Makefile.am @@ -0,0 +1,235 @@ +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) \ + $(EXTRA_CFLAGS) \ + $(CANBERRA_CFLAGS) + +libhildon_@API_VERSION_MAJOR@_la_SOURCES = \ + hildon-private.c \ + hildon-controlbar.c \ + hildon-seekbar.c \ + hildon-note.c \ + hildon-volumebar.c \ + hildon-sound.c \ + hildon-volumebar-range.c \ + hildon-hvolumebar.c \ + hildon-vvolumebar.c \ + hildon-calendar-popup.c \ + hildon-date-editor.c \ + hildon-time-editor.c \ + hildon-time-picker.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-weekday-picker.c \ + hildon-number-editor.c \ + hildon-range-editor.c \ + hildon-get-password-dialog.c \ + hildon-set-password-dialog.c \ + hildon-sort-dialog.c \ + hildon-font-selection-dialog.c \ + hildon-login-dialog.c \ + hildon-wizard-dialog.c \ + hildon-color-chooser.c \ + hildon-color-button.c \ + hildon-color-chooser-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-code-dialog.c \ + hildon-enum-types.c \ + hildon-marshalers.c \ + hildon-calendar.c \ + hildon-pannable-area.c \ + hildon-entry.c \ + hildon-text-view.c \ + hildon-bread-crumb-trail.c \ + hildon-bread-crumb.c \ + hildon-bread-crumb-widget.c \ + hildon-app-menu.c \ + hildon-button.c \ + hildon-check-button.c \ + hildon-gtk.c \ + hildon-dialog.c \ + hildon-main.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-banner.h \ + hildon-calendar-popup.h \ + hildon-caption.h \ + hildon-code-dialog.h \ + hildon-color-button.h \ + hildon-color-chooser-dialog.h \ + hildon-color-chooser.h \ + hildon-controlbar.h \ + hildon-date-editor.h \ + hildon-defines.h \ + hildon-find-toolbar.h \ + hildon-edit-toolbar.h \ + hildon-helper.h \ + hildon-font-selection-dialog.h \ + hildon-get-password-dialog.h \ + hildon-hvolumebar.h \ + hildon-login-dialog.h \ + hildon-note.h \ + hildon-number-editor.h \ + hildon-program.h \ + hildon-range-editor.h \ + hildon-seekbar.h \ + hildon-set-password-dialog.h \ + hildon-sort-dialog.h \ + hildon-sound.h \ + hildon-time-editor.h \ + hildon-time-picker.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-volumebar-range.h \ + hildon-volumebar.h \ + hildon-vvolumebar.h \ + hildon-weekday-picker.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-calendar.h \ + hildon-pannable-area.h \ + hildon-entry.h \ + hildon-text-view.h \ + hildon-bread-crumb-trail.h \ + hildon-bread-crumb.h \ + hildon-app-menu.h \ + hildon-dialog.h \ + hildon-button.h \ + hildon-check-button.h \ + hildon-gtk.h \ + hildon-version.h \ + hildon-main.h + +libhildon_@API_VERSION_MAJOR@_include_HEADERS = \ + $(libhildon_@API_VERSION_MAJOR@_public_headers) \ + $(libhildon_@API_VERSION_MAJOR@_built_public_headers) + +noinst_HEADERS = hildon-banner-private.h \ + hildon-calendar-popup-private.h \ + hildon-private.h \ + hildon-caption-private.h \ + hildon-code-dialog-private.h \ + hildon-picker-button-private.h \ + hildon-color-button-private.h \ + hildon-color-chooser-dialog-private.h \ + hildon-color-chooser-private.h \ + hildon-controlbar-private.h \ + hildon-date-editor-private.h \ + hildon-find-toolbar-private.h \ + hildon-font-selection-dialog-private.h \ + hildon-get-password-dialog-private.h \ + hildon-login-dialog-private.h \ + hildon-note-private.h \ + hildon-number-editor-private.h \ + hildon-program-private.h \ + hildon-range-editor-private.h \ + hildon-seekbar-private.h \ + hildon-set-password-dialog-private.h \ + hildon-sort-dialog-private.h \ + hildon-time-editor-private.h \ + hildon-time-picker-private.h \ + hildon-volumebar-private.h \ + hildon-weekday-picker-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-calendar-private.h \ + hildon-app-menu-private.h \ + hildon-bread-crumb-widget.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 + (cd $(srcdir) && glib-mkenums \ + --fhead "#ifndef __HILDON_ENUM_TYPES_H__\n" \ + --fhead "#define __HILDON_ENUM_TYPES_H__\n" \ + --fhead "\n" \ + --fhead "#include <glib-object.h>\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 + (cd $(srcdir) && glib-mkenums \ + --fhead "#undef HILDON_DISABLE_DEPRECATED\n" \ + --fhead "#include \"hildon.h\"\n" \ + --fhead "#include <glib-object.h>" \ + --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 + glib-genmarshal --prefix _hildon_marshal --header hildon-marshalers.list >hildon-marshalers.h + +hildon-marshalers.c: hildon-marshalers.list hildon-marshalers.h + echo '#include "hildon-marshalers.h"' >hildon-marshalers.c + glib-genmarshal --prefix _hildon_marshal --body hildon-marshalers.list >>hildon-marshalers.c + |