Makefile - gtk2-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) vendordir = $(DESTDIR)/usr/share/ruby/vendor_ruby sitearchdir = $(DESTDIR)./.gem.20140828-14604-1im1sw6 sitelibdir = $(DESTDIR)./.gem.20140828-14604-1im1sw6 sitedir = $(DESTDIR)/usr/local/share/ruby/site_ruby rubyarchdir = $(rubyarchprefix) rubylibdir = $(rubylibprefix) 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-gtk2/ruby-gtk2-2.2.0-1.i686/build=/usr/src/debug/ruby-gtk2-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/src/gtk2-2.2.0=/usr/src/debug/ruby-gtk2-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0=/usr/src/debug/ruby-gtk2-2.2.0-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/build=/usr/src/debug/ruby-gtk2-2.2.0-1 -fdebug-prefix-map=/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/src/gtk2-2.2.0=/usr/src/debug/ruby-gtk2-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-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -D_REENTRANT -I/usr/include/gtk-unix-print-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -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 -DRUBY_GTK2_TARGET="x11" -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_GTK2_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-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/glib2/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/glib2-2.2.0/ext/glib2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/glib2/glib2-2.2.0/ext/glib2 -L/usr/share/gems/gems/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/atk/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/atk-2.2.0/ext/atk -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/atk/atk-2.2.0/ext/atk -L/usr/share/gems/gems/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/pango/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/pango-2.2.0/ext/pango -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/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-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gdk_pixbuf2/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/gdk_pixbuf2/gdk_pixbuf2-2.2.0/ext/gdk_pixbuf2 -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-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/ext/cairo -L/usr/src/ports/ruby-gtk2/ruby-gtk2-2.2.0-1.i686/inst/usr/share/gems/gems/gtk2-2.2.0/ext/gtk2/cairo/ext/cairo

dldflags = -Wl,–export-all-symbols -Wl,–enable-auto-image-base,–enable-auto-import -Wl,–out-implib=libruby-gtk2.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 = i386-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-gtk2.a DISTCLEANFILES = ruby-gtk2.pc rbgdkkeysyms.h 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-cairo -lruby-cairo -lruby-cairo -lruby-cairo -lruby-cairo -lcairo -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lm -lglib-2.0 -lintl -lgobject-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfreetype -lfontconfig -lgio-2.0 -lX11 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -latk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lm -lglib-2.0 -lintl -lgobject-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfreetype -lfontconfig -lgio-2.0 -lX11 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -latk-1.0 -lpthread -lrt -ldl -lcrypt

ORIG_SRCS = init.c rbgdk.c rbgdkatom.c rbgdkcairo.c rbgdkcolor.c rbgdkcolormap.c rbgdkconst.c rbgdkcursor.c rbgdkdevice.c rbgdkdisplay.c rbgdkdisplaymanager.c rbgdkdragcontext.c rbgdkdraw.c rbgdkevent.c rbgdkgc.c rbgdkgeometry.c rbgdkimage.c rbgdkinput.c rbgdkkeymap.c rbgdkkeyval.c rbgdkpango.c rbgdkpangorenderer.c rbgdkpixbuf.c rbgdkpixmap.c rbgdkproperty.c rbgdkrectangle.c rbgdkregion.c rbgdkrgb.c rbgdkscreen.c rbgdkselection.c rbgdkthreads.c rbgdktimecoord.c rbgdkvisual.c rbgdkwindow.c rbgdkwindowattr.c rbgdkx11.c rbgtk.c rbgtkaboutdialog.c rbgtkaccelerator.c rbgtkaccelgroup.c rbgtkaccelgroupentry.c rbgtkaccelkey.c rbgtkaccellabel.c rbgtkaccelmap.c rbgtkaccessible.c rbgtkaction.c rbgtkactiongroup.c rbgtkadjustment.c rbgtkalignment.c rbgtkallocation.c rbgtkarrow.c rbgtkaspectframe.c rbgtkassistant.c rbgtkbbox.c rbgtkbin.c rbgtkbindingset.c rbgtkborder.c rbgtkbox.c rbgtkbuildable.c rbgtkbuilder.c rbgtkbutton.c rbgtkcalendar.c rbgtkcelleditable.c rbgtkcelllayout.c rbgtkcellrenderer.c rbgtkcellrendereraccel.c rbgtkcellrenderercombo.c rbgtkcellrendererpixbuf.c rbgtkcellrendererprogress.c rbgtkcellrendererspin.c rbgtkcellrendererspinner.c rbgtkcellrenderertext.c rbgtkcellrenderertoggle.c rbgtkcellview.c rbgtkcheckbutton.c rbgtkcheckmenuitem.c rbgtkclipboard.c rbgtkcolorbutton.c rbgtkcolorsel.c rbgtkcolorselectiondialog.c rbgtkcombo.c rbgtkcombobox.c rbgtkcomboboxentry.c rbgtkconst.c rbgtkcontainer.c rbgtkcurve.c rbgtkdialog.c rbgtkdrag.c rbgtkdrawingarea.c rbgtkeditable.c rbgtkentry.c rbgtkentrycompletion.c rbgtkeventbox.c rbgtkexpander.c rbgtkfilechooser.c rbgtkfilechooserbutton.c rbgtkfilechooserdialog.c rbgtkfilechooserwidget.c rbgtkfilefilter.c rbgtkfilesel.c rbgtkfilesystemerror.c rbgtkfixed.c rbgtkfontbutton.c rbgtkfontselection.c rbgtkfontselectiondialog.c rbgtkframe.c rbgtkgamma.c rbgtkhandlebox.c rbgtkhbbox.c rbgtkhbox.c rbgtkhpaned.c rbgtkhruler.c rbgtkhscale.c rbgtkhscrollbar.c rbgtkhseparator.c rbgtkiconfactory.c rbgtkiconinfo.c rbgtkiconset.c rbgtkiconsize.c rbgtkiconsource.c rbgtkicontheme.c rbgtkiconview.c rbgtkimage.c rbgtkimagemenuitem.c rbgtkimcontext.c rbgtkimcontextsimple.c rbgtkimmulticontext.c rbgtkinfobar.c rbgtkinputdialog.c rbgtkinvisible.c rbgtkitem.c rbgtkitemfactory.c rbgtklabel.c rbgtklayout.c rbgtklinkbutton.c rbgtkliststore.c rbgtkmenu.c rbgtkmenubar.c rbgtkmenuitem.c rbgtkmenushell.c rbgtkmenutoolbutton.c rbgtkmessagedialog.c rbgtkmisc.c rbgtknotebook.c rbgtkobject.c rbgtkoptionmenu.c rbgtkpagesetup.c rbgtkpagesetupunixdialog.c rbgtkpaned.c rbgtkpapersize.c rbgtkplug.c rbgtkprintcontext.c rbgtkprinter.c rbgtkprintjob.c rbgtkprintoperation.c rbgtkprintoperationpreview.c rbgtkprintsettings.c rbgtkprintunixdialog.c rbgtkprogress.c rbgtkprogressbar.c rbgtkradioaction.c rbgtkradiobutton.c rbgtkradiomenuitem.c rbgtkradiotoolbutton.c rbgtkrange.c rbgtkrc.c rbgtkrcstyle.c rbgtkrecentaction.c rbgtkrecentchooser.c rbgtkrecentchooserdialog.c rbgtkrecentchoosermenu.c rbgtkrecentchooserwidget.c rbgtkrecentdata.c rbgtkrecentfilter.c rbgtkrecentfilterinfo.c rbgtkrecentinfo.c rbgtkrecentmanager.c rbgtkruler.c rbgtkscale.c rbgtkscalebutton.c rbgtkscrollbar.c rbgtkscrolledwindow.c rbgtkselection.c rbgtkselectiondata.c rbgtkseparator.c rbgtkseparatormenuitem.c rbgtkseparatortoolitem.c rbgtksettings.c rbgtksizegroup.c rbgtksocket.c rbgtkspinbutton.c rbgtkspinner.c rbgtkstatusbar.c rbgtkstatusicon.c rbgtkstock.c rbgtkstyle.c rbgtktable.c rbgtktargetlist.c rbgtktearoffmenuitem.c rbgtktextappearance.c rbgtktextattributes.c rbgtktextbuffer.c rbgtktextchild.c rbgtktextiter.c rbgtktextmark.c rbgtktexttag.c rbgtktexttagtable.c rbgtktextview.c rbgtktoggleaction.c rbgtktogglebutton.c rbgtktoggletoolbutton.c rbgtktoolbar.c rbgtktoolbutton.c rbgtktoolitem.c rbgtktooltip.c rbgtktooltips.c rbgtktreedragdest.c rbgtktreedragsource.c rbgtktreeiter.c rbgtktreemodel.c rbgtktreemodelfilter.c rbgtktreemodelsort.c rbgtktreepath.c rbgtktreerowreference.c rbgtktreeselection.c rbgtktreesortable.c rbgtktreestore.c rbgtktreeview.c rbgtktreeviewcolumn.c rbgtkuimanager.c rbgtkvbbox.c rbgtkvbox.c rbgtkviewport.c rbgtkvolumebutton.c rbgtkvpaned.c rbgtkvruler.c rbgtkvscale.c rbgtkvscrollbar.c rbgtkvseparator.c rbgtkwidget.c rbgtkwindow.c rbgtkwindowgroup.c SRCS = $(ORIG_SRCS) init.c rbgdk.c rbgdkatom.c rbgdkcairo.c rbgdkcolor.c rbgdkcolormap.c rbgdkconst.c rbgdkcursor.c rbgdkdevice.c rbgdkdisplay.c rbgdkdisplaymanager.c rbgdkdragcontext.c rbgdkdraw.c rbgdkevent.c rbgdkgc.c rbgdkgeometry.c rbgdkimage.c rbgdkinput.c rbgdkkeymap.c rbgdkkeyval.c rbgdkpango.c rbgdkpangorenderer.c rbgdkpixbuf.c rbgdkpixmap.c rbgdkproperty.c rbgdkrectangle.c rbgdkregion.c rbgdkrgb.c rbgdkscreen.c rbgdkselection.c rbgdkthreads.c rbgdktimecoord.c rbgdkvisual.c rbgdkwindow.c rbgdkwindowattr.c rbgdkx11.c rbgtk.c rbgtkaboutdialog.c rbgtkaccelerator.c rbgtkaccelgroup.c rbgtkaccelgroupentry.c rbgtkaccelkey.c rbgtkaccellabel.c rbgtkaccelmap.c rbgtkaccessible.c rbgtkaction.c rbgtkactiongroup.c rbgtkadjustment.c rbgtkalignment.c rbgtkallocation.c rbgtkarrow.c rbgtkaspectframe.c rbgtkassistant.c rbgtkbbox.c rbgtkbin.c rbgtkbindingset.c rbgtkborder.c rbgtkbox.c rbgtkbuildable.c rbgtkbuilder.c rbgtkbutton.c rbgtkcalendar.c rbgtkcelleditable.c rbgtkcelllayout.c rbgtkcellrenderer.c rbgtkcellrendereraccel.c rbgtkcellrenderercombo.c rbgtkcellrendererpixbuf.c rbgtkcellrendererprogress.c rbgtkcellrendererspin.c rbgtkcellrendererspinner.c rbgtkcellrenderertext.c rbgtkcellrenderertoggle.c rbgtkcellview.c rbgtkcheckbutton.c rbgtkcheckmenuitem.c rbgtkclipboard.c rbgtkcolorbutton.c rbgtkcolorsel.c rbgtkcolorselectiondialog.c rbgtkcombo.c rbgtkcombobox.c rbgtkcomboboxentry.c rbgtkconst.c rbgtkcontainer.c rbgtkcurve.c rbgtkdialog.c rbgtkdrag.c rbgtkdrawingarea.c rbgtkeditable.c rbgtkentry.c rbgtkentrycompletion.c rbgtkeventbox.c rbgtkexpander.c rbgtkfilechooser.c rbgtkfilechooserbutton.c rbgtkfilechooserdialog.c rbgtkfilechooserwidget.c rbgtkfilefilter.c rbgtkfilesel.c rbgtkfilesystemerror.c rbgtkfixed.c rbgtkfontbutton.c rbgtkfontselection.c rbgtkfontselectiondialog.c rbgtkframe.c rbgtkgamma.c rbgtkhandlebox.c rbgtkhbbox.c rbgtkhbox.c rbgtkhpaned.c rbgtkhruler.c rbgtkhscale.c rbgtkhscrollbar.c rbgtkhseparator.c rbgtkiconfactory.c rbgtkiconinfo.c rbgtkiconset.c rbgtkiconsize.c rbgtkiconsource.c rbgtkicontheme.c rbgtkiconview.c rbgtkimage.c rbgtkimagemenuitem.c rbgtkimcontext.c rbgtkimcontextsimple.c rbgtkimmulticontext.c rbgtkinfobar.c rbgtkinputdialog.c rbgtkinvisible.c rbgtkitem.c rbgtkitemfactory.c rbgtklabel.c rbgtklayout.c rbgtklinkbutton.c rbgtkliststore.c rbgtkmenu.c rbgtkmenubar.c rbgtkmenuitem.c rbgtkmenushell.c rbgtkmenutoolbutton.c rbgtkmessagedialog.c rbgtkmisc.c rbgtknotebook.c rbgtkobject.c rbgtkoptionmenu.c rbgtkpagesetup.c rbgtkpagesetupunixdialog.c rbgtkpaned.c rbgtkpapersize.c rbgtkplug.c rbgtkprintcontext.c rbgtkprinter.c rbgtkprintjob.c rbgtkprintoperation.c rbgtkprintoperationpreview.c rbgtkprintsettings.c rbgtkprintunixdialog.c rbgtkprogress.c rbgtkprogressbar.c rbgtkradioaction.c rbgtkradiobutton.c rbgtkradiomenuitem.c rbgtkradiotoolbutton.c rbgtkrange.c rbgtkrc.c rbgtkrcstyle.c rbgtkrecentaction.c rbgtkrecentchooser.c rbgtkrecentchooserdialog.c rbgtkrecentchoosermenu.c rbgtkrecentchooserwidget.c rbgtkrecentdata.c rbgtkrecentfilter.c rbgtkrecentfilterinfo.c rbgtkrecentinfo.c rbgtkrecentmanager.c rbgtkruler.c rbgtkscale.c rbgtkscalebutton.c rbgtkscrollbar.c rbgtkscrolledwindow.c rbgtkselection.c rbgtkselectiondata.c rbgtkseparator.c rbgtkseparatormenuitem.c rbgtkseparatortoolitem.c rbgtksettings.c rbgtksizegroup.c rbgtksocket.c rbgtkspinbutton.c rbgtkspinner.c rbgtkstatusbar.c rbgtkstatusicon.c rbgtkstock.c rbgtkstyle.c rbgtktable.c rbgtktargetlist.c rbgtktearoffmenuitem.c rbgtktextappearance.c rbgtktextattributes.c rbgtktextbuffer.c rbgtktextchild.c rbgtktextiter.c rbgtktextmark.c rbgtktexttag.c rbgtktexttagtable.c rbgtktextview.c rbgtktoggleaction.c rbgtktogglebutton.c rbgtktoggletoolbutton.c rbgtktoolbar.c rbgtktoolbutton.c rbgtktoolitem.c rbgtktooltip.c rbgtktooltips.c rbgtktreedragdest.c rbgtktreedragsource.c rbgtktreeiter.c rbgtktreemodel.c rbgtktreemodelfilter.c rbgtktreemodelsort.c rbgtktreepath.c rbgtktreerowreference.c rbgtktreeselection.c rbgtktreesortable.c rbgtktreestore.c rbgtktreeview.c rbgtktreeviewcolumn.c rbgtkuimanager.c rbgtkvbbox.c rbgtkvbox.c rbgtkviewport.c rbgtkvolumebutton.c rbgtkvpaned.c rbgtkvruler.c rbgtkvscale.c rbgtkvscrollbar.c rbgtkvseparator.c rbgtkwidget.c rbgtkwindow.c rbgtkwindowgroup.c OBJS = init.o rbgdk.o rbgdkatom.o rbgdkcairo.o rbgdkcolor.o rbgdkcolormap.o rbgdkconst.o rbgdkcursor.o rbgdkdevice.o rbgdkdisplay.o rbgdkdisplaymanager.o rbgdkdragcontext.o rbgdkdraw.o rbgdkevent.o rbgdkgc.o rbgdkgeometry.o rbgdkimage.o rbgdkinput.o rbgdkkeymap.o rbgdkkeyval.o rbgdkpango.o rbgdkpangorenderer.o rbgdkpixbuf.o rbgdkpixmap.o rbgdkproperty.o rbgdkrectangle.o rbgdkregion.o rbgdkrgb.o rbgdkscreen.o rbgdkselection.o rbgdkthreads.o rbgdktimecoord.o rbgdkvisual.o rbgdkwindow.o rbgdkwindowattr.o rbgdkx11.o rbgtk.o rbgtkaboutdialog.o rbgtkaccelerator.o rbgtkaccelgroup.o rbgtkaccelgroupentry.o rbgtkaccelkey.o rbgtkaccellabel.o rbgtkaccelmap.o rbgtkaccessible.o rbgtkaction.o rbgtkactiongroup.o rbgtkadjustment.o rbgtkalignment.o rbgtkallocation.o rbgtkarrow.o rbgtkaspectframe.o rbgtkassistant.o rbgtkbbox.o rbgtkbin.o rbgtkbindingset.o rbgtkborder.o rbgtkbox.o rbgtkbuildable.o rbgtkbuilder.o rbgtkbutton.o rbgtkcalendar.o rbgtkcelleditable.o rbgtkcelllayout.o rbgtkcellrenderer.o rbgtkcellrendereraccel.o rbgtkcellrenderercombo.o rbgtkcellrendererpixbuf.o rbgtkcellrendererprogress.o rbgtkcellrendererspin.o rbgtkcellrendererspinner.o rbgtkcellrenderertext.o rbgtkcellrenderertoggle.o rbgtkcellview.o rbgtkcheckbutton.o rbgtkcheckmenuitem.o rbgtkclipboard.o rbgtkcolorbutton.o rbgtkcolorsel.o rbgtkcolorselectiondialog.o rbgtkcombo.o rbgtkcombobox.o rbgtkcomboboxentry.o rbgtkconst.o rbgtkcontainer.o rbgtkcurve.o rbgtkdialog.o rbgtkdrag.o rbgtkdrawingarea.o rbgtkeditable.o rbgtkentry.o rbgtkentrycompletion.o rbgtkeventbox.o rbgtkexpander.o rbgtkfilechooser.o rbgtkfilechooserbutton.o rbgtkfilechooserdialog.o rbgtkfilechooserwidget.o rbgtkfilefilter.o rbgtkfilesel.o rbgtkfilesystemerror.o rbgtkfixed.o rbgtkfontbutton.o rbgtkfontselection.o rbgtkfontselectiondialog.o rbgtkframe.o rbgtkgamma.o rbgtkhandlebox.o rbgtkhbbox.o rbgtkhbox.o rbgtkhpaned.o rbgtkhruler.o rbgtkhscale.o rbgtkhscrollbar.o rbgtkhseparator.o rbgtkiconfactory.o rbgtkiconinfo.o rbgtkiconset.o rbgtkiconsize.o rbgtkiconsource.o rbgtkicontheme.o rbgtkiconview.o rbgtkimage.o rbgtkimagemenuitem.o rbgtkimcontext.o rbgtkimcontextsimple.o rbgtkimmulticontext.o rbgtkinfobar.o rbgtkinputdialog.o rbgtkinvisible.o rbgtkitem.o rbgtkitemfactory.o rbgtklabel.o rbgtklayout.o rbgtklinkbutton.o rbgtkliststore.o rbgtkmenu.o rbgtkmenubar.o rbgtkmenuitem.o rbgtkmenushell.o rbgtkmenutoolbutton.o rbgtkmessagedialog.o rbgtkmisc.o rbgtknotebook.o rbgtkobject.o rbgtkoptionmenu.o rbgtkpagesetup.o rbgtkpagesetupunixdialog.o rbgtkpaned.o rbgtkpapersize.o rbgtkplug.o rbgtkprintcontext.o rbgtkprinter.o rbgtkprintjob.o rbgtkprintoperation.o rbgtkprintoperationpreview.o rbgtkprintsettings.o rbgtkprintunixdialog.o rbgtkprogress.o rbgtkprogressbar.o rbgtkradioaction.o rbgtkradiobutton.o rbgtkradiomenuitem.o rbgtkradiotoolbutton.o rbgtkrange.o rbgtkrc.o rbgtkrcstyle.o rbgtkrecentaction.o rbgtkrecentchooser.o rbgtkrecentchooserdialog.o rbgtkrecentchoosermenu.o rbgtkrecentchooserwidget.o rbgtkrecentdata.o rbgtkrecentfilter.o rbgtkrecentfilterinfo.o rbgtkrecentinfo.o rbgtkrecentmanager.o rbgtkruler.o rbgtkscale.o rbgtkscalebutton.o rbgtkscrollbar.o rbgtkscrolledwindow.o rbgtkselection.o rbgtkselectiondata.o rbgtkseparator.o rbgtkseparatormenuitem.o rbgtkseparatortoolitem.o rbgtksettings.o rbgtksizegroup.o rbgtksocket.o rbgtkspinbutton.o rbgtkspinner.o rbgtkstatusbar.o rbgtkstatusicon.o rbgtkstock.o rbgtkstyle.o rbgtktable.o rbgtktargetlist.o rbgtktearoffmenuitem.o rbgtktextappearance.o rbgtktextattributes.o rbgtktextbuffer.o rbgtktextchild.o rbgtktextiter.o rbgtktextmark.o rbgtktexttag.o rbgtktexttagtable.o rbgtktextview.o rbgtktoggleaction.o rbgtktogglebutton.o rbgtktoggletoolbutton.o rbgtktoolbar.o rbgtktoolbutton.o rbgtktoolitem.o rbgtktooltip.o rbgtktooltips.o rbgtktreedragdest.o rbgtktreedragsource.o rbgtktreeiter.o rbgtktreemodel.o rbgtktreemodelfilter.o rbgtktreemodelsort.o rbgtktreepath.o rbgtktreerowreference.o rbgtktreeselection.o rbgtktreesortable.o rbgtktreestore.o rbgtktreeview.o rbgtktreeviewcolumn.o rbgtkuimanager.o rbgtkvbbox.o rbgtkvbox.o rbgtkviewport.o rbgtkvolumebutton.o rbgtkvpaned.o rbgtkvruler.o rbgtkvscale.o rbgtkvscrollbar.o rbgtkvseparator.o rbgtkwidget.o rbgtkwindow.o rbgtkwindowgroup.o HDRS = $(srcdir)/global.h $(srcdir)/rbgdk.h $(srcdir)/rbgdkconversions.h $(srcdir)/rbgdkkeysyms.h $(srcdir)/rbgtk.h $(srcdir)/rbgtkconversions.h $(srcdir)/rbgtkmacros.h TARGET = gtk2 TARGET_NAME = gtk2 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 gtk2 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)/rbgdk.h $(RUBYARCHDIR)
        $(INSTALL_DATA) $(srcdir)/rbgdkconversions.h $(RUBYARCHDIR)
        $(INSTALL_DATA) $(srcdir)/rbgtk.h $(RUBYARCHDIR)
        $(INSTALL_DATA) $(srcdir)/rbgtkconversions.h $(RUBYARCHDIR)
        $(INSTALL_DATA) $(srcdir)/rbgtkmacros.h $(RUBYARCHDIR)

    install: install-pc install-pc:

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