Skip to content

HTTPS clone URL

Subversion checkout URL

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