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.20170804-12681-db7fyv sitelibdir = $(DESTDIR)./.gem.20170804-12681-db7fyv 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 = 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 empty = OUTFLAG = -o $(empty) COUTFLAG = -o $(empty) CSRCFLAG = $(empty)
RUBY_EXTCONF_H = cflags = $(optflags) $(debugflags) $(warnflags) cxxflags = $(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 -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 CCDLFLAGS = -fPIC CFLAGS = $(CCDLFLAGS) -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -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 -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread $(ARCH_FLAG) INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir) -I$(sitearchdir) -I$(vendorarchdir) -I/usr/share/gems/gems/cairo-1.15.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/libpng16 -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gtk-unix-print-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -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 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 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=i686 -fasynchronous-unwind-tables -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread $(ARCH_FLAG) ldflags = -L. -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic
dldflags = -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m32 ARCH_FLAG = -m32 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 = i386-linux sitearch = $(arch) ruby_version = 2.4.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 -lcairo -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lpangocairo-1.0 -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lpangocairo-1.0 -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lpthread -ldl -lcrypt -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) rbgtkwidget.c rbgtkcellrendererspin.c rbgtkselection.c rbgtkcellrenderertext.c rbgtktextview.c rbgtkvruler.c rbgtkimagemenuitem.c rbgtkrange.c rbgtkcomboboxentry.c rbgtkiconsource.c rbgdk.c rbgtkwindowgroup.c rbgtkprintsettings.c rbgtkprintjob.c rbgtkcellrendererspinner.c rbgtktexttag.c rbgtktreesortable.c rbgtktoolbutton.c rbgtktextiter.c rbgdkdragcontext.c rbgtkmessagedialog.c rbgtksettings.c rbgtktreeview.c rbgtksizegroup.c rbgtkpagesetupunixdialog.c rbgdkatom.c rbgtkoptionmenu.c rbgtkallocation.c rbgtkmisc.c rbgtktreeviewcolumn.c rbgtktreemodel.c rbgtkentry.c rbgtkselectiondata.c rbgtkprinter.c rbgdkinput.c rbgtkfilechooser.c rbgtkprogressbar.c rbgtktreeiter.c rbgtkradiotoolbutton.c rbgdkpango.c rbgtkrecentdata.c rbgdkrgb.c rbgdkdisplay.c rbgtkgamma.c rbgtkhandlebox.c rbgtkrcstyle.c rbgtkcellrendererprogress.c rbgtkadjustment.c rbgtkcombobox.c rbgdkcursor.c rbgtktreemodelsort.c rbgtkbbox.c rbgtkaccelkey.c rbgtkradiomenuitem.c rbgtkiconview.c rbgtkrecentinfo.c rbgtkliststore.c rbgtkdrag.c rbgdkscreen.c rbgdkkeymap.c rbgtktooltip.c rbgtkseparatortoolitem.c rbgtkimcontext.c rbgdkkeyval.c rbgtkfilesystemerror.c rbgtklabel.c rbgtkhbbox.c rbgtkdialog.c rbgtkvolumebutton.c rbgtktogglebutton.c rbgtkvpaned.c rbgtkcelllayout.c rbgdkcolor.c rbgtkaspectframe.c rbgtkexpander.c rbgtktreestore.c rbgtkscale.c rbgtkeditable.c rbgtkmenubar.c rbgtkuimanager.c rbgtkrecentchoosermenu.c rbgtkspinbutton.c rbgtkaccelgroupentry.c rbgtkinfobar.c rbgtkclipboard.c rbgtkstyle.c rbgtkrecentaction.c rbgtkassistant.c rbgdkcairo.c rbgtkpagesetup.c rbgtktoggleaction.c rbgtktoolitem.c rbgtktreedragdest.c rbgtkrecentfilter.c rbgdkproperty.c rbgtkiconset.c rbgdkgc.c rbgtkicontheme.c rbgtkinputdialog.c rbgtklinkbutton.c rbgtkobject.c rbgtksocket.c rbgtktreerowreference.c rbgtkmenushell.c rbgdkconst.c rbgtkstatusbar.c rbgtktearoffmenuitem.c rbgtkfilesel.c rbgdkpangorenderer.c rbgtkcheckmenuitem.c rbgtktoolbar.c rbgtkborder.c rbgtkalignment.c rbgtktable.c rbgtknotebook.c rbgtkhscrollbar.c rbgtkfontselection.c rbgtkaboutdialog.c rbgtkaction.c rbgtkscrollbar.c rbgtkcellview.c rbgtkaccellabel.c rbgtkimcontextsimple.c rbgtkcolorbutton.c rbgtkfilefilter.c rbgtkiconfactory.c rbgtkbox.c rbgtkvscrollbar.c rbgdktimecoord.c rbgtkstatusicon.c rbgtkruler.c rbgdkdraw.c rbgtkconst.c rbgtkvbbox.c rbgtklayout.c rbgtkstock.c rbgtkfixed.c rbgtkbutton.c rbgtkrecentfilterinfo.c rbgtkprintoperationpreview.c rbgtkhpaned.c rbgdkwindowattr.c rbgtkaccelgroup.c rbgtkcombo.c rbgdkregion.c rbgtkactiongroup.c rbgtkbuildable.c rbgtkhbox.c rbgtkpaned.c rbgtkitem.c rbgtktooltips.c rbgtkaccelmap.c rbgdkgeometry.c rbgtkcelleditable.c rbgtkseparator.c rbgtkcurve.c rbgtkprintunixdialog.c rbgtktreeselection.c rbgtkimmulticontext.c rbgdkdevice.c rbgtkrecentchooserwidget.c rbgtkimage.c rbgtkscalebutton.c rbgtkradiobutton.c rbgdkrectangle.c rbgtkcalendar.c rbgtkrecentchooserdialog.c rbgtkwindow.c rbgdkthreads.c init.c rbgdkwindow.c rbgtkaccelerator.c rbgtkcellrendereraccel.c rbgdkdisplaymanager.c rbgtkfilechooserwidget.c rbgtkcheckbutton.c rbgtkfontbutton.c rbgtkbindingset.c rbgtkiconsize.c rbgtkplug.c rbgdkvisual.c rbgtkcolorselectiondialog.c rbgtkhruler.c rbgtkcontainer.c rbgtkcellrenderertoggle.c rbgtkeventbox.c rbgtkhseparator.c rbgtkrc.c rbgtktextattributes.c rbgtkbuilder.c rbgtktexttagtable.c rbgtkvscale.c rbgtkentrycompletion.c rbgtkinvisible.c rbgtkarrow.c rbgtkmenu.c rbgdkpixmap.c rbgtk.c rbgtkvbox.c rbgtkpapersize.c rbgtktargetlist.c rbgtkcellrendererpixbuf.c rbgtkspinner.c rbgtkseparatormenuitem.c rbgtkfontselectiondialog.c rbgtktreedragsource.c rbgtkprintoperation.c rbgtktreepath.c rbgtkitemfactory.c rbgtkframe.c rbgdkcolormap.c rbgtkscrolledwindow.c rbgtktoggletoolbutton.c rbgtkfilechooserbutton.c rbgtkprintcontext.c rbgdkevent.c rbgtkiconinfo.c rbgdkselection.c rbgtkdrawingarea.c rbgtkhscale.c rbgtkrecentmanager.c rbgtkaccessible.c rbgtkmenuitem.c rbgdkx11.c rbgtkcellrenderercombo.c rbgdkpixbuf.c rbgtkcellrenderer.c rbgtktextmark.c rbgtkfilechooserdialog.c rbgtkprogress.c rbgtktextchild.c rbgtkbin.c rbgdkimage.c rbgtktextappearance.c rbgtkvseparator.c rbgtkrecentchooser.c rbgtktextbuffer.c rbgtkradioaction.c rbgtkviewport.c rbgtktreemodelfilter.c rbgtkmenutoolbutton.c rbgtkcolorsel.c OBJS = rbgtkwidget.o rbgtkcellrendererspin.o rbgtkselection.o rbgtkcellrenderertext.o rbgtktextview.o rbgtkvruler.o rbgtkimagemenuitem.o rbgtkrange.o rbgtkcomboboxentry.o rbgtkiconsource.o rbgdk.o rbgtkwindowgroup.o rbgtkprintsettings.o rbgtkprintjob.o rbgtkcellrendererspinner.o rbgtktexttag.o rbgtktreesortable.o rbgtktoolbutton.o rbgtktextiter.o rbgdkdragcontext.o rbgtkmessagedialog.o rbgtksettings.o rbgtktreeview.o rbgtksizegroup.o rbgtkpagesetupunixdialog.o rbgdkatom.o rbgtkoptionmenu.o rbgtkallocation.o rbgtkmisc.o rbgtktreeviewcolumn.o rbgtktreemodel.o rbgtkentry.o rbgtkselectiondata.o rbgtkprinter.o rbgdkinput.o rbgtkfilechooser.o rbgtkprogressbar.o rbgtktreeiter.o rbgtkradiotoolbutton.o rbgdkpango.o rbgtkrecentdata.o rbgdkrgb.o rbgdkdisplay.o rbgtkgamma.o rbgtkhandlebox.o rbgtkrcstyle.o rbgtkcellrendererprogress.o rbgtkadjustment.o rbgtkcombobox.o rbgdkcursor.o rbgtktreemodelsort.o rbgtkbbox.o rbgtkaccelkey.o rbgtkradiomenuitem.o rbgtkiconview.o rbgtkrecentinfo.o rbgtkliststore.o rbgtkdrag.o rbgdkscreen.o rbgdkkeymap.o rbgtktooltip.o rbgtkseparatortoolitem.o rbgtkimcontext.o rbgdkkeyval.o rbgtkfilesystemerror.o rbgtklabel.o rbgtkhbbox.o rbgtkdialog.o rbgtkvolumebutton.o rbgtktogglebutton.o rbgtkvpaned.o rbgtkcelllayout.o rbgdkcolor.o rbgtkaspectframe.o rbgtkexpander.o rbgtktreestore.o rbgtkscale.o rbgtkeditable.o rbgtkmenubar.o rbgtkuimanager.o rbgtkrecentchoosermenu.o rbgtkspinbutton.o rbgtkaccelgroupentry.o rbgtkinfobar.o rbgtkclipboard.o rbgtkstyle.o rbgtkrecentaction.o rbgtkassistant.o rbgdkcairo.o rbgtkpagesetup.o rbgtktoggleaction.o rbgtktoolitem.o rbgtktreedragdest.o rbgtkrecentfilter.o rbgdkproperty.o rbgtkiconset.o rbgdkgc.o rbgtkicontheme.o rbgtkinputdialog.o rbgtklinkbutton.o rbgtkobject.o rbgtksocket.o rbgtktreerowreference.o rbgtkmenushell.o rbgdkconst.o rbgtkstatusbar.o rbgtktearoffmenuitem.o rbgtkfilesel.o rbgdkpangorenderer.o rbgtkcheckmenuitem.o rbgtktoolbar.o rbgtkborder.o rbgtkalignment.o rbgtktable.o rbgtknotebook.o rbgtkhscrollbar.o rbgtkfontselection.o rbgtkaboutdialog.o rbgtkaction.o rbgtkscrollbar.o rbgtkcellview.o rbgtkaccellabel.o rbgtkimcontextsimple.o rbgtkcolorbutton.o rbgtkfilefilter.o rbgtkiconfactory.o rbgtkbox.o rbgtkvscrollbar.o rbgdktimecoord.o rbgtkstatusicon.o rbgtkruler.o rbgdkdraw.o rbgtkconst.o rbgtkvbbox.o rbgtklayout.o rbgtkstock.o rbgtkfixed.o rbgtkbutton.o rbgtkrecentfilterinfo.o rbgtkprintoperationpreview.o rbgtkhpaned.o rbgdkwindowattr.o rbgtkaccelgroup.o rbgtkcombo.o rbgdkregion.o rbgtkactiongroup.o rbgtkbuildable.o rbgtkhbox.o rbgtkpaned.o rbgtkitem.o rbgtktooltips.o rbgtkaccelmap.o rbgdkgeometry.o rbgtkcelleditable.o rbgtkseparator.o rbgtkcurve.o rbgtkprintunixdialog.o rbgtktreeselection.o rbgtkimmulticontext.o rbgdkdevice.o rbgtkrecentchooserwidget.o rbgtkimage.o rbgtkscalebutton.o rbgtkradiobutton.o rbgdkrectangle.o rbgtkcalendar.o rbgtkrecentchooserdialog.o rbgtkwindow.o rbgdkthreads.o init.o rbgdkwindow.o rbgtkaccelerator.o rbgtkcellrendereraccel.o rbgdkdisplaymanager.o rbgtkfilechooserwidget.o rbgtkcheckbutton.o rbgtkfontbutton.o rbgtkbindingset.o rbgtkiconsize.o rbgtkplug.o rbgdkvisual.o rbgtkcolorselectiondialog.o rbgtkhruler.o rbgtkcontainer.o rbgtkcellrenderertoggle.o rbgtkeventbox.o rbgtkhseparator.o rbgtkrc.o rbgtktextattributes.o rbgtkbuilder.o rbgtktexttagtable.o rbgtkvscale.o rbgtkentrycompletion.o rbgtkinvisible.o rbgtkarrow.o rbgtkmenu.o rbgdkpixmap.o rbgtk.o rbgtkvbox.o rbgtkpapersize.o rbgtktargetlist.o rbgtkcellrendererpixbuf.o rbgtkspinner.o rbgtkseparatormenuitem.o rbgtkfontselectiondialog.o rbgtktreedragsource.o rbgtkprintoperation.o rbgtktreepath.o rbgtkitemfactory.o rbgtkframe.o rbgdkcolormap.o rbgtkscrolledwindow.o rbgtktoggletoolbutton.o rbgtkfilechooserbutton.o rbgtkprintcontext.o rbgdkevent.o rbgtkiconinfo.o rbgdkselection.o rbgtkdrawingarea.o rbgtkhscale.o rbgtkrecentmanager.o rbgtkaccessible.o rbgtkmenuitem.o rbgdkx11.o rbgtkcellrenderercombo.o rbgdkpixbuf.o rbgtkcellrenderer.o rbgtktextmark.o rbgtkfilechooserdialog.o rbgtkprogress.o rbgtktextchild.o rbgtkbin.o rbgdkimage.o rbgtktextappearance.o rbgtkvseparator.o rbgtkrecentchooser.o rbgtktextbuffer.o rbgtkradioaction.o rbgtkviewport.o rbgtktreemodelfilter.o rbgtkmenutoolbutton.o rbgtkcolorsel.o HDRS = $(srcdir)/rbgdkkeysyms.h $(srcdir)/rbgdkconversions.h $(srcdir)/rbgtk.h $(srcdir)/rbgtkmacros.h $(srcdir)/rbgdk.h $(srcdir)/global.h $(srcdir)/rbgtkconversions.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) install-rb .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-rb-default
-
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-rb
-
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.1.8/usr/lib/pkgconfig
- distclean-rb-default