SHELL = /bin/sh #### Start of system configuration section. #### srcdir = /home/kou/work/ruby/ruby-gnome2/gtk/src topdir = /usr/lib/ruby/1.8/x86_64-linux hdrdir = $(topdir) VPATH = $(srcdir):$(topdir):$(hdrdir) prefix = $(DESTDIR)/usr exec_prefix = $(prefix) sitedir = $(DESTDIR)/usr/local/lib/site_ruby rubylibdir = $(libdir)/ruby/$(ruby_version) docdir = $(datarootdir)/doc/$(PACKAGE) dvidir = $(docdir) datarootdir = $(prefix)/share archdir = $(rubylibdir)/$(arch) sbindir = $(exec_prefix)/sbin psdir = $(docdir) localedir = $(datarootdir)/locale htmldir = $(docdir) datadir = $(datarootdir) includedir = $(prefix)/include infodir = $(prefix)/share/info sysconfdir = $(DESTDIR)/etc mandir = $(prefix)/share/man libdir = $(exec_prefix)/lib sharedstatedir = $(prefix)/com oldincludedir = $(DESTDIR)/usr/include pdfdir = $(docdir) sitearchdir = $(sitelibdir)/$(sitearch) bindir = $(exec_prefix)/bin localstatedir = $(DESTDIR)/var sitelibdir = $(sitedir)/$(ruby_version) libexecdir = $(prefix)/lib/ruby1.8 CC = cc LIBRUBY = $(LIBRUBY_SO) LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME) LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static RUBY_EXTCONF_H = CFLAGS = -fPIC -fno-strict-aliasing -g -O2 -fPIC -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DPNG_NO_MMX_CODE -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -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/freetype2 -I/usr/include/libpng12 -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 INCFLAGS = -I. -I/home/kou/work/ruby/ruby-gnome2/pango/src -I/home/kou/work/ruby/ruby-gnome2/pango/src -I/home/kou/work/ruby/ruby-gnome2/glib/src -I/home/kou/work/ruby/ruby-gnome2/glib/src -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2/gtk CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DRUBY_GTK2_TARGET=\"x11\" -DHAVE_GTK_PLUG_GET_TYPE -DHAVE_GTK_SOCKET_GET_TYPE -DHAVE_PANGO_RENDER_PART_GET_TYPE -DHAVE_XREADBITMAPFILEDATA -DHAVE_X11_XLIB_H -DHAVE_XGETERRORTEXT -DHAVE_GTK_PRINT_UNIX_DIALOG_GET_TYPE -DHAVE_GTK_PRINT_JOB_GET_TYPE -DHAVE_GTK_PRINTER_GET_TYPE -DHAVE_RB_CAIRO_H -DRUBY_GTK2_COMPILATION -I/usr/local/lib/site_ruby/1.8/x86_64-linux CXXFLAGS = $(CFLAGS) DLDFLAGS = -L. -rdynamic -Wl,-export-dynamic -pthread LDSHARED = $(CC) -shared AR = ar EXEEXT = RUBY_INSTALL_NAME = ruby1.8 RUBY_SO_NAME = ruby1.8 arch = x86_64-linux sitearch = x86_64-linux ruby_version = 1.8 ruby = /usr/bin/ruby1.8 RUBY = $(ruby) RM = rm -f MAKEDIRS = mkdir -p INSTALL = /usr/bin/install -c INSTALL_PROG = $(INSTALL) -m 0755 INSTALL_DATA = $(INSTALL) -m 644 COPY = cp #### End of system configuration section. #### preload = libpath = . $(libdir) LIBPATH = -L"." -L"$(libdir)" DEFFILE = CLEANFILES = mkmf.log DISTCLEANFILES = rbgdkkeysyms.h rbgtkinits.c extout = extout_prefix = target_prefix = LOCAL_LIBS = LIBS = $(LIBRUBYARG_SHARED) -lgthread-2.0 -lrt -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -lpthread -ldl -lcrypt -lm -lc SRCS = rbgtkscrollbar.c rbgtkradioaction.c rbgtkstatusbar.c rbgtkwindow.c rbgtkrcstyle.c rbgtkhbbox.c rbgtk.c rbgtkinvisible.c rbgtkinits.c rbgtkimmulticontext.c rbgtkassistant.c rbgtkfontbutton.c rbgtkcellrendererprogress.c rbgdkpixmap.c rbgtkcellrenderertext.c rbgtkobject.c rbgtkhbox.c rbgtkrecentfilter.c rbgdkimage.c rbgtkvseparator.c rbgtkrecentdata.c rbgtkscrolledwindow.c rbgtkradiotoolbutton.c rbgtkbutton.c rbgdkpixbuf.c rbgtkvpaned.c rbgtktoolbutton.c rbgtkentry.c rbgdktimecoord.c rbgtkdrag.c rbgtkprintjob.c rbgtkconst.c rbgtktextmark.c rbgtkiconsource.c rbgtkcomboboxentry.c rbgtkfilechooserdialog.c rbgtkseparatormenuitem.c rbgtkplug.c rbgdkwindowattr.c rbgdkcolor.c rbgtktable.c rbgtkrecentmanager.c rbgtkrc.c rbgtkcombobox.c rbgdkrgb.c rbgtkbox.c rbgtkpapersize.c rbgtklabel.c rbgtkprintunixdialog.c rbgtkfilechooserwidget.c rbgtkmenu.c rbgtkprogress.c rbgtktreeiter.c rbgtkseparator.c rbgdkevent.c rbgdkregion.c rbgtkfilefilter.c rbgtkmessagedialog.c rbgtkalignment.c rbgtktreedragdest.c rbgtkpagesetupunixdialog.c rbgtkhandlebox.c rbgtkprintcontext.c rbgtkrecentaction.c rbgtktextbuffer.c rbgtkexpander.c rbgtkadjustment.c rbgtkhscale.c rbgtktextchild.c rbgdkgeometry.c rbgtkcellview.c rbgtktooltips.c rbgdkpango.c rbgtkprintsettings.c rbgtkcolorselectiondialog.c rbgtkaccellabel.c rbgtktoggletoolbutton.c rbgtkicontheme.c rbgtkdrawingarea.c rbgtktreeviewcolumn.c rbgtkmenubar.c rbgtkfixed.c rbgdkwindow.c rbgtkitem.c rbgtkfontselectiondialog.c rbgdkdisplaymanager.c rbgtktreeselection.c rbgtkcelllayout.c rbgdkselection.c rbgtkmenushell.c rbgtkprintoperationpreview.c rbgtkwindowgroup.c rbgtkradiobutton.c rbgtkradiomenuitem.c rbgtkscalebutton.c rbgtkprintoperation.c rbgtkallocation.c rbgtkvbbox.c rbgtkrecentchooserdialog.c rbgtkimcontextsimple.c rbgtkcombo.c rbgtkarrow.c rbgtkborder.c rbgtkfilechooser.c rbgtkiconinfo.c rbgtkcelleditable.c rbgtktreeview.c rbgtktextappearance.c rbgtkhpaned.c rbgtktreerowreference.c rbgtkrecentchoosermenu.c rbgtkgamma.c rbgtkspinbutton.c rbgdkcairo.c rbgtktreemodel.c rbgtktreedragsource.c rbgtkrange.c rbgtkvbox.c rbgtkinputdialog.c rbgtkmisc.c rbgtktooltip.c rbgtkprogressbar.c rbgtkiconview.c rbgdkdevice.c rbgtkvscrollbar.c rbgtktearoffmenuitem.c rbgtktogglebutton.c rbgtkiconset.c rbgdkkeymap.c rbgtkcellrendererspin.c rbgtkfilesel.c rbgtktoolbar.c rbgdk.c rbgtkcellrenderercombo.c rbgtkaboutdialog.c rbgtkbin.c init.c rbgtkitemfactory.c rbgtkrecentinfo.c rbgdkx11.c rbgtkeventbox.c rbgtkcontainer.c rbgtkstatusicon.c rbgtkaction.c rbgtkrecentfilterinfo.c rbgtktextiter.c rbgtkhseparator.c rbgtktoolitem.c rbgtkaccelgroup.c rbgdkinput.c rbgtkactiongroup.c rbgtkvruler.c rbgtkselectiondata.c rbgtkcheckbutton.c rbgtkpagesetup.c rbgtktreemodelfilter.c rbgtkmenutoolbutton.c rbgdkconst.c rbgdkrectangle.c rbgtkfontselection.c rbgtktextattributes.c rbgtkcellrendererpixbuf.c rbgtkimage.c rbgdkatom.c rbgdkvisual.c rbgtkstock.c rbgdkkeyval.c rbgtktreesortable.c rbgtkcellrendereraccel.c rbgtktreestore.c rbgtkpaned.c rbgtkliststore.c rbgdkcursor.c rbgtkimcontext.c rbgtkrecentchooser.c rbgtktreepath.c rbgtkeditable.c rbgtktexttagtable.c rbgtkvscale.c rbgtkhscrollbar.c rbgtkscale.c rbgtkaccelmap.c rbgtktextview.c rbgdkgc.c rbgdkscreen.c rbgtkoptionmenu.c rbgtkiconfactory.c rbgtkbbox.c rbgtkaccelerator.c rbgtkframe.c rbgtkwidget.c rbgtkmenuitem.c rbgtkviewport.c rbgtkcheckmenuitem.c rbgtkaccelkey.c rbgtknotebook.c rbgtkcalendar.c rbgtkselection.c rbgtkcolorsel.c rbgtksettings.c rbgtkprinter.c rbgtkfilechooserbutton.c rbgtktreemodelsort.c rbgtksizegroup.c rbgtkvolumebutton.c rbgtkruler.c rbgtklinkbutton.c rbgtkaccelgroupentry.c rbgtktargetlist.c rbgdkpangorenderer.c rbgtkdialog.c rbgtkcurve.c rbgtkcolorbutton.c rbgtkentrycompletion.c rbgtkseparatortoolitem.c rbgdkdisplay.c rbgdkproperty.c rbgtktexttag.c rbgtkstyle.c rbgtkaspectframe.c rbgtkaccessible.c rbgtkclipboard.c rbgtkhruler.c rbgtkimagemenuitem.c rbgtkbindingset.c rbgtkrecentchooserwidget.c rbgtktoggleaction.c rbgtkcellrenderertoggle.c rbgtkcellrenderer.c rbgtkmain.c rbgtkiconsize.c rbgtksocket.c rbgtkuimanager.c rbgdkdragcontext.c rbgtklayout.c rbgdkcolormap.c rbgdkthreads.c rbgdkdraw.c OBJS = rbgtkscrollbar.o rbgtkradioaction.o rbgtkstatusbar.o rbgtkwindow.o rbgtkrcstyle.o rbgtkhbbox.o rbgtk.o rbgtkinvisible.o rbgtkinits.o rbgtkimmulticontext.o rbgtkassistant.o rbgtkfontbutton.o rbgtkcellrendererprogress.o rbgdkpixmap.o rbgtkcellrenderertext.o rbgtkobject.o rbgtkhbox.o rbgtkrecentfilter.o rbgdkimage.o rbgtkvseparator.o rbgtkrecentdata.o rbgtkscrolledwindow.o rbgtkradiotoolbutton.o rbgtkbutton.o rbgdkpixbuf.o rbgtkvpaned.o rbgtktoolbutton.o rbgtkentry.o rbgdktimecoord.o rbgtkdrag.o rbgtkprintjob.o rbgtkconst.o rbgtktextmark.o rbgtkiconsource.o rbgtkcomboboxentry.o rbgtkfilechooserdialog.o rbgtkseparatormenuitem.o rbgtkplug.o rbgdkwindowattr.o rbgdkcolor.o rbgtktable.o rbgtkrecentmanager.o rbgtkrc.o rbgtkcombobox.o rbgdkrgb.o rbgtkbox.o rbgtkpapersize.o rbgtklabel.o rbgtkprintunixdialog.o rbgtkfilechooserwidget.o rbgtkmenu.o rbgtkprogress.o rbgtktreeiter.o rbgtkseparator.o rbgdkevent.o rbgdkregion.o rbgtkfilefilter.o rbgtkmessagedialog.o rbgtkalignment.o rbgtktreedragdest.o rbgtkpagesetupunixdialog.o rbgtkhandlebox.o rbgtkprintcontext.o rbgtkrecentaction.o rbgtktextbuffer.o rbgtkexpander.o rbgtkadjustment.o rbgtkhscale.o rbgtktextchild.o rbgdkgeometry.o rbgtkcellview.o rbgtktooltips.o rbgdkpango.o rbgtkprintsettings.o rbgtkcolorselectiondialog.o rbgtkaccellabel.o rbgtktoggletoolbutton.o rbgtkicontheme.o rbgtkdrawingarea.o rbgtktreeviewcolumn.o rbgtkmenubar.o rbgtkfixed.o rbgdkwindow.o rbgtkitem.o rbgtkfontselectiondialog.o rbgdkdisplaymanager.o rbgtktreeselection.o rbgtkcelllayout.o rbgdkselection.o rbgtkmenushell.o rbgtkprintoperationpreview.o rbgtkwindowgroup.o rbgtkradiobutton.o rbgtkradiomenuitem.o rbgtkscalebutton.o rbgtkprintoperation.o rbgtkallocation.o rbgtkvbbox.o rbgtkrecentchooserdialog.o rbgtkimcontextsimple.o rbgtkcombo.o rbgtkarrow.o rbgtkborder.o rbgtkfilechooser.o rbgtkiconinfo.o rbgtkcelleditable.o rbgtktreeview.o rbgtktextappearance.o rbgtkhpaned.o rbgtktreerowreference.o rbgtkrecentchoosermenu.o rbgtkgamma.o rbgtkspinbutton.o rbgdkcairo.o rbgtktreemodel.o rbgtktreedragsource.o rbgtkrange.o rbgtkvbox.o rbgtkinputdialog.o rbgtkmisc.o rbgtktooltip.o rbgtkprogressbar.o rbgtkiconview.o rbgdkdevice.o rbgtkvscrollbar.o rbgtktearoffmenuitem.o rbgtktogglebutton.o rbgtkiconset.o rbgdkkeymap.o rbgtkcellrendererspin.o rbgtkfilesel.o rbgtktoolbar.o rbgdk.o rbgtkcellrenderercombo.o rbgtkaboutdialog.o rbgtkbin.o init.o rbgtkitemfactory.o rbgtkrecentinfo.o rbgdkx11.o rbgtkeventbox.o rbgtkcontainer.o rbgtkstatusicon.o rbgtkaction.o rbgtkrecentfilterinfo.o rbgtktextiter.o rbgtkhseparator.o rbgtktoolitem.o rbgtkaccelgroup.o rbgdkinput.o rbgtkactiongroup.o rbgtkvruler.o rbgtkselectiondata.o rbgtkcheckbutton.o rbgtkpagesetup.o rbgtktreemodelfilter.o rbgtkmenutoolbutton.o rbgdkconst.o rbgdkrectangle.o rbgtkfontselection.o rbgtktextattributes.o rbgtkcellrendererpixbuf.o rbgtkimage.o rbgdkatom.o rbgdkvisual.o rbgtkstock.o rbgdkkeyval.o rbgtktreesortable.o rbgtkcellrendereraccel.o rbgtktreestore.o rbgtkpaned.o rbgtkliststore.o rbgdkcursor.o rbgtkimcontext.o rbgtkrecentchooser.o rbgtktreepath.o rbgtkeditable.o rbgtktexttagtable.o rbgtkvscale.o rbgtkhscrollbar.o rbgtkscale.o rbgtkaccelmap.o rbgtktextview.o rbgdkgc.o rbgdkscreen.o rbgtkoptionmenu.o rbgtkiconfactory.o rbgtkbbox.o rbgtkaccelerator.o rbgtkframe.o rbgtkwidget.o rbgtkmenuitem.o rbgtkviewport.o rbgtkcheckmenuitem.o rbgtkaccelkey.o rbgtknotebook.o rbgtkcalendar.o rbgtkselection.o rbgtkcolorsel.o rbgtksettings.o rbgtkprinter.o rbgtkfilechooserbutton.o rbgtktreemodelsort.o rbgtksizegroup.o rbgtkvolumebutton.o rbgtkruler.o rbgtklinkbutton.o rbgtkaccelgroupentry.o rbgtktargetlist.o rbgdkpangorenderer.o rbgtkdialog.o rbgtkcurve.o rbgtkcolorbutton.o rbgtkentrycompletion.o rbgtkseparatortoolitem.o rbgdkdisplay.o rbgdkproperty.o rbgtktexttag.o rbgtkstyle.o rbgtkaspectframe.o rbgtkaccessible.o rbgtkclipboard.o rbgtkhruler.o rbgtkimagemenuitem.o rbgtkbindingset.o rbgtkrecentchooserwidget.o rbgtktoggleaction.o rbgtkcellrenderertoggle.o rbgtkcellrenderer.o rbgtkmain.o rbgtkiconsize.o rbgtksocket.o rbgtkuimanager.o rbgdkdragcontext.o rbgtklayout.o rbgdkcolormap.o rbgdkthreads.o rbgdkdraw.o TARGET = gtk2 DLLIB = $(TARGET).so EXTSTATIC = STATIC_LIB = RUBYCOMMONDIR = $(sitedir)$(target_prefix) RUBYLIBDIR = $(sitelibdir)$(target_prefix) RUBYARCHDIR = $(sitearchdir)$(target_prefix) TARGET_SO = $(DLLIB) CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak all: $(DLLIB) static: $(STATIC_LIB) clean: @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) distclean: clean @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES) realclean: distclean install: install-so install-rb install-so: $(RUBYARCHDIR) install-so: $(RUBYARCHDIR)/$(DLLIB) $(RUBYARCHDIR)/$(DLLIB): $(DLLIB) $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR) 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: $(RUBYLIBDIR) install-rb-default: $(RUBYLIBDIR)/gtk2.rb $(RUBYLIBDIR)/gtk2.rb: /home/kou/work/ruby/ruby-gnome2/gtk/src/lib/gtk2.rb $(INSTALL_DATA) /home/kou/work/ruby/ruby-gnome2/gtk/src/lib/gtk2.rb $(@D) pre-install-rb-default: $(RUBYLIBDIR)/gtk2 install-rb-default: $(RUBYLIBDIR)/gtk2/base.rb $(RUBYLIBDIR)/gtk2/base.rb: /home/kou/work/ruby/ruby-gnome2/gtk/src/lib/gtk2/base.rb $(INSTALL_DATA) /home/kou/work/ruby/ruby-gnome2/gtk/src/lib/gtk2/base.rb $(@D) $(RUBYARCHDIR): $(MAKEDIRS) $@ $(RUBYLIBDIR): $(MAKEDIRS) $@ $(RUBYLIBDIR)/gtk2: $(MAKEDIRS) $@ site-install: site-install-so site-install-rb site-install-so: install-so site-install-rb: install-rb .SUFFIXES: .c .m .cc .cxx .cpp .C .o .cc.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .cxx.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .cpp.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .C.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .c.o: $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $< $(DLLIB): $(OBJS) @-$(RM) $@ $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS) ### install: @$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' $(srcdir)/rbgtk.h $(sitearchdir)$(target_prefix)