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 = /tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/gtk2/ext/gtk2 topdir = /usr/include/ruby-2.4 hdrdir = $(topdir) arch_hdrdir = /usr/include/ruby-2.4 PATH_SEPARATOR = : VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby prefix = $(DESTDIR)/usr rubysitearchprefix = $(sitearchlibdir)/$(RUBY_BASE_NAME) rubyarchprefix = $(DESTDIR)/usr/lib64/ruby/2.4 rubylibprefix = $(exec_prefix)/share/ruby/2.4 exec_prefix = $(DESTDIR)/usr vendorarchhdrdir = $(vendorhdrdir)/$(arch) sitearchhdrdir = $(sitehdrdir)/$(arch) rubyarchhdrdir = $(DESTDIR)/usr/include/ruby-2.4 vendorhdrdir = $(rubyhdrdir)/vendor_ruby sitehdrdir = $(rubyhdrdir)/site_ruby rubyhdrdir = $(DESTDIR)/usr/include/ruby-2.4 rubygemsdir = $(DESTDIR)/usr/share/ruby/2.4 vendorarchdir = $(DESTDIR)/usr/lib64/ruby/vendor_ruby/2.4 vendorlibdir = $(vendordir) vendordir = $(DESTDIR)/usr/share/ruby/vendor_ruby sitearchdir = $(DESTDIR)/usr/local/lib64/ruby/site_ruby/2.4 sitelibdir = $(sitedir) sitedir = $(DESTDIR)/usr/local/share/ruby/site_ruby rubyarchdir = $(rubyarchprefix) rubylibdir = $(rubylibprefix) sitearchincludedir = $(includedir)/$(sitearch) archincludedir = $(includedir)/$(arch) sitearchlibdir = $(libdir)/$(sitearch) archlibdir = $(DESTDIR)/usr/lib64 ridir = $(datarootdir)/$(RI_BASE_NAME) mandir = $(DESTDIR)/usr/share/man localedir = $(datarootdir)/locale libdir = $(exec_prefix)/lib64 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 = x86_64-pld-linux-gcc CXX = x86_64-pld-linux-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 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong –param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -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 -pthread -pthread $(ARCH_FLAG) INCFLAGS = -I. -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/pango/ext/pango -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/pango/ext/pango -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/pango/ext/pango -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/pango/ext/pango -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/glib2/ext/glib2 -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/glib2/ext/glib2 -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/glib2/ext/glib2 -I/tmp/B.Ch_wNy/BUILD/ruby-gnome2-all-3.2.5/glib2/ext/glib2 -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir) -I$(vendorarchdir) -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 DEFS = 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 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong –param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread $(ARCH_FLAG) ldflags = -L. -Wl,–as-needed -Wl,–no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -fstack-protector -rdynamic -Wl,-export-dynamic
dldflags = -Wl,–as-needed -Wl,–no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wl,–compress-debug-sections=zlib 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 = x86_64-linux sitearch = $(arch) ruby_version = 2.4 ruby = $(bindir)/ruby 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 = /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 -lfribidi -lpangocairo-1.0 -lcairo -lgio-2.0 -lfontconfig -lfreetype -lX11 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -latk-1.0 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lfribidi -lpangocairo-1.0 -lcairo -lgio-2.0 -lfontconfig -lfreetype -lX11 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -latk-1.0 -lpangoft2-1.0 -lpthread -lgmp -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) rbgtkvscrollbar.c rbgtkentry.c rbgdkpangorenderer.c rbgtkaccelkey.c rbgtkbuildable.c rbgtkstatusicon.c rbgtkrecentdata.c rbgtkeditable.c rbgtkcolorbutton.c rbgtkseparator.c rbgtktreedragsource.c rbgtkcalendar.c rbgtkcomboboxentry.c rbgtkoptionmenu.c rbgtkaction.c rbgtkspinner.c rbgtkaccelgroupentry.c rbgtkfilechooserbutton.c rbgdkconst.c rbgtktextchild.c rbgtkaccelerator.c rbgtkscalebutton.c rbgtkruler.c rbgtkeventbox.c rbgtkhpaned.c rbgtktoolbutton.c rbgdkatom.c rbgtkrc.c rbgtktextappearance.c rbgtkitem.c rbgtkcellrendererprogress.c rbgtkscrollbar.c rbgtkcolorselectiondialog.c rbgtkmessagedialog.c rbgtksettings.c rbgtktoggleaction.c rbgtkiconsource.c rbgdkinput.c rbgtkdrag.c rbgtkrecentchoosermenu.c rbgdkkeymap.c rbgtkplug.c rbgtkradiobutton.c rbgtktreestore.c rbgtkradiotoolbutton.c rbgtkfontselectiondialog.c rbgtkcurve.c rbgtkfilesel.c rbgtkitemfactory.c rbgtkcellrendererspin.c rbgtkaboutdialog.c rbgtkuimanager.c rbgtktextview.c rbgdkgc.c rbgtkinfobar.c rbgtkseparatormenuitem.c rbgtkrecentfilter.c rbgtkcellrendererspinner.c rbgtkfilechooserwidget.c rbgtktreeview.c rbgtk.c rbgtktargetlist.c rbgtkassistant.c rbgtkpaned.c rbgtkvbbox.c rbgtkrecentinfo.c rbgtkimage.c rbgtkwidget.c rbgtkcellrenderer.c rbgtkhscrollbar.c rbgdkpixbuf.c rbgtkcheckbutton.c rbgtkpagesetupunixdialog.c rbgdkx11.c rbgdkimage.c rbgdkwindow.c rbgtkfilechooser.c rbgtkradiomenuitem.c rbgtktoolbar.c rbgtkiconset.c rbgtkrcstyle.c rbgdkcolor.c rbgtktoggletoolbutton.c rbgtkiconsize.c rbgtktreeiter.c init.c rbgtkhbbox.c rbgtkmenuitem.c rbgtkaccelgroup.c rbgdkgeometry.c rbgtkhandlebox.c rbgtkprintoperation.c rbgtkspinbutton.c rbgtkvpaned.c rbgtklinkbutton.c rbgtkhseparator.c rbgtkcheckmenuitem.c rbgtkrecentchooserwidget.c rbgtktreerowreference.c rbgtktextbuffer.c rbgtkprintsettings.c rbgtkicontheme.c rbgtkarrow.c rbgtkactiongroup.c rbgdkcolormap.c rbgtktreemodelsort.c rbgtkrecentaction.c rbgtktreemodel.c rbgdktimecoord.c rbgtkmenubar.c rbgtkborder.c rbgdkrgb.c rbgtkfontbutton.c rbgtktoolitem.c rbgtkstyle.c rbgtkvruler.c rbgdkkeyval.c rbgtktextattributes.c rbgtktreepath.c rbgtkaccessible.c rbgdkdevice.c rbgtkvscale.c rbgtkvolumebutton.c rbgtkfilechooserdialog.c rbgtknotebook.c rbgdkdragcontext.c rbgtktreesortable.c rbgtktreemodelfilter.c rbgtkobject.c rbgtkradioaction.c rbgtkcellrenderertoggle.c rbgdkproperty.c rbgtkmisc.c rbgtkmenushell.c rbgdkscreen.c rbgtkaspectframe.c rbgtkconst.c rbgdkrectangle.c rbgtkbindingset.c rbgtkvbox.c rbgtkcelleditable.c rbgtkbin.c rbgtkrecentchooser.c rbgtkstock.c rbgdkdisplaymanager.c rbgtkprintoperationpreview.c rbgtkhbox.c rbgdkvisual.c rbgtkstatusbar.c rbgtkseparatortoolitem.c rbgtktexttag.c rbgtkimagemenuitem.c rbgtkbbox.c rbgtkliststore.c rbgtkfilefilter.c rbgdkdisplay.c rbgtkiconinfo.c rbgtkfontselection.c rbgtktreeviewcolumn.c rbgtkaccelmap.c rbgtkscale.c rbgtksocket.c rbgtkprintjob.c rbgtkscrolledwindow.c rbgtkcolorsel.c rbgtktooltip.c rbgtkiconfactory.c rbgdk.c rbgtkprintunixdialog.c rbgdkpixmap.c rbgtkviewport.c rbgtkmenu.c rbgtktable.c rbgdkevent.c rbgtkiconview.c rbgtkdrawingarea.c rbgtktexttagtable.c rbgtkinvisible.c rbgtkcontainer.c rbgtksizegroup.c rbgtkgamma.c rbgtktearoffmenuitem.c rbgtkcellrenderercombo.c rbgtklayout.c rbgtkadjustment.c rbgtkcombo.c rbgtkcellrendererpixbuf.c rbgtkinputdialog.c rbgtkexpander.c rbgdkwindowattr.c rbgtkimmulticontext.c rbgdkselection.c rbgtkframe.c rbgtkprintcontext.c rbgtkwindow.c rbgtkrange.c rbgtkpagesetup.c rbgtkaccellabel.c rbgtkmenutoolbutton.c rbgtkprinter.c rbgtkprogressbar.c rbgtktreedragdest.c rbgdkcairo.c rbgtktreeselection.c rbgtklabel.c rbgtktooltips.c rbgtkselectiondata.c rbgtkfixed.c rbgtkdialog.c rbgtkhscale.c rbgtkvseparator.c rbgtkrecentmanager.c rbgtktogglebutton.c rbgdkthreads.c rbgtkcombobox.c rbgdkcursor.c rbgdkdraw.c rbgtktextiter.c rbgtkimcontext.c rbgtkimcontextsimple.c rbgtkrecentchooserdialog.c rbgdkpango.c rbgtkbox.c rbgtkwindowgroup.c rbgtkallocation.c rbgtkcellrendereraccel.c rbgtkhruler.c rbgtkcellrenderertext.c rbgtkpapersize.c rbgtkcelllayout.c rbgtkrecentfilterinfo.c rbgtkfilesystemerror.c rbgtkentrycompletion.c rbgdkregion.c rbgtkbuilder.c rbgtkprogress.c rbgtkalignment.c rbgtktextmark.c rbgtkbutton.c rbgtkcellview.c rbgtkclipboard.c rbgtkselection.c OBJS = rbgtkvscrollbar.o rbgtkentry.o rbgdkpangorenderer.o rbgtkaccelkey.o rbgtkbuildable.o rbgtkstatusicon.o rbgtkrecentdata.o rbgtkeditable.o rbgtkcolorbutton.o rbgtkseparator.o rbgtktreedragsource.o rbgtkcalendar.o rbgtkcomboboxentry.o rbgtkoptionmenu.o rbgtkaction.o rbgtkspinner.o rbgtkaccelgroupentry.o rbgtkfilechooserbutton.o rbgdkconst.o rbgtktextchild.o rbgtkaccelerator.o rbgtkscalebutton.o rbgtkruler.o rbgtkeventbox.o rbgtkhpaned.o rbgtktoolbutton.o rbgdkatom.o rbgtkrc.o rbgtktextappearance.o rbgtkitem.o rbgtkcellrendererprogress.o rbgtkscrollbar.o rbgtkcolorselectiondialog.o rbgtkmessagedialog.o rbgtksettings.o rbgtktoggleaction.o rbgtkiconsource.o rbgdkinput.o rbgtkdrag.o rbgtkrecentchoosermenu.o rbgdkkeymap.o rbgtkplug.o rbgtkradiobutton.o rbgtktreestore.o rbgtkradiotoolbutton.o rbgtkfontselectiondialog.o rbgtkcurve.o rbgtkfilesel.o rbgtkitemfactory.o rbgtkcellrendererspin.o rbgtkaboutdialog.o rbgtkuimanager.o rbgtktextview.o rbgdkgc.o rbgtkinfobar.o rbgtkseparatormenuitem.o rbgtkrecentfilter.o rbgtkcellrendererspinner.o rbgtkfilechooserwidget.o rbgtktreeview.o rbgtk.o rbgtktargetlist.o rbgtkassistant.o rbgtkpaned.o rbgtkvbbox.o rbgtkrecentinfo.o rbgtkimage.o rbgtkwidget.o rbgtkcellrenderer.o rbgtkhscrollbar.o rbgdkpixbuf.o rbgtkcheckbutton.o rbgtkpagesetupunixdialog.o rbgdkx11.o rbgdkimage.o rbgdkwindow.o rbgtkfilechooser.o rbgtkradiomenuitem.o rbgtktoolbar.o rbgtkiconset.o rbgtkrcstyle.o rbgdkcolor.o rbgtktoggletoolbutton.o rbgtkiconsize.o rbgtktreeiter.o init.o rbgtkhbbox.o rbgtkmenuitem.o rbgtkaccelgroup.o rbgdkgeometry.o rbgtkhandlebox.o rbgtkprintoperation.o rbgtkspinbutton.o rbgtkvpaned.o rbgtklinkbutton.o rbgtkhseparator.o rbgtkcheckmenuitem.o rbgtkrecentchooserwidget.o rbgtktreerowreference.o rbgtktextbuffer.o rbgtkprintsettings.o rbgtkicontheme.o rbgtkarrow.o rbgtkactiongroup.o rbgdkcolormap.o rbgtktreemodelsort.o rbgtkrecentaction.o rbgtktreemodel.o rbgdktimecoord.o rbgtkmenubar.o rbgtkborder.o rbgdkrgb.o rbgtkfontbutton.o rbgtktoolitem.o rbgtkstyle.o rbgtkvruler.o rbgdkkeyval.o rbgtktextattributes.o rbgtktreepath.o rbgtkaccessible.o rbgdkdevice.o rbgtkvscale.o rbgtkvolumebutton.o rbgtkfilechooserdialog.o rbgtknotebook.o rbgdkdragcontext.o rbgtktreesortable.o rbgtktreemodelfilter.o rbgtkobject.o rbgtkradioaction.o rbgtkcellrenderertoggle.o rbgdkproperty.o rbgtkmisc.o rbgtkmenushell.o rbgdkscreen.o rbgtkaspectframe.o rbgtkconst.o rbgdkrectangle.o rbgtkbindingset.o rbgtkvbox.o rbgtkcelleditable.o rbgtkbin.o rbgtkrecentchooser.o rbgtkstock.o rbgdkdisplaymanager.o rbgtkprintoperationpreview.o rbgtkhbox.o rbgdkvisual.o rbgtkstatusbar.o rbgtkseparatortoolitem.o rbgtktexttag.o rbgtkimagemenuitem.o rbgtkbbox.o rbgtkliststore.o rbgtkfilefilter.o rbgdkdisplay.o rbgtkiconinfo.o rbgtkfontselection.o rbgtktreeviewcolumn.o rbgtkaccelmap.o rbgtkscale.o rbgtksocket.o rbgtkprintjob.o rbgtkscrolledwindow.o rbgtkcolorsel.o rbgtktooltip.o rbgtkiconfactory.o rbgdk.o rbgtkprintunixdialog.o rbgdkpixmap.o rbgtkviewport.o rbgtkmenu.o rbgtktable.o rbgdkevent.o rbgtkiconview.o rbgtkdrawingarea.o rbgtktexttagtable.o rbgtkinvisible.o rbgtkcontainer.o rbgtksizegroup.o rbgtkgamma.o rbgtktearoffmenuitem.o rbgtkcellrenderercombo.o rbgtklayout.o rbgtkadjustment.o rbgtkcombo.o rbgtkcellrendererpixbuf.o rbgtkinputdialog.o rbgtkexpander.o rbgdkwindowattr.o rbgtkimmulticontext.o rbgdkselection.o rbgtkframe.o rbgtkprintcontext.o rbgtkwindow.o rbgtkrange.o rbgtkpagesetup.o rbgtkaccellabel.o rbgtkmenutoolbutton.o rbgtkprinter.o rbgtkprogressbar.o rbgtktreedragdest.o rbgdkcairo.o rbgtktreeselection.o rbgtklabel.o rbgtktooltips.o rbgtkselectiondata.o rbgtkfixed.o rbgtkdialog.o rbgtkhscale.o rbgtkvseparator.o rbgtkrecentmanager.o rbgtktogglebutton.o rbgdkthreads.o rbgtkcombobox.o rbgdkcursor.o rbgdkdraw.o rbgtktextiter.o rbgtkimcontext.o rbgtkimcontextsimple.o rbgtkrecentchooserdialog.o rbgdkpango.o rbgtkbox.o rbgtkwindowgroup.o rbgtkallocation.o rbgtkcellrendereraccel.o rbgtkhruler.o rbgtkcellrenderertext.o rbgtkpapersize.o rbgtkcelllayout.o rbgtkrecentfilterinfo.o rbgtkfilesystemerror.o rbgtkentrycompletion.o rbgdkregion.o rbgtkbuilder.o rbgtkprogress.o rbgtkalignment.o rbgtktextmark.o rbgtkbutton.o rbgtkcellview.o rbgtkclipboard.o rbgtkselection.o HDRS = $(srcdir)/global.h $(srcdir)/rbgdk.h $(srcdir)/rbgtk.h $(srcdir)/rbgtkmacros.h $(srcdir)/rbgdkconversions.h $(srcdir)/rbgtkconversions.h $(srcdir)/rbgdkkeysyms.h LOCAL_HDRS = TARGET = gtk2 TARGET_NAME = gtk2 TARGET_ENTRY = Init_$(TARGET_NAME) DLLIB = $(TARGET).so EXTSTATIC = STATIC_LIB =
TIMESTAMP_DIR = . BINDIR = $(bindir) RUBYCOMMONDIR = $(vendordir)$(target_prefix) RUBYLIBDIR = $(vendorlibdir)$(target_prefix) RUBYARCHDIR = $(vendorarchdir)$(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-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)/.vendorarchdir.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)/.vendorarchdir.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
- distclean-rb-default