Top Level Namespace
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Classes:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
MakeMakefile
|
Constant Summary
-
ASSEMBLE_C =
Command which will translate C files to assembler sources in the generated Makefile
config_string('ASSEMBLE_C') || COMPILE_C.sub(/(?<=\s)-c(?=\s)/, '-S')
-
ASSEMBLE_CXX =
Command which will translate C++ files to assembler sources in the generated Makefile
config_string('ASSEMBLE_CXX') || COMPILE_CXX.sub(/(?<=\s)-c(?=\s)/, '-S')
-
CLEANINGS =
Makefile rules that will clean the extension build directory
" clean-static:: clean-rb-default:: clean-rb:: clean-so:: clean: clean-so clean-static clean-rb-default clean-rb \t\t-$(Q)$(RM) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep}) .*.time distclean-rb-default:: distclean-rb:: distclean-so:: distclean-static:: distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb \t\t-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) #{CONFTEST}.* mkmf.log \t\t-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES#{sep}) \t\t-$(Q)$(RMDIRS) $(DISTCLEANDIRS#{sep})#{$ignore_error} realclean: distclean "
-
COMMON_HEADERS =
Common headers for Ruby C extensions
hdr.join("\n")
-
COMMON_LIBS =
Common libraries for Ruby C extensions
config_string('COMMON_LIBS', &split) || []
-
COMPILE_C =
Command which will compile C files in the generated Makefile
config_string('COMPILE_C') || '$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<'
-
COMPILE_CXX =
Command which will compile C++ files in the generated Makefile
config_string('COMPILE_CXX') || '$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<'
-
COMPILE_RULES =
make compile rules
config_string('COMPILE_RULES', &split) || %w[.%s.%s:]
-
CONFIG =
The makefile configuration using the defaults from when Ruby was built.
RbConfig::MAKEFILE_CONFIG
-
CONFTEST =
Internal use only
# File 'lib/mkmf.rb', line 258"conftest".freeze
-
CONFTEST_C =
Internal use only
# File 'lib/mkmf.rb', line 259"#{CONFTEST}.c"
-
COUTFLAG =
Internal use only
# File 'lib/mkmf.rb', line 262 -
CPPOUTFILE =
Internal use only
# File 'lib/mkmf.rb', line 264config_string('CPPOUTFILE') {|str| str.sub(/\bconftest\b/, CONFTEST)}
-
CSRCFLAG =
Internal use only
# File 'lib/mkmf.rb', line 263 -
CXX_EXT =
Extensions for files complied with a C++ compiler
%w[cc mm cxx cpp]
-
C_EXT =
Extensions for files compiled with a C compiler
%w[c m]
-
EXPORT_PREFIX =
# File 'lib/mkmf.rb', line 2645config_string('EXPORT_PREFIX') {|s| s.strip}
-
FailedMessage =
Internal use only
# File 'lib/mkmf.rb', line 2572<<MESSAGE Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: MESSAGE
-
HDR_EXT =
Extensions for header files
%w[h hpp]
-
INSTALL_DIRS =
Internal use only
# File 'lib/mkmf.rb', line 167[ [dir_re('commondir'), "$(RUBYCOMMONDIR)"], [dir_re('sitedir'), "$(RUBYCOMMONDIR)"], [dir_re('vendordir'), "$(RUBYCOMMONDIR)"], [dir_re('rubylibdir'), "$(RUBYLIBDIR)"], [dir_re('archdir'), "$(RUBYARCHDIR)"], [dir_re('sitelibdir'), "$(RUBYLIBDIR)"], [dir_re('vendorlibdir'), "$(RUBYLIBDIR)"], [dir_re('sitearchdir'), "$(RUBYARCHDIR)"], [dir_re('vendorarchdir'), "$(RUBYARCHDIR)"], [dir_re('rubyhdrdir'), "$(RUBYHDRDIR)"], [dir_re('sitehdrdir'), "$(SITEHDRDIR)"], [dir_re('vendorhdrdir'), "$(VENDORHDRDIR)"], [dir_re('bindir'), "$(BINDIR)"], ]
-
LIBARG =
Argument which will add a library to the linker
config_string('LIBARG') || '-l%s'
-
LIBPATHFLAG =
Argument which will add a library path to the linker
config_string('LIBPATHFLAG') || ' -L%s'
-
LINK_SO =
Command which will link a shared library
(config_string('LINK_SO') || "").sub(/^$/) do if CONFIG["DLEXT"] == $OBJEXT "ld $(DLDFLAGS) -r -o $@ $(OBJS)\n" else "$(LDSHARED) #{OUTFLAG}$@ $(OBJS) " \ "$(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)" end end
-
MAIN_DOES_NOTHING =
A C main function which does no work
config_string('MAIN_DOES_NOTHING') || "int main(int argc, char **argv)\n{\n return 0;\n}"
-
ORIG_LIBPATH =
# File 'lib/mkmf.rb', line 70ENV['LIB']
-
OUTFLAG =
Internal use only
# File 'lib/mkmf.rb', line 261 -
RPATHFLAG =
# File 'lib/mkmf.rb', line 2719config_string('RPATHFLAG') || ''
-
RULE_SUBST =
# File 'lib/mkmf.rb', line 2674config_string('RULE_SUBST')
-
SRC_EXT =
Extensions for source files
C_EXT + CXX_EXT
-
STRING_OR_FAILED_FORMAT =
Internal use only
# File 'lib/mkmf.rb', line 1310"%s"
-
TRY_LINK =
Command which will compile a program in order to test linking a library
config_string('TRY_LINK') || "$(CC) #{OUTFLAG}#{CONFTEST}#{$EXEEXT} $(INCFLAGS) $(CPPFLAGS) " \ "$(CFLAGS) $(src) $(LIBPATH) $(LDFLAGS) $(ARCH_FLAG) $(LOCAL_LIBS) $(LIBS)"
-
UNIVERSAL_INTS =
# File 'lib/mkmf.rb', line 2730config_string('UNIVERSAL_INTS') {|s| Shellwords.shellwords(s)} || %w[int short long long\ long]