gtk2/gtk/stock-icons/Makefile.am
Owen Taylor b47b15f6ba Fixes for uninstalled operation with module suffixes other than .so and in
Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes for uninstalled operation with module suffixes
        other than .so and in general for platforms like AIX where
        the module suffix isn't predictable. (#72185, problems
        reported by Miroslaw Dobrzanski-Neumann)

        * modules/input/Makefile.am (gtk.immodules): Query .la
        files rather than shared objects in .libs when creating the
        uninstalled gtk.immodules file.

        * gtk/gtkmain.c (_gtk_find_module): Look for .la files
        after looking for the normal soname extension to handle
        cases where the soname extension isn't predictable,
        like AIX.

        * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
        call g_module_build_path... leave that to
        gtk_rc_find_module_in_path.

        * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
        tests/testgtk.c (test_init): tests/testtext.c (test_init)
        tests/testdnd.c (test_init): Point gdk-pixbuf to .la
        files rather than poking in .libs for .so files.

        * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
        .libs from GDK_PIXBUF_MODULEDIR.
2002-03-03 04:16:30 +00:00

271 lines
12 KiB
Makefile

IMAGES = @STRIP_BEGIN@ \
stock_add_24.png \
stock_align_center_16.png \
stock_align_center_24.png \
stock_align_justify_16.png \
stock_align_justify_24.png \
stock_align_left_16.png \
stock_align_left_24.png \
stock_align_right_16.png \
stock_align_right_24.png \
stock_apply_20.png \
stock_bottom_16.png \
stock_bottom_24.png \
stock_broken_image_16.png \
stock_broken_image_24.png \
stock_cancel_20.png \
stock_cdrom_16.png \
stock_cdrom_24.png \
stock_clear_24.png \
stock_close_20.png \
stock_close_24.png \
stock_colorselector_24.png \
stock_convert_16.png \
stock_convert_24.png \
stock_copy_16.png \
stock_copy_24.png \
stock_cut_16.png \
stock_cut_24.png \
stock_dialog_error_48.png \
stock_dialog_info_48.png \
stock_dialog_question_48.png \
stock_dialog_warning_48.png \
stock_dnd_multiple_32.png \
stock_down_arrow_16.png \
stock_down_arrow_24.png \
stock_exec_16.png \
stock_exec_24.png \
stock_exit_16.png \
stock_exit_24.png \
stock_first_16.png \
stock_first_24.png \
stock_font_16.png \
stock_font_24.png \
stock_help_16.png \
stock_help_24.png \
stock_home_16.png \
stock_home_24.png \
stock_index_24.png \
stock_jump_to_16.png \
stock_jump_to_24.png \
stock_last_16.png \
stock_last_24.png \
stock_left_arrow_16.png \
stock_left_arrow_24.png \
stock_new_16.png \
stock_new_24.png \
stock_no_20.png \
stock_ok_20.png \
stock_open_16.png \
stock_open_24.png \
stock_paste_16.png \
stock_paste_24.png \
stock_preferences_16.png \
stock_preferences_24.png \
stock_print_16.png \
stock_print_24.png \
stock_print_preview_16.png \
stock_print_preview_24.png \
stock_properties_24.png \
stock_redo_16.png \
stock_redo_24.png \
stock_refresh_16.png \
stock_refresh_24.png \
stock_remove_24.png \
stock_revert_16.png \
stock_revert_24.png \
stock_right_arrow_16.png \
stock_right_arrow_24.png \
stock_save_16.png \
stock_save_24.png \
stock_save_as_16.png \
stock_save_as_24.png \
stock_search_16.png \
stock_search_24.png \
stock_search_replace_16.png \
stock_search_replace_24.png \
stock_sort_ascending_16.png \
stock_sort_ascending_24.png \
stock_sort_descending_16.png \
stock_sort_descending_24.png \
stock_spellcheck_16.png \
stock_spellcheck_24.png \
stock_stop_16.png \
stock_stop_24.png \
stock_text_bold_16.png \
stock_text_bold_24.png \
stock_text_italic_16.png \
stock_text_italic_24.png \
stock_text_strikethrough_16.png \
stock_text_strikethrough_24.png \
stock_text_underline_16.png \
stock_text_underline_24.png \
stock_top_16.png \
stock_top_24.png \
stock_trash_16.png \
stock_trash_24.png \
stock_undelete_16.png \
stock_undelete_24.png \
stock_undo_16.png \
stock_undo_24.png \
stock_up_arrow_16.png \
stock_up_arrow_24.png \
stock_yes_20.png \
stock_zoom_1_24.png \
stock_zoom_fit_24.png \
stock_zoom_in_24.png \
stock_zoom_out_24.png \
@STRIP_END@
VARIABLES1 = @STRIP_BEGIN@ \
stock_add_24 $(srcdir)/stock_add_24.png \
stock_align_center_16 $(srcdir)/stock_align_center_16.png \
stock_align_center_24 $(srcdir)/stock_align_center_24.png \
stock_align_justify_16 $(srcdir)/stock_align_justify_16.png \
stock_align_justify_24 $(srcdir)/stock_align_justify_24.png \
stock_align_left_16 $(srcdir)/stock_align_left_16.png \
stock_align_left_24 $(srcdir)/stock_align_left_24.png \
stock_align_right_16 $(srcdir)/stock_align_right_16.png \
stock_align_right_24 $(srcdir)/stock_align_right_24.png \
stock_apply_20 $(srcdir)/stock_apply_20.png \
stock_cancel_20 $(srcdir)/stock_cancel_20.png \
stock_dnd_multiple_32 $(srcdir)/stock_dnd_multiple_32.png \
stock_bottom_16 $(srcdir)/stock_bottom_16.png \
stock_bottom_24 $(srcdir)/stock_bottom_24.png \
stock_cdrom_16 $(srcdir)/stock_cdrom_16.png \
stock_cdrom_24 $(srcdir)/stock_cdrom_24.png \
stock_clear_24 $(srcdir)/stock_clear_24.png \
stock_close_20 $(srcdir)/stock_close_20.png \
stock_close_24 $(srcdir)/stock_close_24.png \
stock_colorselector_24 $(srcdir)/stock_colorselector_24.png \
@STRIP_END@
VARIABLES2 = @STRIP_BEGIN@ \
stock_convert_16 $(srcdir)/stock_convert_16.png \
stock_convert_24 $(srcdir)/stock_convert_24.png \
stock_copy_16 $(srcdir)/stock_copy_16.png \
stock_copy_24 $(srcdir)/stock_copy_24.png \
stock_cut_16 $(srcdir)/stock_cut_16.png \
stock_cut_24 $(srcdir)/stock_cut_24.png \
stock_dialog_error_48 $(srcdir)/stock_dialog_error_48.png \
stock_dialog_info_48 $(srcdir)/stock_dialog_info_48.png \
stock_dialog_question_48 $(srcdir)/stock_dialog_question_48.png \
stock_dialog_warning_48 $(srcdir)/stock_dialog_warning_48.png \
stock_dnd_32 $(srcdir)/stock_dnd_32.png \
stock_down_arrow_16 $(srcdir)/stock_down_arrow_16.png \
stock_down_arrow_24 $(srcdir)/stock_down_arrow_24.png \
stock_exec_16 $(srcdir)/stock_exec_16.png \
stock_exec_24 $(srcdir)/stock_exec_24.png \
stock_exit_16 $(srcdir)/stock_exit_16.png \
stock_exit_24 $(srcdir)/stock_exit_24.png \
stock_first_16 $(srcdir)/stock_first_16.png \
stock_first_24 $(srcdir)/stock_first_24.png \
stock_font_16 $(srcdir)/stock_font_16.png \
@STRIP_END@
VARIABLES3 = @STRIP_BEGIN@ \
stock_font_24 $(srcdir)/stock_font_24.png \
stock_help_16 $(srcdir)/stock_help_16.png \
stock_help_24 $(srcdir)/stock_help_24.png \
stock_home_16 $(srcdir)/stock_home_16.png \
stock_home_24 $(srcdir)/stock_home_24.png \
stock_index_24 $(srcdir)/stock_index_24.png \
stock_jump_to_16 $(srcdir)/stock_jump_to_16.png \
stock_jump_to_24 $(srcdir)/stock_jump_to_24.png \
stock_last_16 $(srcdir)/stock_last_16.png \
stock_last_24 $(srcdir)/stock_last_24.png \
stock_left_arrow_16 $(srcdir)/stock_left_arrow_16.png \
stock_left_arrow_24 $(srcdir)/stock_left_arrow_24.png \
stock_missing_image_16 $(srcdir)/stock_broken_image_16.png \
stock_missing_image_24 $(srcdir)/stock_broken_image_24.png \
stock_new_16 $(srcdir)/stock_new_16.png \
stock_new_24 $(srcdir)/stock_new_24.png \
stock_no_20 $(srcdir)/stock_no_20.png \
stock_ok_20 $(srcdir)/stock_ok_20.png \
stock_open_16 $(srcdir)/stock_open_16.png \
stock_open_24 $(srcdir)/stock_open_24.png \
@STRIP_END@
VARIABLES4 = @STRIP_BEGIN@ \
stock_paste_16 $(srcdir)/stock_paste_16.png \
stock_paste_24 $(srcdir)/stock_paste_24.png \
stock_preferences_16 $(srcdir)/stock_preferences_16.png \
stock_preferences_24 $(srcdir)/stock_preferences_24.png \
stock_print_16 $(srcdir)/stock_print_16.png \
stock_print_24 $(srcdir)/stock_print_24.png \
stock_print_preview_16 $(srcdir)/stock_print_preview_16.png \
stock_print_preview_24 $(srcdir)/stock_print_preview_24.png \
stock_properties_24 $(srcdir)/stock_properties_24.png \
stock_redo_16 $(srcdir)/stock_redo_16.png \
stock_redo_24 $(srcdir)/stock_redo_24.png \
stock_refresh_16 $(srcdir)/stock_refresh_16.png \
stock_refresh_24 $(srcdir)/stock_refresh_24.png \
stock_remove_24 $(srcdir)/stock_remove_24.png \
stock_revert_16 $(srcdir)/stock_revert_16.png \
stock_revert_24 $(srcdir)/stock_revert_24.png \
stock_right_arrow_16 $(srcdir)/stock_right_arrow_16.png \
stock_right_arrow_24 $(srcdir)/stock_right_arrow_24.png \
stock_save_16 $(srcdir)/stock_save_16.png \
stock_save_24 $(srcdir)/stock_save_24.png \
@STRIP_END@
VARIABLES5 = @STRIP_BEGIN@ \
stock_save_as_16 $(srcdir)/stock_save_as_16.png \
stock_save_as_24 $(srcdir)/stock_save_as_24.png \
stock_search_16 $(srcdir)/stock_search_16.png \
stock_search_24 $(srcdir)/stock_search_24.png \
stock_search_replace_16 $(srcdir)/stock_search_replace_16.png \
stock_search_replace_24 $(srcdir)/stock_search_replace_24.png \
stock_sort_ascending_16 $(srcdir)/stock_sort_ascending_16.png \
stock_sort_ascending_24 $(srcdir)/stock_sort_ascending_24.png \
stock_sort_descending_16 $(srcdir)/stock_sort_descending_16.png \
stock_sort_descending_24 $(srcdir)/stock_sort_descending_24.png \
stock_spellcheck_16 $(srcdir)/stock_spellcheck_16.png \
stock_spellcheck_24 $(srcdir)/stock_spellcheck_24.png \
stock_stop_16 $(srcdir)/stock_stop_16.png \
stock_stop_24 $(srcdir)/stock_stop_24.png \
stock_text_bold_16 $(srcdir)/stock_text_bold_16.png \
stock_text_bold_24 $(srcdir)/stock_text_bold_24.png \
stock_text_italic_16 $(srcdir)/stock_text_italic_16.png \
stock_text_italic_24 $(srcdir)/stock_text_italic_24.png \
stock_text_strikethrough_16 $(srcdir)/stock_text_strikethrough_16.png \
stock_text_strikethrough_24 $(srcdir)/stock_text_strikethrough_24.png \
@STRIP_END@
VARIABLES6 = @STRIP_BEGIN@ \
stock_text_underline_16 $(srcdir)/stock_text_underline_16.png \
stock_text_underline_24 $(srcdir)/stock_text_underline_24.png \
stock_top_16 $(srcdir)/stock_top_16.png \
stock_top_24 $(srcdir)/stock_top_24.png \
stock_trash_16 $(srcdir)/stock_trash_16.png \
stock_trash_24 $(srcdir)/stock_trash_24.png \
stock_undelete_16 $(srcdir)/stock_undelete_16.png \
stock_undelete_24 $(srcdir)/stock_undelete_24.png \
stock_undo_16 $(srcdir)/stock_undo_16.png \
stock_undo_24 $(srcdir)/stock_undo_24.png \
stock_up_arrow_16 $(srcdir)/stock_up_arrow_16.png \
stock_up_arrow_24 $(srcdir)/stock_up_arrow_24.png \
stock_yes_20 $(srcdir)/stock_yes_20.png \
stock_zoom_1_24 $(srcdir)/stock_zoom_1_24.png \
stock_zoom_fit_24 $(srcdir)/stock_zoom_fit_24.png \
stock_zoom_in_24 $(srcdir)/stock_zoom_in_24.png \
stock_zoom_out_24 $(srcdir)/stock_zoom_out_24.png \
@STRIP_END@
noinst_DATA = gtkstockpixbufs.h
CLEANFILES = $(noinst_DATA)
pixbuf_dir = $(top_builddir)/gdk-pixbuf
gtkstockpixbufs.h: $(pixbuf_dir)/gdk-pixbuf-csource $(IMAGES)
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES1) >$(srcdir)/gtkstockpixbufs.h
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES2) >>$(srcdir)/gtkstockpixbufs.h
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES3) >>$(srcdir)/gtkstockpixbufs.h
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES4) >>$(srcdir)/gtkstockpixbufs.h
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES5) >>$(srcdir)/gtkstockpixbufs.h
GDK_PIXBUF_MODULEDIR=$(pixbuf_dir) \
$(pixbuf_dir)/gdk-pixbuf-csource --raw --build-list $(VARIABLES6) >>$(srcdir)/gtkstockpixbufs.h
EXTRA_DIST = $(IMAGES) gtkstockpixbufs.h