2003-08-16 10:58:34 -04:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
2000-12-06 04:10:17 -05:00
|
|
|
SHELL = $(COMSPEC)
|
2004-03-23 00:32:01 -05:00
|
|
|
MKFILES = Makefile
|
2004-03-21 18:21:31 -05:00
|
|
|
NULL = nul
|
2000-08-03 05:55:54 -04:00
|
|
|
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
|
2005-10-14 10:10:08 -04:00
|
|
|
!if defined(pathlist)
|
|
|
|
PATH = $(pathlist:;=/bin;)$(PATH)
|
|
|
|
INCLUDE = $(pathlist:;=/include;)
|
|
|
|
LIB = $(pathlist:;=/lib;)
|
|
|
|
!endif
|
|
|
|
|
2000-08-03 05:55:54 -04:00
|
|
|
## variables may be overridden by $(compile_dir)/Makefile
|
|
|
|
!ifndef srcdir
|
|
|
|
srcdir = ..
|
|
|
|
!endif
|
|
|
|
!ifndef RUBY_INSTALL_NAME
|
2006-09-07 20:00:12 -04:00
|
|
|
RUBY_INSTALL_NAME = ruby$(RUBY_SUFFIX)
|
2000-08-03 05:55:54 -04:00
|
|
|
!endif
|
|
|
|
!if !defined(RUBYW_INSTALL_NAME) || "$(RUBYW_INSTALL_NAME)" == "$(RUBY_INSTALL_NAME)"
|
|
|
|
RUBYW_INSTALL_NAME = $(RUBY_INSTALL_NAME:ruby=rubyw)
|
|
|
|
!endif
|
|
|
|
!if "$(RUBYW_INSTALL_NAME)" == "$(RUBY_INSTALL_NAME)"
|
|
|
|
RUBYW_INSTALL_NAME = $(RUBY_INSTALL_NAME)w
|
|
|
|
!endif
|
2001-06-09 03:41:44 -04:00
|
|
|
!if !defined(icondirs) && defined(ICONDIRS)
|
|
|
|
icondirs=$(ICONDIRS)
|
|
|
|
!endif
|
|
|
|
!if defined(icondirs)
|
|
|
|
icondirs=$(icondirs:\=/)
|
2002-03-20 06:21:19 -05:00
|
|
|
iconinc=-I$(icondirs: = -I)
|
2001-06-09 03:41:44 -04:00
|
|
|
!endif
|
2000-08-03 05:55:54 -04:00
|
|
|
###############
|
|
|
|
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
.SUFFIXES: .y .def .lib
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(CC)
|
2000-08-03 05:55:54 -04:00
|
|
|
CC = cl
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2006-09-26 02:32:09 -04:00
|
|
|
!if !defined(CPP) || "$(CPP)" == "cl"
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
CPP = $(CC) -E
|
|
|
|
!endif
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(YACC)
|
2004-09-17 07:38:49 -04:00
|
|
|
YACC = bison
|
|
|
|
YFLAGS = -o y.tab.c
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2002-09-10 04:24:11 -04:00
|
|
|
AR = lib -nologo
|
2000-08-03 05:55:54 -04:00
|
|
|
PURIFY =
|
|
|
|
AUTOCONF = autoconf
|
2006-01-16 21:08:33 -05:00
|
|
|
RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
|
2007-01-23 01:41:22 -05:00
|
|
|
!if !defined(BASERUBY)
|
|
|
|
BASERUBY = ruby
|
|
|
|
!endif
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2002-09-10 04:24:11 -04:00
|
|
|
!if !defined(PROCESSOR_ARCHITECTURE)
|
|
|
|
PROCESSOR_ARCHITECTURE = x86
|
|
|
|
!endif
|
|
|
|
MACHINE = $(PROCESSOR_ARCHITECTURE)
|
|
|
|
!if "$(PROCESSOR_ARCHITECTURE)" == "x86"
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(PROCESSOR_LEVEL)
|
|
|
|
PROCESSOR_LEVEL = 5
|
|
|
|
!endif
|
2002-06-11 00:16:58 -04:00
|
|
|
!if 6 < $(PROCESSOR_LEVEL)
|
|
|
|
PROCESSOR_LEVEL = 6
|
|
|
|
!endif
|
2005-12-30 04:23:15 -05:00
|
|
|
!if $(MSC_VER) < 1400
|
2002-03-20 06:21:19 -05:00
|
|
|
PROCESSOR_FLAG = -G$(PROCESSOR_LEVEL)
|
2005-12-30 04:23:15 -05:00
|
|
|
!endif
|
2002-03-20 06:21:19 -05:00
|
|
|
CPU = i$(PROCESSOR_LEVEL)86
|
|
|
|
ARCH = i386
|
|
|
|
!else
|
|
|
|
CPU = $(PROCESSOR_ARCHITECTURE)
|
|
|
|
ARCH = $(PROCESSOR_ARCHITECTURE)
|
|
|
|
!endif
|
2007-02-24 21:48:19 -05:00
|
|
|
!if !defined(DEBUGFLAGS)
|
2002-03-20 06:21:19 -05:00
|
|
|
DEBUGFLAGS = -Zi
|
|
|
|
!endif
|
|
|
|
!if !defined(OPTFLAGS)
|
2006-01-09 00:27:43 -05:00
|
|
|
!if $(MSC_VER) < 1400
|
|
|
|
OPTFLAGS = -O2b2xg-
|
|
|
|
!else
|
2005-12-30 04:23:15 -05:00
|
|
|
OPTFLAGS = -O2b2xty-
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2006-01-09 00:27:43 -05:00
|
|
|
!endif
|
2005-04-13 06:25:41 -04:00
|
|
|
!if !defined(OS)
|
2002-03-20 06:21:19 -05:00
|
|
|
OS = mswin32
|
2005-04-13 06:25:41 -04:00
|
|
|
!endif
|
|
|
|
!if !defined(RT)
|
|
|
|
!error RT not defined. Retry from configure pass.
|
2003-12-18 07:48:43 -05:00
|
|
|
!endif
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
arch = $(ARCH)-$(OS)
|
|
|
|
|
2002-09-10 04:24:11 -04:00
|
|
|
!ifndef RUBY_SO_NAME
|
2002-12-24 20:49:27 -05:00
|
|
|
RUBY_SO_NAME = $(RT)-$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR)
|
2002-09-10 04:24:11 -04:00
|
|
|
!endif
|
|
|
|
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(prefix)
|
2000-08-03 05:55:54 -04:00
|
|
|
prefix = /usr
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2003-08-16 10:58:34 -04:00
|
|
|
!if !defined(exec_prefix)
|
|
|
|
exec_prefix = $(prefix)
|
|
|
|
!endif
|
|
|
|
!if !defined(libdir)
|
|
|
|
libdir = $(exec_prefix)/lib
|
|
|
|
!endif
|
2004-02-09 03:48:55 -05:00
|
|
|
!if !defined(datadir)
|
|
|
|
datadir = $(prefix)/share
|
|
|
|
!endif
|
|
|
|
!ifndef EXTOUT
|
|
|
|
EXTOUT = .ext
|
|
|
|
!endif
|
|
|
|
!ifndef RIDATADIR
|
|
|
|
RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system
|
|
|
|
!endif
|
|
|
|
!ifndef TESTUI
|
|
|
|
TESTUI = console
|
|
|
|
!endif
|
|
|
|
!ifndef TESTS
|
|
|
|
TESTS =
|
|
|
|
!endif
|
|
|
|
!ifndef RDOCTARGET
|
|
|
|
RDOCTARGET = install-doc
|
|
|
|
!endif
|
2004-03-21 18:21:31 -05:00
|
|
|
|
|
|
|
OUTFLAG = -Fe
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(CFLAGS)
|
* configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
eval.c, file.c, hash.c, io.c, main.c, missing.c,
process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
ext/socket/getnameinfo.c, ext/socket/socket.c,
ext/tcltklib/stubs.c
: replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
* wince/exe.mak : delete \r at the end of lines.
* wince/mswince-ruby17.def : delete rb_obj_become
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-14 22:18:08 -05:00
|
|
|
CFLAGS = -MD $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG)
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2005-04-20 17:45:43 -04:00
|
|
|
!if !defined(CXXFLAGS)
|
|
|
|
CXXFLAGS = $(CFLAGS)
|
|
|
|
!endif
|
2003-12-18 07:48:43 -05:00
|
|
|
!if !defined(LDFLAGS)
|
|
|
|
LDFLAGS = -link -incremental:no -debug -opt:ref -opt:icf
|
|
|
|
!endif
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(XLDFLAGS)
|
2003-12-18 07:48:43 -05:00
|
|
|
XLDFLAGS = -stack:$(STACK)
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
|
|
|
!if !defined(RFLAGS)
|
|
|
|
RFLAGS = -r
|
|
|
|
!endif
|
|
|
|
!if !defined(EXTLIBS)
|
|
|
|
EXTLIBS =
|
|
|
|
!endif
|
2007-03-22 00:32:55 -04:00
|
|
|
LIBS = oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib $(EXTLIBS)
|
2007-03-19 04:01:40 -04:00
|
|
|
MISSING = acosh.obj crypt.obj erf.obj strlcpy.obj strlcat.obj win32.obj
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
|
|
|
|
ARFLAGS = -machine:$(MACHINE) -out:
|
|
|
|
CC = $(CC) -nologo
|
|
|
|
LD = $(CC)
|
|
|
|
LDSHARED = $(LD) -LD
|
2007-06-10 01:47:12 -04:00
|
|
|
XCFLAGS = -DRUBY_EXPORT -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(srcdir)/missing
|
2005-12-30 04:23:15 -05:00
|
|
|
!if $(MSC_VER) >= 1400
|
|
|
|
# Prevents VC++ 2005 (cl ver 14) warnings
|
|
|
|
CPPFLAGS = $(CPPFLAGS) -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
|
2006-05-24 12:52:00 -04:00
|
|
|
MANIFESTTOOL = mt -nologo
|
|
|
|
LDSHARED_1 = $(MANIFESTTOOL) -manifest $(@).manifest -outputresource:$(@);2
|
|
|
|
LDSHARED_2 = @$(RM) $(@:/=\).manifest
|
2005-12-30 04:23:15 -05:00
|
|
|
!endif
|
|
|
|
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
DLDFLAGS = $(LDFLAGS) -dll
|
2000-08-03 05:55:54 -04:00
|
|
|
SOLIBS =
|
|
|
|
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
LIBRUBY_LDSHARED = $(LDSHARED)
|
|
|
|
LIBRUBY_DLDFLAGS = $(EXTLDFLAGS) -def:$(RUBYDEF)
|
|
|
|
|
2000-08-03 05:55:54 -04:00
|
|
|
EXEEXT = .exe
|
|
|
|
PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
|
|
|
|
WPROGRAM=$(RUBYW_INSTALL_NAME)$(EXEEXT)
|
|
|
|
RUBYDEF = $(RUBY_SO_NAME).def
|
2006-09-08 15:48:22 -04:00
|
|
|
MINIRUBY = .\miniruby$(EXEEXT) $(MINIRUBYOPT)
|
2004-02-09 03:48:55 -05:00
|
|
|
RUNRUBY = .\ruby$(EXEEXT) "$(srcdir)/runruby.rb" --extout="$(EXTOUT)" --
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2002-03-20 06:21:19 -05:00
|
|
|
!if !defined(STACK)
|
2007-02-14 08:13:52 -05:00
|
|
|
STACK = 0x200000
|
2002-03-20 06:21:19 -05:00
|
|
|
!endif
|
2000-08-03 05:55:54 -04:00
|
|
|
ORGLIBPATH = $(LIB)
|
|
|
|
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
|
2002-11-14 08:51:19 -05:00
|
|
|
LIBRUBY_A = $(RUBY_SO_NAME)-static.lib
|
2000-08-03 05:55:54 -04:00
|
|
|
LIBRUBY_SO = $(RUBY_SO_NAME).dll
|
|
|
|
LIBRUBY = $(RUBY_SO_NAME).lib
|
|
|
|
LIBRUBYARG = $(LIBRUBY)
|
2007-02-27 20:33:57 -05:00
|
|
|
THREAD_MODEL = win32
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-03-04 08:50:48 -05:00
|
|
|
PREP = miniruby$(EXEEXT)
|
|
|
|
|
2004-01-18 23:10:53 -05:00
|
|
|
!if !defined(EXTSTATIC)
|
|
|
|
EXTSTATIC =
|
|
|
|
!endif
|
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
OBJEXT = obj
|
2007-02-02 13:23:07 -05:00
|
|
|
ASMEXT = asm
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2006-09-19 20:54:45 -04:00
|
|
|
INSTALLED_LIST= .installed.list
|
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
WINMAINOBJ = winmain.$(OBJEXT)
|
2005-04-20 10:25:34 -04:00
|
|
|
MINIOBJS = dmydln.$(OBJEXT)
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
arch_hdrdir = $(EXTOUT)/include/$(arch)
|
|
|
|
hdrdir = $(srcdir)/include
|
2007-10-10 17:35:45 -04:00
|
|
|
VPATH = $(arch_hdrdir)/ruby;$(hdrdir)/ruby;$(srcdir);$(srcdir)/enc;$(srcdir)/missing;$(srcdir)/win32
|
2007-06-09 23:06:15 -04:00
|
|
|
|
2004-03-23 00:32:01 -05:00
|
|
|
all: $(srcdir)/win32/Makefile.sub $(srcdir)/common.mk
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2000-08-03 05:55:54 -04:00
|
|
|
ruby: $(PROGRAM)
|
|
|
|
rubyw: $(WPROGRAM)
|
2004-03-25 00:01:15 -05:00
|
|
|
|
|
|
|
!include $(srcdir)/common.mk
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2005-10-14 10:10:08 -04:00
|
|
|
$(MKFILES): $(srcdir)/win32/Makefile.sub $(srcdir)/win32/configure.bat $(srcdir)/win32/setup.mak
|
2006-01-16 21:08:33 -05:00
|
|
|
$(COMSPEC) /C $(srcdir:/=\)\win32\configure.bat $(configure_args)
|
2005-10-14 10:10:08 -04:00
|
|
|
@echo $(MKFILES) should be updated, re-run $(MAKE).
|
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
RUBY_CONFIG_H = $(arch_hdrdir)/ruby/config.h
|
2005-03-03 04:38:40 -05:00
|
|
|
CONFIG_H = ./.config.h.time
|
2002-03-20 06:21:19 -05:00
|
|
|
|
2005-03-03 04:38:40 -05:00
|
|
|
config: config.status
|
|
|
|
|
|
|
|
config.status: $(CONFIG_H)
|
|
|
|
|
|
|
|
$(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
|
|
|
|
@echo Creating config.h
|
2007-06-09 23:06:15 -04:00
|
|
|
!if !exist("$(arch_hdrdir)")
|
|
|
|
@md $(arch_hdrdir:/=\)
|
|
|
|
!endif
|
|
|
|
!if !exist("$(arch_hdrdir)/ruby")
|
|
|
|
@md $(arch_hdrdir:/=\)\ruby
|
|
|
|
!endif
|
|
|
|
@$(COMSPEC) /C $(srcdir:/=\)\win32\ifchange.bat $(RUBY_CONFIG_H:/=\) <<
|
2005-12-30 04:23:15 -05:00
|
|
|
#if _MSC_VER != $(MSC_VER)
|
2007-06-09 23:06:15 -04:00
|
|
|
#error MSC version unmatch: _MSC_VER: $(MSC_VER) is expected.
|
2005-12-30 04:23:15 -05:00
|
|
|
#endif
|
2002-05-14 05:22:22 -04:00
|
|
|
#define STDC_HEADERS 1
|
|
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
#define HAVE_STRING_H 1
|
|
|
|
#define HAVE_MEMORY_H 1
|
2006-02-13 23:39:32 -05:00
|
|
|
!if $(MSC_VER) >= 1400
|
|
|
|
#define HAVE_LONG_LONG 1
|
|
|
|
!endif
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_OFF_T 1
|
|
|
|
#define SIZEOF_INT 4
|
|
|
|
#define SIZEOF_SHORT 2
|
|
|
|
#define SIZEOF_LONG 4
|
2006-02-13 21:48:08 -05:00
|
|
|
!if $(MSC_VER) >= 1400
|
|
|
|
#define SIZEOF_LONG_LONG 8
|
|
|
|
!else
|
2002-05-14 05:22:22 -04:00
|
|
|
#define SIZEOF_LONG_LONG 0
|
2006-02-13 21:48:08 -05:00
|
|
|
!endif
|
2002-05-14 05:22:22 -04:00
|
|
|
#define SIZEOF___INT64 8
|
2006-08-12 02:56:09 -04:00
|
|
|
#define _INTEGRAL_MAX_BITS 64
|
|
|
|
#define SIZEOF_OFF_T 8
|
2007-06-27 07:47:53 -04:00
|
|
|
!if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64"
|
|
|
|
#define SIZEOF_VOIDP 8
|
|
|
|
!else
|
2002-05-14 05:22:22 -04:00
|
|
|
#define SIZEOF_VOIDP 4
|
2007-06-27 07:47:53 -04:00
|
|
|
!endif
|
2002-05-14 05:22:22 -04:00
|
|
|
#define SIZEOF_FLOAT 4
|
|
|
|
#define SIZEOF_DOUBLE 8
|
2006-02-13 21:48:08 -05:00
|
|
|
!if $(MSC_VER) >= 1400
|
|
|
|
#define SIZEOF_TIME_T 8
|
|
|
|
!else
|
2004-04-06 21:43:27 -04:00
|
|
|
#define SIZEOF_TIME_T 4
|
2006-02-13 21:48:08 -05:00
|
|
|
!endif
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_PROTOTYPES 1
|
|
|
|
#define TOKEN_PASTE(x,y) x##y
|
|
|
|
#define HAVE_STDARG_PROTOTYPES 1
|
2005-08-03 11:27:13 -04:00
|
|
|
!if $(MSC_VER) > 1100
|
2002-05-14 05:22:22 -04:00
|
|
|
#define NORETURN(x) __declspec(noreturn) x
|
2005-08-03 11:27:13 -04:00
|
|
|
!endif
|
|
|
|
!if $(MSC_VER) >= 1300
|
2005-04-29 22:59:44 -04:00
|
|
|
#define DEPRECATED(x) __declspec(deprecated) x
|
|
|
|
#define NOINLINE(x) __declspec(noinline) x
|
2005-08-03 11:27:13 -04:00
|
|
|
!endif
|
2006-07-07 01:08:05 -04:00
|
|
|
#define FUNC_STDCALL(x) __stdcall x
|
|
|
|
#define FUNC_CDECL(x) __cdecl x
|
2007-06-28 09:31:08 -04:00
|
|
|
#define FUNC_FASTCALL(x) __fastcall x
|
2005-10-25 13:00:03 -04:00
|
|
|
#define RUBY_EXTERN extern __declspec(dllimport)
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_DECL_SYS_NERR 1
|
|
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
#define HAVE_SYS_UTIME_H 1
|
2004-02-14 09:59:19 -05:00
|
|
|
#define HAVE_FLOAT_H 1
|
2005-05-16 09:22:09 -04:00
|
|
|
#define rb_pid_t int
|
|
|
|
#define rb_gid_t int
|
|
|
|
#define rb_uid_t int
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_STRUCT_STAT_ST_RDEV 1
|
|
|
|
#define HAVE_ST_RDEV 1
|
|
|
|
#define GETGROUPS_T int
|
|
|
|
#define RETSIGTYPE void
|
|
|
|
#define HAVE_ALLOCA 1
|
|
|
|
#define HAVE_DUP2 1
|
|
|
|
#define HAVE_MEMCMP 1
|
|
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
#define HAVE_MKDIR 1
|
|
|
|
#define HAVE_STRCASECMP 1
|
|
|
|
#define HAVE_STRNCASECMP 1
|
|
|
|
#define HAVE_STRERROR 1
|
|
|
|
#define HAVE_STRFTIME 1
|
|
|
|
#define HAVE_STRCHR 1
|
|
|
|
#define HAVE_STRSTR 1
|
|
|
|
#define HAVE_STRTOD 1
|
|
|
|
#define HAVE_STRTOL 1
|
|
|
|
#define HAVE_STRTOUL 1
|
|
|
|
#define HAVE_FLOCK 1
|
2005-08-02 21:21:20 -04:00
|
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
#define HAVE_VSNPRINTF 1
|
2003-04-21 08:26:08 -04:00
|
|
|
#define HAVE_ISNAN 1
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_FINITE 1
|
2004-02-14 09:59:19 -05:00
|
|
|
#define HAVE_HYPOT 1
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_FMOD 1
|
|
|
|
#define HAVE_FREXP 1
|
|
|
|
#define HAVE_MODF 1
|
|
|
|
#define HAVE_WAITPID 1
|
2003-05-13 04:59:36 -04:00
|
|
|
#define HAVE_FSYNC 1
|
2004-02-14 09:59:19 -05:00
|
|
|
#define HAVE_GETCWD 1
|
2006-08-12 02:56:09 -04:00
|
|
|
#define HAVE_TRUNCATE 1
|
|
|
|
#define HAVE_FSEEKO 1
|
|
|
|
#define HAVE_FTELLO 1
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE_TIMES 1
|
2004-09-06 23:52:15 -04:00
|
|
|
#define HAVE_FCNTL 1
|
2004-01-21 11:09:40 -05:00
|
|
|
#define HAVE_LINK 1
|
2002-05-14 05:22:22 -04:00
|
|
|
#define HAVE__SETJMP 1
|
|
|
|
#define HAVE_TELLDIR 1
|
|
|
|
#define HAVE_SEEKDIR 1
|
|
|
|
#define HAVE_MKTIME 1
|
|
|
|
#define HAVE_COSH 1
|
|
|
|
#define HAVE_SINH 1
|
|
|
|
#define HAVE_TANH 1
|
|
|
|
#define HAVE_TZNAME 1
|
|
|
|
#define HAVE_DAYLIGHT 1
|
|
|
|
#define SETPGRP_VOID 1
|
|
|
|
#define RSHIFT(x,y) ((x)>>(int)y)
|
|
|
|
#define FILE_COUNT _cnt
|
|
|
|
#define FILE_READPTR _ptr
|
2004-02-14 09:59:19 -05:00
|
|
|
#define inline __inline
|
|
|
|
#define NEED_IO_SEEK_BETWEEN_RW 1
|
|
|
|
#define STACK_GROW_DIRECTION -1
|
2002-05-14 05:22:22 -04:00
|
|
|
#define DEFAULT_KCODE KCODE_NONE
|
|
|
|
#define DLEXT ".so"
|
2002-12-24 20:49:27 -05:00
|
|
|
#define RUBY_LIB "/lib/ruby/$(MAJOR).$(MINOR)"
|
2002-05-14 05:22:22 -04:00
|
|
|
#define RUBY_SITE_LIB "/lib/ruby/site_ruby"
|
2002-12-24 20:49:27 -05:00
|
|
|
#define RUBY_SITE_LIB2 "/lib/ruby/site_ruby/$(MAJOR).$(MINOR)"
|
2007-06-09 23:06:15 -04:00
|
|
|
#define RUBY_PLATFORM "$(arch)"
|
2002-12-24 20:49:27 -05:00
|
|
|
#define RUBY_ARCHLIB "/lib/ruby/$(MAJOR).$(MINOR)/$(ARCH)-$(OS)"
|
|
|
|
#define RUBY_SITE_ARCHLIB "/lib/ruby/site_ruby/$(MAJOR).$(MINOR)/$(ARCH)-$(RT)"
|
2005-03-03 04:38:40 -05:00
|
|
|
<<
|
|
|
|
@exit > $(@:/=\)
|
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
#!if exist($(RUBY_CONFIG_H))
|
2005-03-03 04:38:40 -05:00
|
|
|
#! if exist(config_h.bak)
|
2007-06-09 23:06:15 -04:00
|
|
|
# @del $(RUBY_CONFIG_H:.h=_h).bak
|
2005-03-03 04:38:40 -05:00
|
|
|
#! endif
|
2007-06-09 23:06:15 -04:00
|
|
|
# @copy $(RUBY_CONFIG_H) $(RUBY_CONFIG_H:.h=_h).bak
|
2005-03-03 04:38:40 -05:00
|
|
|
#!endif
|
2007-06-09 23:06:15 -04:00
|
|
|
#!if exist($(RUBY_CONFIG_H))
|
2005-03-03 04:38:40 -05:00
|
|
|
# @echo NMAKE will abort if config.h is changed, then restart NMAKE.
|
2007-06-09 23:06:15 -04:00
|
|
|
# @fc.exe $(RUBY_CONFIG_H) $(RUBY_CONFIG_H:.h=_h).bak > nul
|
|
|
|
# @echo $(RUBY_CONFIG_H) unchanged.
|
|
|
|
# @del $(RUBY_CONFIG_H)
|
|
|
|
# @ren $(RUBY_CONFIG_H:.h=_h).bak $(RUBY_CONFIG_H)
|
2005-03-03 04:38:40 -05:00
|
|
|
#!endif
|
2002-03-20 06:21:19 -05:00
|
|
|
|
2004-03-23 00:32:01 -05:00
|
|
|
config.status: $(MKFILES) $(srcdir)/win32/Makefile.sub $(srcdir)/common.mk
|
2005-03-03 04:38:40 -05:00
|
|
|
@echo Creating $@
|
|
|
|
@exit <<$@
|
2002-03-20 07:59:21 -05:00
|
|
|
# Generated automatically by Makefile.sub.
|
|
|
|
s,@SHELL@,$$(COMSPEC),;t t
|
2005-04-20 11:08:36 -04:00
|
|
|
s,@BUILD_FILE_SEPARATOR@,\,;t t
|
2004-03-23 00:32:01 -05:00
|
|
|
s,@PATH_SEPARATOR@,;,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@CFLAGS@,$(CFLAGS),;t t
|
|
|
|
s,@CPPFLAGS@,$(CPPFLAGS),;t t
|
|
|
|
s,@CXXFLAGS@,$(CXXFLAGS),;t t
|
|
|
|
s,@FFLAGS@,$(FFLAGS),;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@LDFLAGS@,,;t t
|
|
|
|
s,@LIBS@,$(LIBS),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@exec_prefix@,$${prefix},;t t
|
2003-12-28 12:25:31 -05:00
|
|
|
s,@prefix@,$(prefix),;t t
|
2006-09-07 20:00:12 -04:00
|
|
|
s,@program_transform_name@,s,$$,$(RUBY_SUFFIX),,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@bindir@,$${exec_prefix}/bin,;t t
|
|
|
|
s,@sbindir@,$${exec_prefix}/sbin,;t t
|
|
|
|
s,@libexecdir@,$${exec_prefix}/libexec,;t t
|
|
|
|
s,@datadir@,$${prefix}/share,;t t
|
|
|
|
s,@sysconfdir@,$${prefix}/etc,;t t
|
|
|
|
s,@sharedstatedir@,/etc,;t t
|
|
|
|
s,@localstatedir@,/var,;t t
|
|
|
|
s,@libdir@,$${exec_prefix}/lib,;t t
|
|
|
|
s,@includedir@,$${prefix}/include,;t t
|
|
|
|
s,@oldincludedir@,/usr/include,;t t
|
|
|
|
s,@infodir@,$${prefix}/info,;t t
|
|
|
|
s,@mandir@,$${prefix}/man,;t t
|
|
|
|
s,@build@,$(CPU)-pc-$(OS),;t t
|
|
|
|
s,@build_alias@,$(CPU)-$(OS),;t t
|
|
|
|
s,@build_cpu@,$(CPU),;t t
|
|
|
|
s,@build_vendor@,pc,;t t
|
|
|
|
s,@build_os@,$(OS),;t t
|
|
|
|
s,@host@,$(CPU)-pc-$(OS),;t t
|
|
|
|
s,@host_alias@,$(CPU)-$(OS),;t t
|
|
|
|
s,@host_cpu@,$(CPU),;t t
|
|
|
|
s,@host_vendor@,pc,;t t
|
|
|
|
s,@host_os@,$(OS),;t t
|
|
|
|
s,@target@,$(ARCH)-pc-$(OS),;t t
|
|
|
|
s,@target_alias@,$(ARCH)-$(OS),;t t
|
|
|
|
s,@target_cpu@,$(ARCH),;t t
|
|
|
|
s,@target_vendor@,pc,;t t
|
|
|
|
s,@target_os@,$(OS),;t t
|
2002-03-28 04:59:49 -05:00
|
|
|
s,@CC@,$(CC),;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@CPP@,$(CPP),;t t
|
2005-04-20 17:45:43 -04:00
|
|
|
s,@CXX@,$$(CC),;t t
|
|
|
|
s,@LD@,$$(CC),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@YACC@,$(YACC),;t t
|
2002-10-22 00:19:26 -04:00
|
|
|
s,@RANLIB@,,;t t
|
2002-09-10 04:24:11 -04:00
|
|
|
s,@AR@,$(AR),;t t
|
2002-10-22 00:19:26 -04:00
|
|
|
s,@ARFLAGS@,$(ARFLAGS),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@LN_S@,$(LN_S),;t t
|
|
|
|
s,@SET_MAKE@,$(SET_MAKE),;t t
|
2005-04-20 11:08:36 -04:00
|
|
|
s,@CP@,copy > nul,;t t
|
2007-03-19 04:01:40 -04:00
|
|
|
s,@LIBOBJS@, acosh.obj crypt.obj erf.obj strlcpy.obj strlcat.obj win32.obj,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@ALLOCA@,$(ALLOCA),;t t
|
|
|
|
s,@DEFAULT_KCODE@,$(DEFAULT_KCODE),;t t
|
|
|
|
s,@EXEEXT@,.exe,;t t
|
2004-03-21 18:21:31 -05:00
|
|
|
s,@OBJEXT@,$(OBJEXT),;t t
|
2003-11-30 19:30:37 -05:00
|
|
|
s,@XCFLAGS@,$(XCFLAGS),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@XLDFLAGS@,$(XLDFLAGS),;t t
|
2004-02-16 04:39:48 -05:00
|
|
|
s,@DLDFLAGS@,$(DLDFLAGS) $$(LIBPATH) -def:$$(DEFFILE) -implib:$$(*F:.so=)-$$(arch).lib -pdb:$$(*F:.so=)-$$(arch).pdb,;t t
|
2003-11-30 19:30:37 -05:00
|
|
|
s,@ARCH_FLAG@,$(ARCH_FLAG),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@STATIC@,$(STATIC),;t t
|
2003-03-04 09:12:19 -05:00
|
|
|
s,@CCDLFLAGS@,,;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@LDSHARED@,$(LDSHARED),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@DLEXT@,so,;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@LIBEXT@,lib,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@STRIP@,$(STRIP),;t t
|
|
|
|
s,@EXTSTATIC@,$(EXTSTATIC),;t t
|
|
|
|
s,@setup@,Setup,;t t
|
2002-09-08 05:08:15 -04:00
|
|
|
s,@MINIRUBY@,$(MINIRUBY),;t t
|
2005-03-03 04:38:40 -05:00
|
|
|
s,@PREP@,miniruby$(EXEEXT),;t t
|
|
|
|
s,@RUNRUBY@,$(RUNRUBY),;t t
|
|
|
|
s,@EXTOUT@,$(EXTOUT),;t t
|
|
|
|
s,@ARCHFILE@,,;t t
|
|
|
|
s,@RDOCTARGET@,,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@LIBRUBY_LDSHARED@,$(LIBRUBY_LDSHARED),;t t
|
|
|
|
s,@LIBRUBY_DLDFLAGS@,$(LIBRUBY_DLDFLAGS),;t t
|
|
|
|
s,@RUBY_INSTALL_NAME@,$(RUBY_INSTALL_NAME),;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@rubyw_install_name@,$(RUBYW_INSTALL_NAME),;t t
|
|
|
|
s,@RUBYW_INSTALL_NAME@,$(RUBYW_INSTALL_NAME),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@RUBY_SO_NAME@,$(RUBY_SO_NAME),;t t
|
2002-11-14 08:51:19 -05:00
|
|
|
s,@LIBRUBY_A@,$$(RUBY_SO_NAME)-static.lib,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@LIBRUBY_SO@,$$(RUBY_SO_NAME).dll,;t t
|
|
|
|
s,@LIBRUBY_ALIASES@,$(LIBRUBY_ALIASES),;t t
|
|
|
|
s,@LIBRUBY@,$$(RUBY_SO_NAME).lib,;t t
|
2002-11-14 08:51:19 -05:00
|
|
|
s,@LIBRUBYARG@,$$(LIBRUBYARG_SHARED),;t t
|
|
|
|
s,@LIBRUBYARG_STATIC@,$$(LIBRUBY_A),;t t
|
|
|
|
s,@LIBRUBYARG_SHARED@,$$(LIBRUBY),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@SOLIBS@,$(SOLIBS),;t t
|
|
|
|
s,@DLDLIBS@,$(DLDLIBS),;t t
|
|
|
|
s,@ENABLE_SHARED@,yes,;t t
|
2004-03-21 18:21:31 -05:00
|
|
|
s,@OUTFLAG@,$(OUTFLAG),;t t
|
2002-09-15 08:57:21 -04:00
|
|
|
s,@CPPOUTFILE@,-P,;t t
|
2004-01-10 09:01:50 -05:00
|
|
|
s,@LIBPATHFLAG@, -libpath:"%s",;t t
|
2003-10-30 22:58:21 -05:00
|
|
|
s,@RPATHFLAG@,,;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@LIBARG@,%s.lib,;t t
|
|
|
|
s,@LINK_SO@,$$(LDSHARED) -Fe$$(@) $$(OBJS) $$(LIBS) $$(LOCAL_LIBS) $$(DLDFLAGS),;t t
|
2006-05-24 12:52:00 -04:00
|
|
|
!if $(MSC_VER) >= 1400
|
|
|
|
s,@LINK_SO@,$(MANIFESTTOOL) -manifest $$(@).manifest -outputresource:$$(@);2,;t t
|
|
|
|
s,@LINK_SO@,@$$(RM) $$(@:/=\).manifest,;t t
|
|
|
|
!endif
|
2006-05-25 19:44:08 -04:00
|
|
|
s,@COMPILE_C@,$$(CC) $$(INCFLAGS) $$(CFLAGS) $$(CPPFLAGS) -c -Tc$$(<:\=/),;t t
|
|
|
|
s,@COMPILE_CXX@,$$(CXX) $$(INCFLAGS) $$(CXXFLAGS) $$(CPPFLAGS) -c -Tp$$(<:\=/),;t t
|
2006-12-14 10:07:53 -05:00
|
|
|
s,@COMPILE_RULES@,{$$(hdrdir)}.%s{}.%s: {$$(topdir)}.%s{}.%s: {$$(srcdir)}.%s{}.%s: .%s.%s:,;t t
|
2007-06-09 23:06:15 -04:00
|
|
|
s,@RULE_SUBST@,{.;$$(VPATH)}%s,;t t
|
2002-10-22 00:19:26 -04:00
|
|
|
s,@TRY_LINK@,$$(CC) -Feconftest $$(INCFLAGS) -I$$(hdrdir) $$(CPPFLAGS) $$(CFLAGS) $$(src) $$(LOCAL_LIBS) $$(LIBS) -link $$(LDFLAGS) $$(LIBPATH) $$(XLDFLAGS),;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@COMMON_LIBS@,m,;t t
|
2007-10-11 01:30:21 -04:00
|
|
|
s,@COMMON_MACROS@,WIN32_LEAN_AND_MEAN WIN32,;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@COMMON_HEADERS@,winsock2.h windows.h,;t t
|
2004-03-23 00:32:01 -05:00
|
|
|
s,@DISTCLEANFILES@,vc*.pdb,;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
s,@EXPORT_PREFIX@, ,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@arch@,$(ARCH)-$(OS),;t t
|
2002-08-23 04:18:19 -04:00
|
|
|
s,@sitearch@,$(ARCH)-$(RT),;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@sitedir@,$${prefix}/lib/ruby/site_ruby,;t t
|
2007-06-10 02:43:12 -04:00
|
|
|
s,@rubyhdrdir@,$$(includedir)/ruby-$$(MAJOR).$$(MINOR),;t t
|
|
|
|
s,@sitehdrdir@,$$(rubyhdrdir)/site_ruby,;t t
|
2002-03-20 07:59:21 -05:00
|
|
|
s,@configure_args@,--with-make-prog=nmake --enable-shared $(configure_args),;t t
|
|
|
|
s,@configure_input@,$$configure_input,;t t
|
|
|
|
s,@srcdir@,$(srcdir),;t t
|
|
|
|
s,@top_srcdir@,$(srcdir),;t t
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
<<KEEP
|
2001-06-09 03:41:44 -04:00
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
miniruby$(EXEEXT):
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
@echo. $(LIBS)
|
2005-04-20 10:25:34 -04:00
|
|
|
$(PURIFY) $(CC) $(MAINOBJ) $(MINIOBJS) $(LIBRUBY_A) $(LIBS) -Fe$@ $(LDFLAGS)
|
2006-05-24 12:52:00 -04:00
|
|
|
$(LDSHARED_1)
|
|
|
|
$(LDSHARED_2)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2005-05-23 02:10:32 -04:00
|
|
|
$(PROGRAM): $(LIBRUBY_SO) $(RUBY_INSTALL_NAME).res
|
2004-03-23 00:32:01 -05:00
|
|
|
$(PURIFY) $(CC) $(MAINOBJ) $(RUBY_INSTALL_NAME).res \
|
2004-03-21 18:21:31 -05:00
|
|
|
$(OUTFLAG)$@ $(LIBRUBYARG) $(LDFLAGS) $(XLDFLAGS)
|
2006-05-24 12:52:00 -04:00
|
|
|
$(LDSHARED_1)
|
|
|
|
$(LDSHARED_2)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-03-23 00:32:01 -05:00
|
|
|
$(WPROGRAM): $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_SO) $(RUBYW_INSTALL_NAME).res
|
|
|
|
$(PURIFY) $(CC) $(MAINOBJ) $(WINMAINOBJ) \
|
|
|
|
$(RUBYW_INSTALL_NAME).res $(OUTFLAG)$@ $(LIBRUBYARG) \
|
|
|
|
$(LDFLAGS) $(XLDFLAGS) -subsystem:Windows
|
2006-05-24 12:52:00 -04:00
|
|
|
$(LDSHARED_1)
|
|
|
|
$(LDSHARED_2)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-01-18 23:10:53 -05:00
|
|
|
$(LIBRUBY_A): $(OBJS) $(DMYEXT)
|
|
|
|
$(AR) $(ARFLAGS)$@ $(OBJS) $(DMYEXT)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
|
|
|
$(LIBRUBY): $(RUBYDEF)
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
$(AR) $(ARFLAGS)$@ -def:$(RUBYDEF)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-03-23 00:32:01 -05:00
|
|
|
$(LIBRUBY_SO): $(LIBRUBY_A) $(DLDOBJS) $(RUBYDEF) $(RUBY_SO_NAME).res
|
2004-01-18 23:10:53 -05:00
|
|
|
@echo. $(DLDOBJS)
|
2006-10-01 11:00:45 -04:00
|
|
|
@-$(PRE_LIBRUBY_UPDATE)
|
2004-03-23 00:32:01 -05:00
|
|
|
$(LDSHARED) $(MAINOBJ) $(DLDOBJS) $(LIBRUBY_A) \
|
|
|
|
$(RUBY_SO_NAME).res $(LIBS) -Fe$@ $(LDFLAGS) \
|
|
|
|
$(LIBRUBY_DLDFLAGS)
|
2006-05-24 12:52:00 -04:00
|
|
|
$(LDSHARED_1)
|
|
|
|
$(LDSHARED_2)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-03-04 08:50:48 -05:00
|
|
|
$(RUBYDEF): $(LIBRUBY_A) $(PREP)
|
2007-06-27 07:47:53 -04:00
|
|
|
$(MINIRUBY) $(srcdir)/win32/mkexports.rb \
|
|
|
|
-output=$@ -arch=$(ARCH) $(LIBRUBY_A)
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
|
|
|
|
{$(srcdir)/win32}.def.lib:
|
|
|
|
$(AR) $(ARFLAGS)$@ -def:$<
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2004-03-21 18:21:31 -05:00
|
|
|
clean-local::
|
2004-03-28 02:25:42 -05:00
|
|
|
@$(RM) ext\extinit.c ext\extinit.$(OBJEXT) ext\vc*.pdb miniruby.lib
|
2004-03-21 18:21:31 -05:00
|
|
|
@$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res
|
|
|
|
|
|
|
|
distclean-local::
|
2005-10-17 22:01:24 -04:00
|
|
|
@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
|
2004-03-21 18:21:31 -05:00
|
|
|
@$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF)
|
|
|
|
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
|
|
|
|
|
|
|
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG)
|
* configure.in (XCFLAGS): CFLAGS to comile ruby itself.
* configure.in (LIBEXT): suffix for static libraries.
* configure.in (LIBPATHFLAG): switch template to specify library
path.
* configure.in (LINK_SO): command to link shared objects.
* configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
files.
* configure.in (EXPORT_PREFIX): prefix to exported symbols on
Windows.
* configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
libraries, macros and headers used in common.
* configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
excutable name.
* Makefile.in (CFLAGS): append XCFLAGS.
* Makefile.in (PREP): miscellaneous system dependent files.
* Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
* Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
* Makefile.in (MAKEFILES): depend on *.in and config.status.
* Makefile.in (parse.c): replace "y.tab.c" with actual name for
byacc.
* ext/extmk.rb, lib/mkmf.rb: integrated.
* ext/extmk.rb: propagate MFLAGS.
* ext/extmk.rb (extmake): make dummy Makefile to clean even if no
Makefile is made.
* lib/mkmf.rb (older): accept multiple file names and Time
objects.
* lib/mkmf.rb (xsystem): split and qoute.
* lib/mkmf.rb (cpp_include): make include directives.
* lib/mkmf.rb (try_func): try wheather specified function is
available.
* lib/mkmf.rb (install_files): default to site-install.
* lib/mkmf.rb (checking_for): added.
* lib/mkmf.rb (find_executable0): just find executable file with
no message.
* lib/mkmf.rb (create_header): output header file is variable.
* lib/mkmf.rb (create_makefile): separate sections.
* lib/mkmf.rb (init_mkmf): initialize global variables.
* win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
* bcc32/Makefile.sub (ARCH): fixed to i386.
* win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
link EXTOBJS.
* ext/dl/extconf.rb: use try_cpp to cross compile.
* ext/dl/extconf.rb: not modify files in source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21 10:03:46 -04:00
|
|
|
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
|
2000-08-03 05:55:54 -04:00
|
|
|
-ruby_name=$(RUBY_INSTALL_NAME) \
|
|
|
|
-rubyw_name=$(RUBYW_INSTALL_NAME) \
|
2002-09-10 22:38:51 -04:00
|
|
|
-so_name=$(RUBY_SO_NAME) \
|
2000-08-03 05:55:54 -04:00
|
|
|
. $(icondirs) $(srcdir)/win32
|
|
|
|
|
2007-10-10 17:35:45 -04:00
|
|
|
{$(srcdir)/enc}.c.obj:
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
2000-12-21 22:22:25 -05:00
|
|
|
{$(srcdir)/missing}.c.obj:
|
2004-03-21 18:21:31 -05:00
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
2000-12-21 22:22:25 -05:00
|
|
|
{$(srcdir)/win32}.c.obj:
|
2004-03-21 18:21:31 -05:00
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
2000-12-21 22:22:25 -05:00
|
|
|
{$(srcdir)}.c.obj:
|
2004-03-21 18:21:31 -05:00
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
2000-08-03 05:55:54 -04:00
|
|
|
.c.obj:
|
2004-03-21 18:21:31 -05:00
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2007-02-02 13:23:07 -05:00
|
|
|
{$(srcdir)/missing}.c.asm:
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
|
|
|
{$(srcdir)/win32}.c.asm:
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
|
|
|
{$(srcdir)}.c.asm:
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
|
|
|
.c.asm:
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fa -c -Tc$(<:\=/)
|
|
|
|
|
2000-08-03 05:55:54 -04:00
|
|
|
.rc.res:
|
2001-06-09 03:41:44 -04:00
|
|
|
$(RC) -I. -I$(<D) $(iconinc) -I$(srcdir)/win32 $(RFLAGS) -fo$@ $(<:\=/)
|
2000-08-03 05:55:54 -04:00
|
|
|
|
2007-06-07 23:49:07 -04:00
|
|
|
lex.c: {$(srcdir)}lex.c.blt
|
|
|
|
copy $(?:/=\) $@
|
|
|
|
|
2000-12-21 22:22:25 -05:00
|
|
|
{$(srcdir)}.y.c:
|
|
|
|
$(YACC) $(YFLAGS) $(<:\=/)
|
2003-10-30 11:40:29 -05:00
|
|
|
sed -e "s!^ *extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@
|
2000-12-21 22:22:25 -05:00
|
|
|
@del y.tab.c
|
|
|
|
|
2007-06-09 23:06:15 -04:00
|
|
|
$(OBJS): {$(hdrdir)/ruby}win32.h
|
2004-03-21 18:21:31 -05:00
|
|
|
|
2006-09-19 20:54:45 -04:00
|
|
|
dir.$(OBJEXT) win32.$(OBJEXT): {$(srcdir)}win32/dir.h
|
2004-04-06 21:43:27 -04:00
|
|
|
|
|
|
|
ext/extinit.obj: ext/extinit.c $(SETUP)
|
|
|
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -Fo$@ -c ext/extinit.c
|