Makefile - gtk3-2.2.0 Documentation

SHELL = /bin/sh

# V=0 quiet, V=1 verbose. other values don't work. V = 1 Q1 = $(V:1=) Q = $(Q1:0=@) ECHO1 = $(V:1=@:) ECHO = $(ECHO1:0=@echo)

#### Start of system configuration section. ####

srcdir = . topdir = /usr/include/ruby-2.0.0 hdrdir = /usr/include/ruby-2.0.0 arch_hdrdir = /usr/include/ruby-2.0.0 PATH_SEPARATOR = : VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby prefix = $(DESTDIR)/usr rubysitearchprefix = $(sitearchlibdir)/$(RUBY_BASE_NAME) rubyarchprefix = $(libdir)/$(RUBY_BASE_NAME)/2.0.0 rubylibprefix = $(exec_prefix)/share/$(RUBY_BASE_NAME)/2.0.0 exec_prefix = $(prefix) vendorarchhdrdir = $(sitearchincludedir)/$(RUBY_VERSION_NAME)/vendor_ruby sitearchhdrdir = $(sitearchincludedir)/$(RUBY_VERSION_NAME)/site_ruby rubyarchhdrdir = $(DESTDIR)/usr/include/ruby-2.0.0 vendorhdrdir = $(DESTDIR)/usr/include/ruby-2.0.0/vendor_ruby sitehdrdir = $(DESTDIR)/usr/local/include/ruby-2.0.0 rubyhdrdir = $(DESTDIR)/usr/include/ruby-2.0.0 rubygemsdir = $(DESTDIR)/usr/share/rubygems vendorarchdir = $(DESTDIR)/usr/lib/ruby/vendor_ruby/2.0.0 vendorlibdir = $(vendordir)/$(ruby_version) vendordir = $(DESTDIR)/usr/share/ruby/vendor_ruby sitearchdir = $(DESTDIR)./.gem.20140825-3924-165vc06 sitelibdir = $(DESTDIR)./.gem.20140825-3924-165vc06 sitedir = $(DESTDIR)/usr/local/share/ruby/site_ruby rubyarchdir = $(rubyarchprefix)/$(ruby_version) rubylibdir = $(rubylibprefix)/$(ruby_version) sitearchincludedir = $(includedir)/$(sitearch) archincludedir = $(includedir)/$(arch) sitearchlibdir = $(libdir)/$(sitearch) archlibdir = $(libdir)/$(arch) ridir = $(datarootdir)/$(RI_BASE_NAME) mandir = $(datarootdir)/man localedir = $(datarootdir)/locale libdir = $(exec_prefix)/lib psdir = $(docdir) pdfdir = $(docdir) dvidir = $(docdir) htmldir = $(DESTDIR)/usr/share/doc/ruby/html infodir = $(datarootdir)/info docdir = $(DESTDIR)/usr/share/doc/ruby oldincludedir = $(DESTDIR)/usr/include includedir = $(prefix)/include localstatedir = $(DESTDIR)/var sharedstatedir = $(prefix)/com sysconfdir = $(DESTDIR)/etc datadir = $(DESTDIR)/usr/share datarootdir = $(DESTDIR)/usr/share libexecdir = $(DESTDIR)/usr/libexec sbindir = $(DESTDIR)/usr/sbin bindir = $(exec_prefix)/bin archdir = $(rubyarchdir)

CC = gcc CXX = g++ LIBRUBY = lib$(RUBY_SO_NAME).dll.a LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME) LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static empty = OUTFLAG = -o $(empty) COUTFLAG = -o $(empty)

RUBY_EXTCONF_H = cflags = $(optflags) $(debugflags) $(warnflags) optflags = -O3 -fno-fast-math debugflags = -ggdb3 warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration CCDLFLAGS = CFLAGS = $(CCDLFLAGS) -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/build=/usr/src/debug/ruby-gtk3-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/src/gtk3-2.2.0=/usr/src/debug/ruby-gtk3-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0=/usr/src/debug/ruby-gtk3-2.2.0-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/build=/usr/src/debug/ruby-gtk3-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/src/gtk3-2.2.0=/usr/src/debug/ruby-gtk3-2.2.0-1 -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -I/usr/share/gems/gems/cairo-1.12.9/ext/cairo -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-3.0/unix-print -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gio-unix-2.0/ $(ARCH_FLAG) INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir) -I$(sitearchdir) DEFS = CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_RB_ERRINFO -DRUBY_CAIRO_PLATFORM_WIN32 -DHAVE_RB_CAIRO_H -DHAVE_ST_H -DHAVE_RUBY_ST_H -DHAVE_GTK_PLUG_GET_TYPE -DHAVE_GTK_SOCKET_GET_TYPE -DHAVE_PANGO_RENDER_PART_GET_TYPE -DHAVE_X11_XLIB_H -DHAVE_XREADBITMAPFILEDATA -DHAVE_XGETERRORTEXT -DHAVE_GTK_UNIX_PRINT -DRUBY_GTK3_COMPILATION $(DEFS) $(cppflags) CXXFLAGS = $(CCDLFLAGS) -ggdb -O2 -pipe $(ARCH_FLAG) ldflags = -L. -fstack-protector -L/usr/share/gems/gems/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/glib2/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/glib2/glib2-2.2.0/ext/glib2 -L/usr/share/gems/gems/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/atk/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/atk/atk-2.2.0/ext/atk -L/usr/share/gems/gems/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/pango/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/pango/pango-2.2.0/ext/pango -L/usr/share/gems/gems/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gdk_pixbuf2/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/gdk_pixbuf2/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/share/gems/gems/gdk3-2.2.0/ext/gdk3 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gdk3-2.2.0/ext/gdk3 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gdk3/gdk3-2.2.0/ext/gdk3 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/gdk3-2.2.0/ext/gdk3 -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/gdk3/gdk3-2.2.0/ext/gdk3 -L/usr/share/gems/gems/cairo-1.12.9/ext/cairo -L/usr/share/gems/gems/cairo-1.12.9/ext/cairo -L/usr/share/gems/gems/cairo-1.12.9/cairo/ext/cairo -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/ext/cairo -L/usr/src/ports/ruby-gtk3/ruby-gtk3-2.2.0-1.x86_64/inst/usr/share/gems/gems/gtk3-2.2.0/ext/gtk3/cairo/ext/cairo

dldflags = -Wl,–export-all-symbols -Wl,–enable-auto-image-base,–enable-auto-import -Wl,–out-implib=libruby-gtk3.a ARCH_FLAG = DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG) LDSHARED = gcc -shared LDSHAREDXX = g++ -shared AR = ar EXEEXT = .exe

RUBY_INSTALL_NAME = ruby RUBY_SO_NAME = ruby200 RUBYW_INSTALL_NAME = RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version) RUBYW_BASE_NAME = rubyw RUBY_BASE_NAME = ruby

arch = x86_64-cygwin sitearch = $(arch) ruby_version = ruby = $(bindir)/ruby RUBY = $(ruby) ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h

RM = rm -f RM_RF = $(RUBY) -run -e rm – -rf RMDIRS = rmdir –ignore-fail-on-non-empty -p MAKEDIRS = /usr/bin/mkdir -p INSTALL = /usr/bin/install -c INSTALL_PROG = $(INSTALL) -m 0755 INSTALL_DATA = $(INSTALL) -m 644 COPY = cp TOUCH = exit >

#### End of system configuration section. ####

preload =

libpath = . $(libdir) LIBPATH = -L. -L$(libdir) DEFFILE =

CLEANFILES = mkmf.log libruby-gtk3.a DISTCLEANFILES = ruby-gtk3.pc DISTCLEANDIRS =

extout = extout_prefix = target_prefix = LOCAL_LIBS = LIBS = $(LIBRUBYARG_SHARED) -lX11 -lruby-glib2 -lruby-glib2 -lruby-glib2 -lruby-glib2 -lruby-glib2 -lruby-atk -lruby-atk -lruby-atk -lruby-atk -lruby-atk -lruby-pango -lruby-pango -lruby-pango -lruby-pango -lruby-pango -lruby-gdk_pixbuf2 -lruby-gdk_pixbuf2 -lruby-gdk_pixbuf2 -lruby-gdk_pixbuf2 -lruby-gdk_pixbuf2 -lruby-gdk3 -lruby-gdk3 -lruby-gdk3 -lruby-gdk3 -lruby-gdk3 -lruby-cairo -lruby-cairo -lruby-cairo -lruby-cairo -lruby-cairo -lcairo -lgtk-3 -lgdk-3 -lpango-1.0 -lm -lglib-2.0 -lintl -lgobject-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk_pixbuf-2.0 -lcairo-gobject -latk-1.0 -lgio-2.0 -lgtk-3 -lgdk-3 -lpango-1.0 -lm -lglib-2.0 -lintl -lgobject-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk_pixbuf-2.0 -lcairo-gobject -latk-1.0 -lgio-2.0 -lpthread -lrt -ldl -lcrypt

ORIG_SRCS = conversions.c init.c rbgtk-about-dialog.c rbgtk-accel-group-entry.c rbgtk-accel-group.c rbgtk-accel-key.c rbgtk-accel-label.c rbgtk-accel-map.c rbgtk-accelerator.c rbgtk-accessible.c rbgtk-action-group.c rbgtk-action.c rbgtk-activatable.c rbgtk-adjustment.c rbgtk-alignment.c rbgtk-allocation.c rbgtk-app-chooser-button.c rbgtk-app-chooser-dialog.c rbgtk-app-chooser-widget.c rbgtk-app-chooser.c rbgtk-application.c rbgtk-arrow.c rbgtk-aspect-frame.c rbgtk-assistant.c rbgtk-bin.c rbgtk-binding-set.c rbgtk-border.c rbgtk-box.c rbgtk-buildable.c rbgtk-builder.c rbgtk-button-box.c rbgtk-button.c rbgtk-calendar.c rbgtk-cell-editable.c rbgtk-cell-layout.c rbgtk-cell-renderer-accel.c rbgtk-cell-renderer-combo.c rbgtk-cell-renderer-pixbuf.c rbgtk-cell-renderer-progress.c rbgtk-cell-renderer-spin.c rbgtk-cell-renderer-spinner.c rbgtk-cell-renderer-text.c rbgtk-cell-renderer-toggle.c rbgtk-cell-renderer.c rbgtk-cell-view.c rbgtk-check-button.c rbgtk-check-menu-item.c rbgtk-clip-board.c rbgtk-color-button.c rbgtk-color-selection-dialog.c rbgtk-color-selection.c rbgtk-combo-box-text.c rbgtk-combo-box.c rbgtk-const.c rbgtk-container.c rbgtk-css-provider.c rbgtk-dialog.c rbgtk-drag-gdk-drag-context.c rbgtk-drag.c rbgtk-drawing-area.c rbgtk-editable.c rbgtk-entry-buffer.c rbgtk-entry-completion.c rbgtk-entry.c rbgtk-event-box.c rbgtk-expander.c rbgtk-file-chooser-button.c rbgtk-file-chooser-dialog.c rbgtk-file-chooser-widget.c rbgtk-file-chooser.c rbgtk-file-filter.c rbgtk-file-system-error.c rbgtk-fixed.c rbgtk-font-button.c rbgtk-font-chooser-dialog.c rbgtk-font-chooser-widget.c rbgtk-font-chooser.c rbgtk-frame.c rbgtk-gdk-event.c rbgtk-grid.c rbgtk-handle-box.c rbgtk-header-bar.c rbgtk-hsv.c rbgtk-icon-factory.c rbgtk-icon-info.c rbgtk-icon-set.c rbgtk-icon-size.c rbgtk-icon-source.c rbgtk-icon-theme.c rbgtk-icon-view.c rbgtk-im-multicontext.c rbgtk-image-menu-item.c rbgtk-image.c rbgtk-imcon-text-simple.c rbgtk-imcon-text.c rbgtk-infobar.c rbgtk-invisible.c rbgtk-label.c rbgtk-layout.c rbgtk-level-bar.c rbgtk-link-button.c rbgtk-list-store.c rbgtk-lock-button.c rbgtk-menu-button.c rbgtk-menu-item.c rbgtk-menu-shell.c rbgtk-menu-tool-button.c rbgtk-menu.c rbgtk-menubar.c rbgtk-message-dialog.c rbgtk-misc.c rbgtk-notebook.c rbgtk-numerable-icon.c rbgtk-orientable.c rbgtk-overlay.c rbgtk-page-setup-unix-dialog.c rbgtk-page-setup.c rbgtk-paned.c rbgtk-paper-size.c rbgtk-plug.c rbgtk-print-context.c rbgtk-print-job.c rbgtk-print-operation-preview.c rbgtk-print-operation.c rbgtk-print-settings.c rbgtk-print-unix-dialog.c rbgtk-printer.c rbgtk-progress-bar.c rbgtk-radio-action.c rbgtk-radio-button.c rbgtk-radio-menu-item.c rbgtk-radio-tool-button.c rbgtk-range.c rbgtk-recent-action.c rbgtk-recent-chooser-dialog.c rbgtk-recent-chooser-menu.c rbgtk-recent-chooser-widget.c rbgtk-recent-chooser.c rbgtk-recent-data.c rbgtk-recent-filter-info.c rbgtk-recent-filter.c rbgtk-recent-info.c rbgtk-recent-manager.c rbgtk-revealer.c rbgtk-scale-button.c rbgtk-scale.c rbgtk-scrollable.c rbgtk-scrollbar.c rbgtk-scrolled-window.c rbgtk-search-bar.c rbgtk-search-entry.c rbgtk-selection-data.c rbgtk-selection.c rbgtk-separator-menu-item.c rbgtk-separator-tool-item.c rbgtk-separator.c rbgtk-settings.c rbgtk-size-group.c rbgtk-socket.c rbgtk-spin-button.c rbgtk-spinner.c rbgtk-stack.c rbgtk-status-bar.c rbgtk-status-icon.c rbgtk-stock.c rbgtk-style-context-gdk-screen.c rbgtk-style-context.c rbgtk-style-properties.c rbgtk-style-provider.c rbgtk-switch.c rbgtk-table.c rbgtk-target-list.c rbgtk-tearoff-menu-item.c rbgtk-text-appearance.c rbgtk-text-attributes.c rbgtk-text-buffer.c rbgtk-text-child-anchor.c rbgtk-text-iter.c rbgtk-text-mark.c rbgtk-text-tag-table.c rbgtk-text-tag.c rbgtk-text-view.c rbgtk-theming-engine.c rbgtk-toggle-action.c rbgtk-toggle-button.c rbgtk-toggle-tool-button.c rbgtk-tool-button.c rbgtk-tool-item.c rbgtk-tool-itemgroup.c rbgtk-tool-shell.c rbgtk-toolbar.c rbgtk-tooltip-gdk-display.c rbgtk-tooltip.c rbgtk-tree-dragdest.c rbgtk-tree-dragsource.c rbgtk-tree-iter.c rbgtk-tree-model.c rbgtk-tree-modelfilter.c rbgtk-tree-modelsort.c rbgtk-tree-path.c rbgtk-tree-rowreference.c rbgtk-tree-selection.c rbgtk-tree-sortable.c rbgtk-tree-store.c rbgtk-tree-view-column.c rbgtk-tree-view.c rbgtk-ui-manager.c rbgtk-viewport.c rbgtk-volume-button.c rbgtk-widget-path.c rbgtk-widget.c rbgtk-window-group.c rbgtk-window.c rbgtk.c rbgtk3util.c SRCS = $(ORIG_SRCS) conversions.c init.c rbgtk-about-dialog.c rbgtk-accel-group-entry.c rbgtk-accel-group.c rbgtk-accel-key.c rbgtk-accel-label.c rbgtk-accel-map.c rbgtk-accelerator.c rbgtk-accessible.c rbgtk-action-group.c rbgtk-action.c rbgtk-activatable.c rbgtk-adjustment.c rbgtk-alignment.c rbgtk-allocation.c rbgtk-app-chooser-button.c rbgtk-app-chooser-dialog.c rbgtk-app-chooser-widget.c rbgtk-app-chooser.c rbgtk-application.c rbgtk-arrow.c rbgtk-aspect-frame.c rbgtk-assistant.c rbgtk-bin.c rbgtk-binding-set.c rbgtk-border.c rbgtk-box.c rbgtk-buildable.c rbgtk-builder.c rbgtk-button-box.c rbgtk-button.c rbgtk-calendar.c rbgtk-cell-editable.c rbgtk-cell-layout.c rbgtk-cell-renderer-accel.c rbgtk-cell-renderer-combo.c rbgtk-cell-renderer-pixbuf.c rbgtk-cell-renderer-progress.c rbgtk-cell-renderer-spin.c rbgtk-cell-renderer-spinner.c rbgtk-cell-renderer-text.c rbgtk-cell-renderer-toggle.c rbgtk-cell-renderer.c rbgtk-cell-view.c rbgtk-check-button.c rbgtk-check-menu-item.c rbgtk-clip-board.c rbgtk-color-button.c rbgtk-color-selection-dialog.c rbgtk-color-selection.c rbgtk-combo-box-text.c rbgtk-combo-box.c rbgtk-const.c rbgtk-container.c rbgtk-css-provider.c rbgtk-dialog.c rbgtk-drag-gdk-drag-context.c rbgtk-drag.c rbgtk-drawing-area.c rbgtk-editable.c rbgtk-entry-buffer.c rbgtk-entry-completion.c rbgtk-entry.c rbgtk-event-box.c rbgtk-expander.c rbgtk-file-chooser-button.c rbgtk-file-chooser-dialog.c rbgtk-file-chooser-widget.c rbgtk-file-chooser.c rbgtk-file-filter.c rbgtk-file-system-error.c rbgtk-fixed.c rbgtk-font-button.c rbgtk-font-chooser-dialog.c rbgtk-font-chooser-widget.c rbgtk-font-chooser.c rbgtk-frame.c rbgtk-gdk-event.c rbgtk-grid.c rbgtk-handle-box.c rbgtk-header-bar.c rbgtk-hsv.c rbgtk-icon-factory.c rbgtk-icon-info.c rbgtk-icon-set.c rbgtk-icon-size.c rbgtk-icon-source.c rbgtk-icon-theme.c rbgtk-icon-view.c rbgtk-im-multicontext.c rbgtk-image-menu-item.c rbgtk-image.c rbgtk-imcon-text-simple.c rbgtk-imcon-text.c rbgtk-infobar.c rbgtk-invisible.c rbgtk-label.c rbgtk-layout.c rbgtk-level-bar.c rbgtk-link-button.c rbgtk-list-store.c rbgtk-lock-button.c rbgtk-menu-button.c rbgtk-menu-item.c rbgtk-menu-shell.c rbgtk-menu-tool-button.c rbgtk-menu.c rbgtk-menubar.c rbgtk-message-dialog.c rbgtk-misc.c rbgtk-notebook.c rbgtk-numerable-icon.c rbgtk-orientable.c rbgtk-overlay.c rbgtk-page-setup-unix-dialog.c rbgtk-page-setup.c rbgtk-paned.c rbgtk-paper-size.c rbgtk-plug.c rbgtk-print-context.c rbgtk-print-job.c rbgtk-print-operation-preview.c rbgtk-print-operation.c rbgtk-print-settings.c rbgtk-print-unix-dialog.c rbgtk-printer.c rbgtk-progress-bar.c rbgtk-radio-action.c rbgtk-radio-button.c rbgtk-radio-menu-item.c rbgtk-radio-tool-button.c rbgtk-range.c rbgtk-recent-action.c rbgtk-recent-chooser-dialog.c rbgtk-recent-chooser-menu.c rbgtk-recent-chooser-widget.c rbgtk-recent-chooser.c rbgtk-recent-data.c rbgtk-recent-filter-info.c rbgtk-recent-filter.c rbgtk-recent-info.c rbgtk-recent-manager.c rbgtk-revealer.c rbgtk-scale-button.c rbgtk-scale.c rbgtk-scrollable.c rbgtk-scrollbar.c rbgtk-scrolled-window.c rbgtk-search-bar.c rbgtk-search-entry.c rbgtk-selection-data.c rbgtk-selection.c rbgtk-separator-menu-item.c rbgtk-separator-tool-item.c rbgtk-separator.c rbgtk-settings.c rbgtk-size-group.c rbgtk-socket.c rbgtk-spin-button.c rbgtk-spinner.c rbgtk-stack.c rbgtk-status-bar.c rbgtk-status-icon.c rbgtk-stock.c rbgtk-style-context-gdk-screen.c rbgtk-style-context.c rbgtk-style-properties.c rbgtk-style-provider.c rbgtk-switch.c rbgtk-table.c rbgtk-target-list.c rbgtk-tearoff-menu-item.c rbgtk-text-appearance.c rbgtk-text-attributes.c rbgtk-text-buffer.c rbgtk-text-child-anchor.c rbgtk-text-iter.c rbgtk-text-mark.c rbgtk-text-tag-table.c rbgtk-text-tag.c rbgtk-text-view.c rbgtk-theming-engine.c rbgtk-toggle-action.c rbgtk-toggle-button.c rbgtk-toggle-tool-button.c rbgtk-tool-button.c rbgtk-tool-item.c rbgtk-tool-itemgroup.c rbgtk-tool-shell.c rbgtk-toolbar.c rbgtk-tooltip-gdk-display.c rbgtk-tooltip.c rbgtk-tree-dragdest.c rbgtk-tree-dragsource.c rbgtk-tree-iter.c rbgtk-tree-model.c rbgtk-tree-modelfilter.c rbgtk-tree-modelsort.c rbgtk-tree-path.c rbgtk-tree-rowreference.c rbgtk-tree-selection.c rbgtk-tree-sortable.c rbgtk-tree-store.c rbgtk-tree-view-column.c rbgtk-tree-view.c rbgtk-ui-manager.c rbgtk-viewport.c rbgtk-volume-button.c rbgtk-widget-path.c rbgtk-widget.c rbgtk-window-group.c rbgtk-window.c rbgtk.c rbgtk3util.c OBJS = conversions.o init.o rbgtk-about-dialog.o rbgtk-accel-group-entry.o rbgtk-accel-group.o rbgtk-accel-key.o rbgtk-accel-label.o rbgtk-accel-map.o rbgtk-accelerator.o rbgtk-accessible.o rbgtk-action-group.o rbgtk-action.o rbgtk-activatable.o rbgtk-adjustment.o rbgtk-alignment.o rbgtk-allocation.o rbgtk-app-chooser-button.o rbgtk-app-chooser-dialog.o rbgtk-app-chooser-widget.o rbgtk-app-chooser.o rbgtk-application.o rbgtk-arrow.o rbgtk-aspect-frame.o rbgtk-assistant.o rbgtk-bin.o rbgtk-binding-set.o rbgtk-border.o rbgtk-box.o rbgtk-buildable.o rbgtk-builder.o rbgtk-button-box.o rbgtk-button.o rbgtk-calendar.o rbgtk-cell-editable.o rbgtk-cell-layout.o rbgtk-cell-renderer-accel.o rbgtk-cell-renderer-combo.o rbgtk-cell-renderer-pixbuf.o rbgtk-cell-renderer-progress.o rbgtk-cell-renderer-spin.o rbgtk-cell-renderer-spinner.o rbgtk-cell-renderer-text.o rbgtk-cell-renderer-toggle.o rbgtk-cell-renderer.o rbgtk-cell-view.o rbgtk-check-button.o rbgtk-check-menu-item.o rbgtk-clip-board.o rbgtk-color-button.o rbgtk-color-selection-dialog.o rbgtk-color-selection.o rbgtk-combo-box-text.o rbgtk-combo-box.o rbgtk-const.o rbgtk-container.o rbgtk-css-provider.o rbgtk-dialog.o rbgtk-drag-gdk-drag-context.o rbgtk-drag.o rbgtk-drawing-area.o rbgtk-editable.o rbgtk-entry-buffer.o rbgtk-entry-completion.o rbgtk-entry.o rbgtk-event-box.o rbgtk-expander.o rbgtk-file-chooser-button.o rbgtk-file-chooser-dialog.o rbgtk-file-chooser-widget.o rbgtk-file-chooser.o rbgtk-file-filter.o rbgtk-file-system-error.o rbgtk-fixed.o rbgtk-font-button.o rbgtk-font-chooser-dialog.o rbgtk-font-chooser-widget.o rbgtk-font-chooser.o rbgtk-frame.o rbgtk-gdk-event.o rbgtk-grid.o rbgtk-handle-box.o rbgtk-header-bar.o rbgtk-hsv.o rbgtk-icon-factory.o rbgtk-icon-info.o rbgtk-icon-set.o rbgtk-icon-size.o rbgtk-icon-source.o rbgtk-icon-theme.o rbgtk-icon-view.o rbgtk-im-multicontext.o rbgtk-image-menu-item.o rbgtk-image.o rbgtk-imcon-text-simple.o rbgtk-imcon-text.o rbgtk-infobar.o rbgtk-invisible.o rbgtk-label.o rbgtk-layout.o rbgtk-level-bar.o rbgtk-link-button.o rbgtk-list-store.o rbgtk-lock-button.o rbgtk-menu-button.o rbgtk-menu-item.o rbgtk-menu-shell.o rbgtk-menu-tool-button.o rbgtk-menu.o rbgtk-menubar.o rbgtk-message-dialog.o rbgtk-misc.o rbgtk-notebook.o rbgtk-numerable-icon.o rbgtk-orientable.o rbgtk-overlay.o rbgtk-page-setup-unix-dialog.o rbgtk-page-setup.o rbgtk-paned.o rbgtk-paper-size.o rbgtk-plug.o rbgtk-print-context.o rbgtk-print-job.o rbgtk-print-operation-preview.o rbgtk-print-operation.o rbgtk-print-settings.o rbgtk-print-unix-dialog.o rbgtk-printer.o rbgtk-progress-bar.o rbgtk-radio-action.o rbgtk-radio-button.o rbgtk-radio-menu-item.o rbgtk-radio-tool-button.o rbgtk-range.o rbgtk-recent-action.o rbgtk-recent-chooser-dialog.o rbgtk-recent-chooser-menu.o rbgtk-recent-chooser-widget.o rbgtk-recent-chooser.o rbgtk-recent-data.o rbgtk-recent-filter-info.o rbgtk-recent-filter.o rbgtk-recent-info.o rbgtk-recent-manager.o rbgtk-revealer.o rbgtk-scale-button.o rbgtk-scale.o rbgtk-scrollable.o rbgtk-scrollbar.o rbgtk-scrolled-window.o rbgtk-search-bar.o rbgtk-search-entry.o rbgtk-selection-data.o rbgtk-selection.o rbgtk-separator-menu-item.o rbgtk-separator-tool-item.o rbgtk-separator.o rbgtk-settings.o rbgtk-size-group.o rbgtk-socket.o rbgtk-spin-button.o rbgtk-spinner.o rbgtk-stack.o rbgtk-status-bar.o rbgtk-status-icon.o rbgtk-stock.o rbgtk-style-context-gdk-screen.o rbgtk-style-context.o rbgtk-style-properties.o rbgtk-style-provider.o rbgtk-switch.o rbgtk-table.o rbgtk-target-list.o rbgtk-tearoff-menu-item.o rbgtk-text-appearance.o rbgtk-text-attributes.o rbgtk-text-buffer.o rbgtk-text-child-anchor.o rbgtk-text-iter.o rbgtk-text-mark.o rbgtk-text-tag-table.o rbgtk-text-tag.o rbgtk-text-view.o rbgtk-theming-engine.o rbgtk-toggle-action.o rbgtk-toggle-button.o rbgtk-toggle-tool-button.o rbgtk-tool-button.o rbgtk-tool-item.o rbgtk-tool-itemgroup.o rbgtk-tool-shell.o rbgtk-toolbar.o rbgtk-tooltip-gdk-display.o rbgtk-tooltip.o rbgtk-tree-dragdest.o rbgtk-tree-dragsource.o rbgtk-tree-iter.o rbgtk-tree-model.o rbgtk-tree-modelfilter.o rbgtk-tree-modelsort.o rbgtk-tree-path.o rbgtk-tree-rowreference.o rbgtk-tree-selection.o rbgtk-tree-sortable.o rbgtk-tree-store.o rbgtk-tree-view-column.o rbgtk-tree-view.o rbgtk-ui-manager.o rbgtk-viewport.o rbgtk-volume-button.o rbgtk-widget-path.o rbgtk-widget.o rbgtk-window-group.o rbgtk-window.o rbgtk.o rbgtk3util.o HDRS = $(srcdir)/rbgtk3.h $(srcdir)/rbgtk3conversions.h $(srcdir)/rbgtk3private.h $(srcdir)/rbgtk3util.h TARGET = gtk3 TARGET_NAME = gtk3 TARGET_ENTRY = Init_$(TARGET_NAME) DLLIB = $(TARGET).so EXTSTATIC = STATIC_LIB =

BINDIR = $(bindir) RUBYCOMMONDIR = $(sitedir)$(target_prefix) RUBYLIBDIR = $(sitelibdir)$(target_prefix) RUBYARCHDIR = $(sitearchdir)$(target_prefix) HDRDIR = $(rubyhdrdir)/ruby$(target_prefix) ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)

TARGET_SO = $(DLLIB) CLEANLIBS = $(TARGET).so CLEANOBJS = *.o *.bak

all: $(DLLIB) static: $(STATIC_LIB) .PHONY: all install static install-so install-rb .PHONY: clean clean-so clean-static clean-rb

clean-static
clean-rb-default
clean-rb
clean-so

  clean: clean-so clean-static clean-rb-default clean-rb

      -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time

  distclean-rb-default
  distclean-rb
  distclean-so
  distclean-static

    distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb

        -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
        -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
        -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true

    realclean: distclean install: install-so install-rb

    install-so: $(DLLIB) ./.RUBYARCHDIR.time

        $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)

    clean-static

      -$(Q)$(RM) $(STATIC_LIB)

    install-rb: pre-install-rb install-rb-default install-rb-default: pre-install-rb-default pre-install-rb: Makefile pre-install-rb-default: Makefile pre-install-rb-default:

        $(ECHO) installing default gtk3 libraries

    ./.RUBYARCHDIR.time:

        $(Q) $(MAKEDIRS) $(RUBYARCHDIR)
        $(Q) $(TOUCH) $@

    site-install: site-install-so site-install-rb site-install-so: install-so site-install-rb: install-rb

    .SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o

    .cc.o:

        $(ECHO) compiling $(<)
        $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<

    .mm.o:

        $(ECHO) compiling $(<)
        $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<

    .cxx.o:

        $(ECHO) compiling $(<)
        $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<

    .cpp.o:

        $(ECHO) compiling $(<)
        $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<

    .C.o:

        $(ECHO) compiling $(<)
        $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<

    .c.o:

        $(ECHO) compiling $(<)
        $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<

    .m.o:

        $(ECHO) compiling $(<)
        $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<

    $(DLLIB): $(OBJS) Makefile

        $(ECHO) linking shared-object $(DLLIB)
        -$(Q)$(RM) $(@)
        $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)

    ### install-so: install-headers install-headers:

        $(INSTALL_DATA) $(srcdir)/rbgtk3.h $(RUBYARCHDIR)
        $(INSTALL_DATA) $(srcdir)/rbgtk3conversions.h $(RUBYARCHDIR)

    install: install-pc install-pc:

        if test -n "$(pkgconfigdir)"; then                      \
          $(MAKEDIRS) $(pkgconfigdir);                          \
          $(INSTALL_DATA) ruby-gtk3.pc $(pkgconfigdir);         \
        fi