Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 279 lines (223 sloc) 9.099 kb
99d0354 Initial revision
matz authored
1 SHELL = /bin/sh
2
3 #### Start of system configuration section. ####
4
5 srcdir = @srcdir@
8884ab5 matz - nakada win32 patch
matz authored
6 VPATH = $(srcdir):$(srcdir)/missing
99d0354 Initial revision
matz authored
7
8 CC = @CC@
9 YACC = @YACC@
10 PURIFY =
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
11 AUTOCONF = autoconf
99d0354 Initial revision
matz authored
12 @SET_MAKE@
13
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
14 prefix = @prefix@
49afb7c 19991012
matz authored
15 CFLAGS = @CFLAGS@
8884ab5 matz - nakada win32 patch
matz authored
16 CPPFLAGS = -I. -I$(srcdir) -I@includedir@
99d0354 Initial revision
matz authored
17 LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
07bb9f2 1.4.0
matz authored
18 XLDFLAGS = @XLDFLAGS@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
19 EXTLIBS =
99d0354 Initial revision
matz authored
20 LIBS = @LIBS@ $(EXTLIBS)
21 MISSING = @LIBOBJS@ @ALLOCA@
07bb9f2 1.4.0
matz authored
22 LDSHARED = @LIBRUBY_LDSHARED@
23 DLDFLAGS = @LIBRUBY_DLDFLAGS@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
24 SOLIBS = @SOLIBS@
c7feda2 @knu * Makefile.in: Introduce MAINLIBS.
knu authored
25 MAINLIBS = @MAINLIBS@
99d0354 Initial revision
matz authored
26
07bb9f2 1.4.0
matz authored
27 RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
ab206c8 @eban eban
eban authored
28 RUBY_SO_NAME=@RUBY_SO_NAME@
07bb9f2 1.4.0
matz authored
29 EXEEXT = @EXEEXT@
30 PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
99d0354 Initial revision
matz authored
31
32 #### End of system configuration section. ####
33
07bb9f2 1.4.0
matz authored
34 MAJOR= @MAJOR@
35 MINOR= @MINOR@
36 TEENY= @TEENY@
99d0354 Initial revision
matz authored
37
07bb9f2 1.4.0
matz authored
38 LIBRUBY_A = @LIBRUBY_A@
39 LIBRUBY_SO = @LIBRUBY_SO@
40 LIBRUBY_ALIASES= @LIBRUBY_ALIASES@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
41 LIBRUBY = @LIBRUBY@
42 LIBRUBYARG = @LIBRUBYARG@
99d0354 Initial revision
matz authored
43
49afb7c 19991012
matz authored
44 EXTOBJS =
99d0354 Initial revision
matz authored
45
07bb9f2 1.4.0
matz authored
46 MAINOBJ = main.@OBJEXT@
47
48 OBJS = array.@OBJEXT@ \
49 bignum.@OBJEXT@ \
50 class.@OBJEXT@ \
51 compar.@OBJEXT@ \
52 dir.@OBJEXT@ \
53 dln.@OBJEXT@ \
54 enum.@OBJEXT@ \
55 error.@OBJEXT@ \
56 eval.@OBJEXT@ \
57 file.@OBJEXT@ \
58 gc.@OBJEXT@ \
59 hash.@OBJEXT@ \
60 inits.@OBJEXT@ \
61 io.@OBJEXT@ \
62 marshal.@OBJEXT@ \
63 math.@OBJEXT@ \
64 numeric.@OBJEXT@ \
65 object.@OBJEXT@ \
66 pack.@OBJEXT@ \
67 parse.@OBJEXT@ \
68 process.@OBJEXT@ \
69 prec.@OBJEXT@ \
70 random.@OBJEXT@ \
71 range.@OBJEXT@ \
72 re.@OBJEXT@ \
73 regex.@OBJEXT@ \
74 ruby.@OBJEXT@ \
75 signal.@OBJEXT@ \
76 sprintf.@OBJEXT@ \
77 st.@OBJEXT@ \
78 string.@OBJEXT@ \
79 struct.@OBJEXT@ \
80 time.@OBJEXT@ \
81 util.@OBJEXT@ \
82 variable.@OBJEXT@ \
83 version.@OBJEXT@ \
99d0354 Initial revision
matz authored
84 $(MISSING)
85
7dff2ac 2000-05-09
matz authored
86 all: miniruby$(EXEEXT) @PREP@ rbconfig.rb $(LIBRUBY)
3a38301 @eban eban
eban authored
87 @@MINIRUBY@ -Cext extmk.rb @EXTSTATIC@
99d0354 Initial revision
matz authored
88
49afb7c 19991012
matz authored
89 miniruby$(EXEEXT): config.status $(LIBRUBY_A) $(MAINOBJ) dmyext.@OBJEXT@
99d0354 Initial revision
matz authored
90 @rm -f $@
49afb7c 19991012
matz authored
91 $(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) dmyext.@OBJEXT@ $(LIBRUBY_A) $(LIBS) -o $@
99d0354 Initial revision
matz authored
92
07bb9f2 1.4.0
matz authored
93 $(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(EXTOBJS)
99d0354 Initial revision
matz authored
94 @rm -f $@
c7feda2 @knu * Makefile.in: Introduce MAINLIBS.
knu authored
95 $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) -o $@
99d0354 Initial revision
matz authored
96
49afb7c 19991012
matz authored
97 $(LIBRUBY_A): $(OBJS) dmyext.@OBJEXT@
98 @AR@ rcu $@ $(OBJS) dmyext.@OBJEXT@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
99 @-@RANLIB@ $@ 2> /dev/null || true
100
49afb7c 19991012
matz authored
101 $(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@
1b3fa15 @eban eban
eban authored
102 $(LDSHARED) $(DLDFLAGS) $(OBJS) dmyext.@OBJEXT@ $(SOLIBS) -o $@
56e60da 20000105
matz authored
103 @-@MINIRUBY@ -e 'ARGV.each{|link| File.delete link if File.exist? link; \
07bb9f2 1.4.0
matz authored
104 File.symlink "$(LIBRUBY_SO)", link}' \
105 $(LIBRUBY_ALIASES) || true
99d0354 Initial revision
matz authored
106
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
107 install: rbconfig.rb
56e60da 20000105
matz authored
108 @MINIRUBY@ $(srcdir)/instruby.rb $(DESTDIR)
99d0354 Initial revision
matz authored
109
07bb9f2 1.4.0
matz authored
110 clean:; @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) $(MAINOBJ) rbconfig.rb
111 @rm -f ext/extinit.c ext/extinit.@OBJEXT@ dmyext.@OBJEXT@
3a38301 @eban eban
eban authored
112 @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true
07bb9f2 1.4.0
matz authored
113 @rm -f $(PROGRAM) miniruby$(EXEEXT)
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
114
25b242b * enum.c (enum_inject): new method.
matz authored
115 distclean:; @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true
116 $(MAKE) clean
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
117 @rm -f Makefile ext/extmk.rb config.h
118 @rm -f ext/config.cache config.cache config.log config.status
07bb9f2 1.4.0
matz authored
119 @rm -f *~ core *.core gmon.out y.tab.c y.output ruby.imp
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
120
25b242b * enum.c (enum_inject): new method.
matz authored
121 realclean: distclean
07bb9f2 1.4.0
matz authored
122 @rm -f parse.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
123 @rm -f lex.c
124
07bb9f2 1.4.0
matz authored
125 test: miniruby$(EXEEXT)
126 @./miniruby$(EXEEXT) $(srcdir)/rubytest.rb
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
127
07bb9f2 1.4.0
matz authored
128 rbconfig.rb: miniruby$(EXEEXT)
56e60da 20000105
matz authored
129 @@MINIRUBY@ $(srcdir)/mkconfig.rb rbconfig.rb
130
cbe7e21 @eban see ChangeLog
eban authored
131 fake.rb: miniruby$(EXEEXT)
132 @echo ' \
133 class Object; \
134 remove_const :RUBY_PLATFORM; \
135 RUBY_PLATFORM = "@arch@"; \
136 if defined? PLATFORM; \
137 remove_const :PLATFORM; \
138 PLATFORM = "@arch@"; \
139 end; \
140 CROSS_COMPILING = true; \
141 end \
142 ' > $@
99d0354 Initial revision
matz authored
143
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
144 config.status: $(srcdir)/configure
145 $(SHELL) ./config.status --recheck
146
6621fdc @eban eban
eban authored
147 $(srcdir)/configure: $(srcdir)/configure.in
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
148 cd $(srcdir) && $(AUTOCONF)
149
07bb9f2 1.4.0
matz authored
150 .c.@OBJEXT@:
99d0354 Initial revision
matz authored
151 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
152
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
153 lex.c: keywords
8884ab5 matz - nakada win32 patch
matz authored
154 gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $(srcdir)/keywords > lex.c
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
155
99d0354 Initial revision
matz authored
156 parse.c: parse.y
157 $(YACC) $<
158 mv -f y.tab.c parse.c
159
97de3ac 19991108
matz authored
160 parse.@OBJEXT@: parse.c
161
8884ab5 matz - nakada win32 patch
matz authored
162 alloca.@OBJEXT@: $(srcdir)/missing/alloca.c
163 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/alloca.c
99d0354 Initial revision
matz authored
164
8884ab5 matz - nakada win32 patch
matz authored
165 crypt.@OBJEXT@: $(srcdir)/missing/crypt.c
166 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/crypt.c
99d0354 Initial revision
matz authored
167
8884ab5 matz - nakada win32 patch
matz authored
168 dup2.@OBJEXT@: $(srcdir)/missing/dup2.c
169 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/dup2.c
99d0354 Initial revision
matz authored
170
8884ab5 matz - nakada win32 patch
matz authored
171 finite.@OBJEXT@: $(srcdir)/missing/finite.c
172 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/finite.c
07bb9f2 1.4.0
matz authored
173
8884ab5 matz - nakada win32 patch
matz authored
174 flock.@OBJEXT@: $(srcdir)/missing/flock.c
175 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/flock.c
99d0354 Initial revision
matz authored
176
8884ab5 matz - nakada win32 patch
matz authored
177 isinf.@OBJEXT@: $(srcdir)/missing/isinf.c
178 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/isinf.c
07bb9f2 1.4.0
matz authored
179
8884ab5 matz - nakada win32 patch
matz authored
180 isnan.@OBJEXT@: $(srcdir)/missing/isnan.c
181 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/isnan.c
07bb9f2 1.4.0
matz authored
182
8884ab5 matz - nakada win32 patch
matz authored
183 fnmatch.@OBJEXT@: $(srcdir)/missing/fnmatch.c
184 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/fnmatch.c
07bb9f2 1.4.0
matz authored
185
8884ab5 matz - nakada win32 patch
matz authored
186 memcmp.@OBJEXT@: $(srcdir)/missing/memcmp.c
187 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/memcmp.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
188
8884ab5 matz - nakada win32 patch
matz authored
189 memmove.@OBJEXT@: $(srcdir)/missing/memmove.c
190 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/memmove.c
99d0354 Initial revision
matz authored
191
8884ab5 matz - nakada win32 patch
matz authored
192 mkdir.@OBJEXT@: $(srcdir)/missing/mkdir.c
193 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/mkdir.c
99d0354 Initial revision
matz authored
194
8884ab5 matz - nakada win32 patch
matz authored
195 vsnprintf.@OBJEXT@: $(srcdir)/missing/vsnprintf.c
196 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/vsnprintf.c
99d0354 Initial revision
matz authored
197
8884ab5 matz - nakada win32 patch
matz authored
198 strcasecmp.@OBJEXT@: $(srcdir)/missing/strcasecmp.c
199 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strcasecmp.c
99d0354 Initial revision
matz authored
200
8884ab5 matz - nakada win32 patch
matz authored
201 strncasecmp.@OBJEXT@: $(srcdir)/missing/strncasecmp.c
202 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strncasecmp.c
07bb9f2 1.4.0
matz authored
203
8884ab5 matz - nakada win32 patch
matz authored
204 strchr.@OBJEXT@: $(srcdir)/missing/strchr.c
205 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strchr.c
99d0354 Initial revision
matz authored
206
8884ab5 matz - nakada win32 patch
matz authored
207 strerror.@OBJEXT@: $(srcdir)/missing/strerror.c
208 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strerror.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
209
8884ab5 matz - nakada win32 patch
matz authored
210 strftime.@OBJEXT@: $(srcdir)/missing/strftime.c
211 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strftime.c
99d0354 Initial revision
matz authored
212
8884ab5 matz - nakada win32 patch
matz authored
213 strstr.@OBJEXT@: $(srcdir)/missing/strstr.c
214 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strstr.c
99d0354 Initial revision
matz authored
215
8884ab5 matz - nakada win32 patch
matz authored
216 strtod.@OBJEXT@: $(srcdir)/missing/strtod.c
217 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strtod.c
07bb9f2 1.4.0
matz authored
218
8884ab5 matz - nakada win32 patch
matz authored
219 strtol.@OBJEXT@: $(srcdir)/missing/strtol.c
220 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strtol.c
99d0354 Initial revision
matz authored
221
8884ab5 matz - nakada win32 patch
matz authored
222 strtoul.@OBJEXT@: $(srcdir)/missing/strtoul.c
223 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/strtoul.c
99d0354 Initial revision
matz authored
224
8884ab5 matz - nakada win32 patch
matz authored
225 x68.@OBJEXT@: $(srcdir)/missing/x68.c
226 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/x68.c
99d0354 Initial revision
matz authored
227
8884ab5 matz - nakada win32 patch
matz authored
228 os2.@OBJEXT@: $(srcdir)/missing/os2.c
229 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/os2.c
07bb9f2 1.4.0
matz authored
230
8884ab5 matz - nakada win32 patch
matz authored
231 dl_os2.@OBJEXT@: $(srcdir)/missing/dl_os2.c
232 $(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/dl_os2.c
07bb9f2 1.4.0
matz authored
233
8884ab5 matz - nakada win32 patch
matz authored
234 win32.@OBJEXT@: $(srcdir)/win32/win32.c
05e0140 @eban * win32/win32.c: use ruby's opendir on mingw32.
eban authored
235 $(CC) $(CFLAGS) $(CPPFLAGS) -I$(srcdir)/win32 -c $(srcdir)/win32/win32.c
39ceadd @eban fix bug; support mingw32.
eban authored
236
99d0354 Initial revision
matz authored
237 # Prevent GNU make v3 from overflowing arg limit on SysV.
238 .NOEXPORT:
239 ###
07bb9f2 1.4.0
matz authored
240 parse.@OBJEXT@: parse.y ruby.h config.h defines.h intern.h env.h node.h st.h regex.h util.h lex.c
99d0354 Initial revision
matz authored
241 ###
eea16da 001225
matz authored
242 array.@OBJEXT@: array.c ruby.h config.h defines.h intern.h util.h st.h
07bb9f2 1.4.0
matz authored
243 bignum.@OBJEXT@: bignum.c ruby.h config.h defines.h intern.h
eea16da 001225
matz authored
244 class.@OBJEXT@: class.c ruby.h config.h defines.h intern.h rubysig.h node.h st.h
07bb9f2 1.4.0
matz authored
245 compar.@OBJEXT@: compar.c ruby.h config.h defines.h intern.h
246 dir.@OBJEXT@: dir.c ruby.h config.h defines.h intern.h
247 dln.@OBJEXT@: dln.c config.h defines.h dln.h
248 dmyext.@OBJEXT@: dmyext.c
eea16da 001225
matz authored
249 enum.@OBJEXT@: enum.c ruby.h config.h defines.h intern.h node.h
757a5f3 matz
matz authored
250 error.@OBJEXT@: error.c ruby.h config.h defines.h intern.h env.h version.h
07bb9f2 1.4.0
matz authored
251 eval.@OBJEXT@: eval.c ruby.h config.h defines.h intern.h node.h env.h rubysig.h st.h dln.h
eea16da 001225
matz authored
252 file.@OBJEXT@: file.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h dln.h
07bb9f2 1.4.0
matz authored
253 gc.@OBJEXT@: gc.c ruby.h config.h defines.h intern.h rubysig.h st.h node.h env.h re.h regex.h
254 hash.@OBJEXT@: hash.c ruby.h config.h defines.h intern.h st.h rubysig.h util.h
255 inits.@OBJEXT@: inits.c ruby.h config.h defines.h intern.h
02ee74c @eban m17n cleanup
eban authored
256 io.@OBJEXT@: io.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h env.h util.h
07bb9f2 1.4.0
matz authored
257 main.@OBJEXT@: main.c ruby.h config.h defines.h intern.h
258 marshal.@OBJEXT@: marshal.c ruby.h config.h defines.h intern.h rubyio.h st.h
259 prec.@OBJEXT@: prec.c ruby.h config.h defines.h intern.h
260 math.@OBJEXT@: math.c ruby.h config.h defines.h intern.h
261 numeric.@OBJEXT@: numeric.c ruby.h config.h defines.h intern.h
262 object.@OBJEXT@: object.c ruby.h config.h defines.h intern.h st.h
263 pack.@OBJEXT@: pack.c ruby.h config.h defines.h intern.h
264 process.@OBJEXT@: process.c ruby.h config.h defines.h intern.h rubysig.h st.h
265 random.@OBJEXT@: random.c ruby.h config.h defines.h intern.h
266 range.@OBJEXT@: range.c ruby.h config.h defines.h intern.h
267 re.@OBJEXT@: re.c ruby.h config.h defines.h intern.h re.h regex.h
eea16da 001225
matz authored
268 regex.@OBJEXT@: regex.c config.h regex.h
269 ruby.@OBJEXT@: ruby.c ruby.h config.h defines.h intern.h dln.h node.h util.h
07bb9f2 1.4.0
matz authored
270 signal.@OBJEXT@: signal.c ruby.h config.h defines.h intern.h rubysig.h
271 sprintf.@OBJEXT@: sprintf.c ruby.h config.h defines.h intern.h
272 st.@OBJEXT@: st.c config.h st.h
273 string.@OBJEXT@: string.c ruby.h config.h defines.h intern.h re.h regex.h
274 struct.@OBJEXT@: struct.c ruby.h config.h defines.h intern.h
275 time.@OBJEXT@: time.c ruby.h config.h defines.h intern.h
276 util.@OBJEXT@: util.c ruby.h config.h defines.h intern.h util.h
277 variable.@OBJEXT@: variable.c ruby.h config.h defines.h intern.h env.h node.h st.h
278 version.@OBJEXT@: version.c ruby.h config.h defines.h intern.h version.h
Something went wrong with that request. Please try again.