Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 181 lines (146 sloc) 4.278 kb
99d0354 Initial revision
matz authored
1 SHELL = /bin/sh
4056fb6 @nobu * Makefile.in, common.mk (NULLCMD): moved for platforms that empty
nobu authored
2 NULLCMD = :
99d0354 Initial revision
matz authored
3
4 #### Start of system configuration section. ####
5
6 srcdir = @srcdir@
8884ab5 matz - nakada win32 patch
matz authored
7 VPATH = $(srcdir):$(srcdir)/missing
99d0354 Initial revision
matz authored
8
9 CC = @CC@
10 YACC = @YACC@
11 PURIFY =
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
12 AUTOCONF = autoconf
99d0354 Initial revision
matz authored
13 @SET_MAKE@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
14 MKFILES = @MAKEFILES@
99d0354 Initial revision
matz authored
15
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
16 prefix = @prefix@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
17 exec_prefix = @exec_prefix@
18 bindir = @bindir@
19 sbindir = @sbindir@
20 libdir = @libdir@
21 libexecdir = @libexecdir@
976ac4d @nobu * Makefile.in, mkconfig.rb: catch-up for latest autoconf.
nobu authored
22 datarootdir = @datarootdir@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
23 datadir = @datadir@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
24 arch = @arch@
25 sitearch = @sitearch@
26 sitedir = @sitedir@
27
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
28 TESTUI = console
29 TESTS =
30 RDOCTARGET = @RDOCTARGET@
31
32 EXTOUT = @EXTOUT@
33 RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system
34
64cf936 @nobu * Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666]
nobu authored
35 empty =
36 OUTFLAG = @OUTFLAG@$(empty)
c15d5ad @eban * Makefile.in: add ARCH_FLAG to CFLAGS.
eban authored
37 CFLAGS = @CFLAGS@ @XCFLAGS@ @ARCH_FLAG@
38 CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
99d0354 Initial revision
matz authored
39 LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
40 EXTLDFLAGS =
41 XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
42 EXTLIBS =
99d0354 Initial revision
matz authored
43 LIBS = @LIBS@ $(EXTLIBS)
44 MISSING = @LIBOBJS@ @ALLOCA@
07bb9f2 1.4.0
matz authored
45 LDSHARED = @LIBRUBY_LDSHARED@
106b79e @eban * Makefile.in: add ARCH_FLAG to DLDFLAGS.
eban authored
46 DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
47 SOLIBS = @SOLIBS@
c7feda2 @knu * Makefile.in: Introduce MAINLIBS.
knu authored
48 MAINLIBS = @MAINLIBS@
7e1363a @nobu * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
nobu authored
49 MINIOBJS = @MINIOBJS@
99d0354 Initial revision
matz authored
50
07bb9f2 1.4.0
matz authored
51 RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
ab206c8 @eban eban
eban authored
52 RUBY_SO_NAME=@RUBY_SO_NAME@
07bb9f2 1.4.0
matz authored
53 EXEEXT = @EXEEXT@
54 PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
55 RUBY = $(RUBY_INSTALL_NAME)
0865b21 @nobu * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
nobu authored
56 MINIRUBY = @MINIRUBY@ $(MINIRUBYOPT)
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
57 RUNRUBY = @RUNRUBY@
99d0354 Initial revision
matz authored
58
59 #### End of system configuration section. ####
60
07bb9f2 1.4.0
matz authored
61 MAJOR= @MAJOR@
62 MINOR= @MINOR@
63 TEENY= @TEENY@
99d0354 Initial revision
matz authored
64
07bb9f2 1.4.0
matz authored
65 LIBRUBY_A = @LIBRUBY_A@
66 LIBRUBY_SO = @LIBRUBY_SO@
67 LIBRUBY_ALIASES= @LIBRUBY_ALIASES@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
68 LIBRUBY = @LIBRUBY@
69 LIBRUBYARG = @LIBRUBYARG@
2432c5e @nobu * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
nobu authored
70 LIBRUBYARG_STATIC = @LIBRUBYARG_STATIC@
71 LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@
99d0354 Initial revision
matz authored
72
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
73 PREP = @PREP@
74 ARCHFILE = @ARCHFILE@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
75 SETUP =
d4094d0 @nobu * Makefile.in: static link libraries to LIBRUBY_SO with static linked
nobu authored
76 EXTSTATIC = @EXTSTATIC@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
77
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
78 RM = rm -f
79 NM = @NM@
80 AR = @AR@
81 ARFLAGS = rcu
82 RANLIB = @RANLIB@
9900753 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
matz authored
83 AS = @AS@
84 ASFLAGS = @ASFLAGS@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
85
86 OBJEXT = @OBJEXT@
6c80c88 @knu * configure.in (MANTYPE): Detect if the system's nroff(1) groks
knu authored
87 MANTYPE = @MANTYPE@
88
e0df26d @nobu * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
nobu authored
89 INSTALLED_LIST= .installed.list
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
90 #### End of variables
91
92 all:
f010320 @knu * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,
knu authored
93
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
94 .DEFAULT: all
99d0354 Initial revision
matz authored
95
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
96 # Prevent GNU make v3 from overflowing arg limit on SysV.
97 .NOEXPORT:
99d0354 Initial revision
matz authored
98
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
99 miniruby$(EXEEXT):
100 @$(RM) $@
beffe75 @nobu * Makefile.in (miniruby): add XLDFLAGS.
nobu authored
101 $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(MINIOBJS) $(LIBRUBY_A) $(LIBS) $(OUTFLAG)$@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
102
103 $(PROGRAM):
104 @$(RM) $@
105 $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@
99d0354 Initial revision
matz authored
106
a15c3f7 * gc.c (Init_stack): stack region is far smaller than usual if
matz authored
107 # We must `rm' the library each time this rule is invoked because "updating" a
108 # MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not
109 # supported.
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
110 $(LIBRUBY_A):
111 @$(RM) $@
112 $(AR) $(ARFLAGS) $@ $(OBJS) $(DMYEXT)
113 @-$(RANLIB) $@ 2> /dev/null || true
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
114
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
115 $(LIBRUBY_SO):
442301c @nobu * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keep
nobu authored
116 @-$(PRE_LIBRUBY_UPDATE)
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
117 $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(OUTFLAG)$@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
118 @-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
07bb9f2 1.4.0
matz authored
119 File.symlink "$(LIBRUBY_SO)", link}' \
120 $(LIBRUBY_ALIASES) || true
99d0354 Initial revision
matz authored
121
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
122 fake.rb: Makefile
cbe7e21 @eban see ChangeLog
eban authored
123 @echo ' \
124 class Object; \
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
125 CROSS_COMPILING = RUBY_PLATFORM; \
cbe7e21 @eban see ChangeLog
eban authored
126 remove_const :RUBY_PLATFORM; \
7a5c195 @eban * ext/curses/extconf.rb: add dir_config.
eban authored
127 remove_const :RUBY_VERSION; \
cbe7e21 @eban see ChangeLog
eban authored
128 RUBY_PLATFORM = "@arch@"; \
7a5c195 @eban * ext/curses/extconf.rb: add dir_config.
eban authored
129 RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"; \
86077e1 @eban * lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.
eban authored
130 end; \
131 if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \
132 class File; \
133 remove_const :ALT_SEPARATOR; \
134 ALT_SEPARATOR = "\\"; \
135 end; \
136 end; \
cbe7e21 @eban see ChangeLog
eban authored
137 ' > $@
99d0354 Initial revision
matz authored
138
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
139 Makefile: $(srcdir)/Makefile.in
140
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
141 $(MKFILES): config.status $(srcdir)/common.mk
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
142 MAKE=$(MAKE) $(SHELL) ./config.status
0e11cb0 @nobu * marshal.c (w_symbol, w_object): get rid of warnings.
nobu authored
143 @{ \
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
144 echo "all:; -@rm -f conftest.mk"; \
145 echo "conftest.mk: .force; @echo AUTO_REMAKE"; \
146 echo ".force:"; \
0e11cb0 @nobu * marshal.c (w_symbol, w_object): get rid of warnings.
nobu authored
147 } > conftest.mk || exit 1; \
148 $(MAKE) -f conftest.mk | grep '^AUTO_REMAKE$$' >/dev/null 2>&1 || \
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
149 { echo "Makefile updated, restart."; exit 1; }
150
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
151 config.status: $(srcdir)/configure
2432c5e @nobu * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
nobu authored
152 MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
153
6621fdc @eban eban
eban authored
154 $(srcdir)/configure: $(srcdir)/configure.in
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
155 cd $(srcdir) && $(AUTOCONF)
156
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
157 lex.c: keywords
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
158 @-$(RM) $@
af17723 @eban * Makefile.in (lex.c): use $? instead of $<.
eban authored
159 gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \
1c63280 @nobu * Makefile.in (lex.c): try gperf first, and copy from the source
nobu authored
160 cp "$(srcdir)/$@" .
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
161
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
162 .y.c:
99d0354 Initial revision
matz authored
163 $(YACC) $<
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored
164 sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@
165 rm -f y.tab.c
166
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
167 .c.@OBJEXT@:
168 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
07bb9f2 1.4.0
matz authored
169
9900753 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
matz authored
170 .s.@OBJEXT@:
171 $(AS) $(ASFLAGS) -o $@ $<
172
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
173 clean-local::
174 @$(RM) ext/extinit.c ext/extinit.$(OBJEXT)
07bb9f2 1.4.0
matz authored
175
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
176 distclean-local::
177 @$(RM) ext/config.cache $(RBCONFIG)
39ceadd @eban fix bug; support mingw32.
eban authored
178
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored
179 ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
180 $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -o$@ -c ext/extinit.c
Something went wrong with that request. Please try again.