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) NULLCMD = :

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

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

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

RUBY_EXTCONF_H = cflags = $(optflags) $(debugflags) $(warnflags) cxxflags = optflags = -O3 debugflags = -ggdb3 warnflags = -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable cppflags = CCDLFLAGS = -fPIC CFLAGS = $(CCDLFLAGS) -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -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 -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -pthread $(ARCH_FLAG) INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir) -I$(sitearchdir) -I$(vendorarchdir) -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -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/libpng16 -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 DEFS = -D_FILE_OFFSET_BITS=64 CPPFLAGS = -DHAVE_RB_ERRINFO -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) -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -pthread -pthread -pthread $(ARCH_FLAG) ldflags = -L. -Wl,-z,relro -Wl,–as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic

dldflags = -Wl,-z,relro -Wl,–as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ARCH_FLAG = DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG) LDSHARED = $(CC) -shared LDSHAREDXX = $(CXX) -shared AR = ar EXEEXT =

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

arch = armv7hl-linux sitearch = $(arch) ruby_version = 2.7.0 ruby = $(bindir)/$(RUBY_BASE_NAME) RUBY = $(ruby) ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.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 = . $(archlibdir) LIBPATH = -L. -L$(archlibdir) DEFFILE =

CLEANFILES = mkmf.log DISTCLEANFILES = ruby-gtk2.pc rbgdkkeysyms.h DISTCLEANDIRS =

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

TIMESTAMP_DIR = . 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_DIR = TARGET_SO = $(TARGET_SO_DIR)$(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) $(TIMESTAMP_DIR)/.sitearchdir.time

$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
clean-static

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

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

@$(NULLCMD)

$(TIMESTAMP_DIR)/.sitearchdir.time:

$(Q) $(MAKEDIRS) $(@D) $(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 .o .S

.cc.o:

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

.cc.S:

$(ECHO) translating $(<)
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

.mm.o:

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

.mm.S:

$(ECHO) translating $(<)
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

.cxx.o:

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

.cxx.S:

$(ECHO) translating $(<)
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

.cpp.o:

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

.cpp.S:

$(ECHO) translating $(<)
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

.c.o:

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

.c.S:

$(ECHO) translating $(<)
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

.m.o:

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

.m.S:

$(ECHO) translating $(<)
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<

$(TARGET_SO): $(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

pkgconfigdir=/builddir/build/BUILD/rubygem-gtk2-3.4.3/usr/lib/pkgconfig