Skip to content
Newer
Older
100644 279 lines (222 sloc) 8.73 KB
99d0354 Initial revision
matz authored
1 SHELL = /bin/sh
2
3 #### Start of system configuration section. ####
4
5 srcdir = @srcdir@
6 VPATH = @srcdir@:@srcdir@/missing
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@
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@
99d0354 Initial revision
matz authored
25
07bb9f2 1.4.0
matz authored
26 RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
27 EXEEXT = @EXEEXT@
28 PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
99d0354 Initial revision
matz authored
29
30 #### End of system configuration section. ####
31
07bb9f2 1.4.0
matz authored
32 MAJOR= @MAJOR@
33 MINOR= @MINOR@
34 TEENY= @TEENY@
99d0354 Initial revision
matz authored
35
07bb9f2 1.4.0
matz authored
36 LIBRUBY_A = @LIBRUBY_A@
37 LIBRUBY_SO = @LIBRUBY_SO@
38 LIBRUBY_ALIASES= @LIBRUBY_ALIASES@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
39 LIBRUBY = @LIBRUBY@
40 LIBRUBYARG = @LIBRUBYARG@
99d0354 Initial revision
matz authored
41
49afb7c 19991012
matz authored
42 EXTOBJS =
99d0354 Initial revision
matz authored
43
07bb9f2 1.4.0
matz authored
44 MAINOBJ = main.@OBJEXT@
45
46 OBJS = array.@OBJEXT@ \
47 bignum.@OBJEXT@ \
48 class.@OBJEXT@ \
49 compar.@OBJEXT@ \
50 dir.@OBJEXT@ \
51 dln.@OBJEXT@ \
52 enum.@OBJEXT@ \
53 error.@OBJEXT@ \
54 eval.@OBJEXT@ \
55 file.@OBJEXT@ \
56 gc.@OBJEXT@ \
57 hash.@OBJEXT@ \
58 inits.@OBJEXT@ \
59 io.@OBJEXT@ \
60 marshal.@OBJEXT@ \
61 math.@OBJEXT@ \
62 numeric.@OBJEXT@ \
63 object.@OBJEXT@ \
64 pack.@OBJEXT@ \
65 parse.@OBJEXT@ \
66 process.@OBJEXT@ \
67 prec.@OBJEXT@ \
68 random.@OBJEXT@ \
69 range.@OBJEXT@ \
70 re.@OBJEXT@ \
71 regex.@OBJEXT@ \
72 ruby.@OBJEXT@ \
73 signal.@OBJEXT@ \
74 sprintf.@OBJEXT@ \
75 st.@OBJEXT@ \
76 string.@OBJEXT@ \
77 struct.@OBJEXT@ \
78 time.@OBJEXT@ \
79 util.@OBJEXT@ \
80 variable.@OBJEXT@ \
81 version.@OBJEXT@ \
99d0354 Initial revision
matz authored
82 $(MISSING)
83
7dff2ac 2000-05-09
matz authored
84 all: miniruby$(EXEEXT) @PREP@ rbconfig.rb $(LIBRUBY)
56e60da 20000105
matz authored
85 @@MINIRUBY@ -Xext extmk.rb @EXTSTATIC@
99d0354 Initial revision
matz authored
86
49afb7c 19991012
matz authored
87 miniruby$(EXEEXT): config.status $(LIBRUBY_A) $(MAINOBJ) dmyext.@OBJEXT@
99d0354 Initial revision
matz authored
88 @rm -f $@
49afb7c 19991012
matz authored
89 $(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) dmyext.@OBJEXT@ $(LIBRUBY_A) $(LIBS) -o $@
99d0354 Initial revision
matz authored
90
07bb9f2 1.4.0
matz authored
91 $(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(EXTOBJS)
99d0354 Initial revision
matz authored
92 @rm -f $@
07bb9f2 1.4.0
matz authored
93 $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) -o $@
99d0354 Initial revision
matz authored
94
49afb7c 19991012
matz authored
95 $(LIBRUBY_A): $(OBJS) dmyext.@OBJEXT@
96 @AR@ rcu $@ $(OBJS) dmyext.@OBJEXT@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
97 @-@RANLIB@ $@ 2> /dev/null || true
98
49afb7c 19991012
matz authored
99 $(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@
100 $(LDSHARED) $(DLDFLAGS) $(SOLIBS) $(OBJS) dmyext.@OBJEXT@ -o $@
56e60da 20000105
matz authored
101 @-@MINIRUBY@ -e 'ARGV.each{|link| File.delete link if File.exist? link; \
07bb9f2 1.4.0
matz authored
102 File.symlink "$(LIBRUBY_SO)", link}' \
103 $(LIBRUBY_ALIASES) || true
99d0354 Initial revision
matz authored
104
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
105 install: rbconfig.rb
56e60da 20000105
matz authored
106 @MINIRUBY@ $(srcdir)/instruby.rb $(DESTDIR)
99d0354 Initial revision
matz authored
107
07bb9f2 1.4.0
matz authored
108 clean:; @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) $(MAINOBJ) rbconfig.rb
109 @rm -f ext/extinit.c ext/extinit.@OBJEXT@ dmyext.@OBJEXT@
56e60da 20000105
matz authored
110 @-@MINIRUBY@ -Xext extmk.rb clean 2> /dev/null || true
07bb9f2 1.4.0
matz authored
111 @rm -f $(PROGRAM) miniruby$(EXEEXT)
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
112
113 distclean: clean
114 @rm -f Makefile ext/extmk.rb config.h
115 @rm -f ext/config.cache config.cache config.log config.status
07bb9f2 1.4.0
matz authored
116 @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
117
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
118 realclean: distclean
07bb9f2 1.4.0
matz authored
119 @rm -f parse.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
120 @rm -f lex.c
121
07bb9f2 1.4.0
matz authored
122 test: miniruby$(EXEEXT)
123 @./miniruby$(EXEEXT) $(srcdir)/rubytest.rb
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
124
07bb9f2 1.4.0
matz authored
125 rbconfig.rb: miniruby$(EXEEXT)
56e60da 20000105
matz authored
126 @@MINIRUBY@ $(srcdir)/mkconfig.rb rbconfig.rb
127
cbe7e21 @eban see ChangeLog
eban authored
128 fake.rb: miniruby$(EXEEXT)
129 @echo ' \
130 class Object; \
131 remove_const :RUBY_PLATFORM; \
132 RUBY_PLATFORM = "@arch@"; \
133 if defined? PLATFORM; \
134 remove_const :PLATFORM; \
135 PLATFORM = "@arch@"; \
136 end; \
137 CROSS_COMPILING = true; \
138 end \
139 ' > $@
99d0354 Initial revision
matz authored
140
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
141 config.status: $(srcdir)/configure
142 $(SHELL) ./config.status --recheck
143
144 $(srcdir)/configure: $(srcdir)/configure.in
145 cd $(srcdir) && $(AUTOCONF)
146
07bb9f2 1.4.0
matz authored
147 .c.@OBJEXT@:
99d0354 Initial revision
matz authored
148 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
149
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
150 lex.c: keywords
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
151 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
152
99d0354 Initial revision
matz authored
153 parse.c: parse.y
154 $(YACC) $<
155 mv -f y.tab.c parse.c
156
97de3ac 19991108
matz authored
157 parse.@OBJEXT@: parse.c
158
07bb9f2 1.4.0
matz authored
159 alloca.@OBJEXT@: @srcdir@/missing/alloca.c
99d0354 Initial revision
matz authored
160 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/alloca.c
161
07bb9f2 1.4.0
matz authored
162 crypt.@OBJEXT@: @srcdir@/missing/crypt.c
99d0354 Initial revision
matz authored
163 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/crypt.c
164
07bb9f2 1.4.0
matz authored
165 dup2.@OBJEXT@: @srcdir@/missing/dup2.c
99d0354 Initial revision
matz authored
166 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/dup2.c
167
07bb9f2 1.4.0
matz authored
168 finite.@OBJEXT@: @srcdir@/missing/finite.c
169 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/finite.c
170
171 flock.@OBJEXT@: @srcdir@/missing/flock.c
99d0354 Initial revision
matz authored
172 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/flock.c
173
07bb9f2 1.4.0
matz authored
174 isinf.@OBJEXT@: @srcdir@/missing/isinf.c
175 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/isinf.c
176
177 isnan.@OBJEXT@: @srcdir@/missing/isnan.c
178 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/isnan.c
179
180 fnmatch.@OBJEXT@: @srcdir@/missing/fnmatch.c
181 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/fnmatch.c
182
183 memcmp.@OBJEXT@: @srcdir@/missing/memcmp.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
184 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/memcmp.c
185
07bb9f2 1.4.0
matz authored
186 memmove.@OBJEXT@: @srcdir@/missing/memmove.c
99d0354 Initial revision
matz authored
187 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/memmove.c
188
07bb9f2 1.4.0
matz authored
189 mkdir.@OBJEXT@: @srcdir@/missing/mkdir.c
99d0354 Initial revision
matz authored
190 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/mkdir.c
191
07bb9f2 1.4.0
matz authored
192 vsnprintf.@OBJEXT@: @srcdir@/missing/vsnprintf.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
193 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/vsnprintf.c
99d0354 Initial revision
matz authored
194
07bb9f2 1.4.0
matz authored
195 strcasecmp.@OBJEXT@: @srcdir@/missing/strcasecmp.c
99d0354 Initial revision
matz authored
196 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strcasecmp.c
197
07bb9f2 1.4.0
matz authored
198 strncasecmp.@OBJEXT@: @srcdir@/missing/strncasecmp.c
199 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strncasecmp.c
200
201 strchr.@OBJEXT@: @srcdir@/missing/strchr.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
202 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strchr.c
99d0354 Initial revision
matz authored
203
07bb9f2 1.4.0
matz authored
204 strdup.@OBJEXT@: @srcdir@/missing/strdup.c
99d0354 Initial revision
matz authored
205 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strdup.c
206
07bb9f2 1.4.0
matz authored
207 strerror.@OBJEXT@: @srcdir@/missing/strerror.c
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
208 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strerror.c
209
07bb9f2 1.4.0
matz authored
210 strftime.@OBJEXT@: @srcdir@/missing/strftime.c
99d0354 Initial revision
matz authored
211 $(CC) -I. $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strftime.c
212
07bb9f2 1.4.0
matz authored
213 strstr.@OBJEXT@: @srcdir@/missing/strstr.c
99d0354 Initial revision
matz authored
214 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strstr.c
215
07bb9f2 1.4.0
matz authored
216 strtod.@OBJEXT@: @srcdir@/missing/strtod.c
217 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strtod.c
218
219 strtol.@OBJEXT@: @srcdir@/missing/strtol.c
99d0354 Initial revision
matz authored
220 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strtol.c
221
07bb9f2 1.4.0
matz authored
222 strtoul.@OBJEXT@: @srcdir@/missing/strtoul.c
99d0354 Initial revision
matz authored
223 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/strtoul.c
224
07bb9f2 1.4.0
matz authored
225 x68.@OBJEXT@: @srcdir@/missing/x68.c
99d0354 Initial revision
matz authored
226 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/x68.c
227
07bb9f2 1.4.0
matz authored
228 os2.@OBJEXT@: @srcdir@/missing/os2.c
229 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/os2.c
230
231 dl_os2.@OBJEXT@: @srcdir@/missing/dl_os2.c
232 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/missing/dl_os2.c
233
39ceadd @eban fix bug; support mingw32.
eban authored
234 win32.@OBJEXT@: @srcdir@/win32/win32.c
235 $(CC) $(CFLAGS) $(CPPFLAGS) -c @srcdir@/win32/win32.c
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 ###
07bb9f2 1.4.0
matz authored
242 array.@OBJEXT@: array.c ruby.h config.h defines.h intern.h
243 bignum.@OBJEXT@: bignum.c ruby.h config.h defines.h intern.h
244 class.@OBJEXT@: class.c ruby.h config.h defines.h intern.h node.h st.h
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
249 enum.@OBJEXT@: enum.c ruby.h config.h defines.h intern.h
250 error.@OBJEXT@: error.c ruby.h config.h defines.h intern.h env.h
251 eval.@OBJEXT@: eval.c ruby.h config.h defines.h intern.h node.h env.h rubysig.h st.h dln.h
252 file.@OBJEXT@: file.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h
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
256 io.@OBJEXT@: io.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h env.h
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
268 regex.@OBJEXT@: regex.c config.h regex.h util.h
269 ruby.@OBJEXT@: ruby.c ruby.h config.h defines.h intern.h dln.h util.h
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.