SHELL = /bin/sh #### Start of system configuration section. #### srcdir = . topdir = /c/Development/Ruby/lib/ruby/1.8/i386-mingw32 hdrdir = $(topdir) VPATH = $(srcdir):$(topdir):$(hdrdir) DESTDIR = c: exec_prefix = $(prefix) prefix = $(DESTDIR)/Development/Ruby sharedstatedir = $(prefix)/com mandir = $(datarootdir)/man psdir = $(docdir) oldincludedir = $(DESTDIR)/usr/include localedir = $(datarootdir)/locale bindir = $(exec_prefix)/bin libexecdir = $(exec_prefix)/libexec sitedir = $(libdir)/ruby/site_ruby htmldir = $(docdir) vendorarchdir = $(vendorlibdir)/$(sitearch) includedir = $(prefix)/include infodir = $(datarootdir)/info vendorlibdir = $(vendordir)/$(ruby_version) sysconfdir = $(prefix)/etc libdir = $(exec_prefix)/lib sbindir = $(exec_prefix)/sbin rubylibdir = $(libdir)/ruby/$(ruby_version) docdir = $(datarootdir)/doc/$(PACKAGE) dvidir = $(docdir) vendordir = $(libdir)/ruby/vendor_ruby datarootdir = $(prefix)/share pdfdir = $(docdir) archdir = $(rubylibdir)/$(arch) sitearchdir = $(sitelibdir)/$(sitearch) datadir = $(datarootdir) localstatedir = $(prefix)/var sitelibdir = $(sitedir)/$(ruby_version) CC = gcc LIBRUBY = lib$(LIBRUBY_SO).a LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME) LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static RUBY_EXTCONF_H = extconf.h CFLAGS = -g -O2 $(cflags) -I. -Ic:/Development/Ruby/lib/ruby/1.8/i386-mingw32 -I. -I/usr/local/include INCFLAGS = -I. -I. -Ic:/Development/Ruby/lib/ruby/1.8/i386-mingw32 -I. -I/usr/local/include DEFS = CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -IC:/Development/msys/local/include/libxml2 CXXFLAGS = $(CFLAGS) ldflags = -L. -Wl,--out-implib=libxml-ruby.so.a dldflags = -Wl,--enable-auto-image-base,--enable-auto-import,--export-all archflag = DLDFLAGS = $(ldflags) $(dldflags) $(archflag) LDSHARED = gcc -shared -s AR = ar EXEEXT = .exe RUBY_INSTALL_NAME = ruby RUBY_SO_NAME = msvcrt-ruby18 arch = i386-mingw32 sitearch = i386-msvcrt ruby_version = 1.8 ruby = c:/Development/Ruby/bin/ruby RUBY = $(ruby) RM = rm -f MAKEDIRS = mkdir -p INSTALL = /bin/install -c INSTALL_PROG = $(INSTALL) -m 0755 INSTALL_DATA = $(INSTALL) -m 644 COPY = cp #### End of system configuration section. #### preload = libpath = . $(libdir) c:/Development/Ruby/lib LIBPATH = -L. -L$(libdir) -Lc:/Development/Ruby/lib DEFFILE = CLEANFILES = mkmf.log DISTCLEANFILES = extout = extout_prefix = target_prefix = LOCAL_LIBS = LIBS = $(LIBRUBYARG_SHARED) -lxml2 -liconv -lz -lshell32 -lwsock32 SRCS = libxml.c ruby_xml.c ruby_xml_attr.c ruby_xml_attributes.c ruby_xml_attr_decl.c ruby_xml_cbg.c ruby_xml_document.c ruby_xml_dtd.c ruby_xml_encoding.c ruby_xml_error.c ruby_xml_html_parser.c ruby_xml_html_parser_context.c ruby_xml_html_parser_options.c ruby_xml_input_cbg.c ruby_xml_io.c ruby_xml_namespace.c ruby_xml_namespaces.c ruby_xml_node.c ruby_xml_parser.c ruby_xml_parser_context.c ruby_xml_parser_options.c ruby_xml_reader.c ruby_xml_relaxng.c ruby_xml_sax2_handler.c ruby_xml_sax_parser.c ruby_xml_schema.c ruby_xml_xinclude.c ruby_xml_xpath.c ruby_xml_xpath_context.c ruby_xml_xpath_expression.c ruby_xml_xpath_object.c ruby_xml_xpointer.c OBJS = libxml.o ruby_xml.o ruby_xml_attr.o ruby_xml_attributes.o ruby_xml_attr_decl.o ruby_xml_cbg.o ruby_xml_document.o ruby_xml_dtd.o ruby_xml_encoding.o ruby_xml_error.o ruby_xml_html_parser.o ruby_xml_html_parser_context.o ruby_xml_html_parser_options.o ruby_xml_input_cbg.o ruby_xml_io.o ruby_xml_namespace.o ruby_xml_namespaces.o ruby_xml_node.o ruby_xml_parser.o ruby_xml_parser_context.o ruby_xml_parser_options.o ruby_xml_reader.o ruby_xml_relaxng.o ruby_xml_sax2_handler.o ruby_xml_sax_parser.o ruby_xml_schema.o ruby_xml_xinclude.o ruby_xml_xpath.o ruby_xml_xpath_context.o ruby_xml_xpath_expression.o ruby_xml_xpath_object.o ruby_xml_xpointer.o TARGET = libxml_ruby DLLIB = $(TARGET).so EXTSTATIC = STATIC_LIB = BINDIR = $(bindir) 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 $(RUBYARCHDIR): $(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 .o .cc.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .cxx.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .cpp.o: $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< .c.o: $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $< $(DLLIB): $(OBJS) Makefile @-$(RM) $@ $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS) $(OBJS): ruby.h defines.h $(RUBY_EXTCONF_H)