Skip to content
Newer
Older
100644 184 lines (149 sloc) 4.29 KB
99d0354 Initial revision
matz authored Jan 16, 1998
1 SHELL = /bin/sh
4056fb6 @nobu * Makefile.in, common.mk (NULLCMD): moved for platforms that empty
nobu authored Dec 6, 2006
2 NULLCMD = :
99d0354 Initial revision
matz authored Jan 16, 1998
3
4 #### Start of system configuration section. ####
5
6 srcdir = @srcdir@
8884ab5 matz - nakada win32 patch
matz authored Aug 3, 2000
7 VPATH = $(srcdir):$(srcdir)/missing
99d0354 Initial revision
matz authored Jan 16, 1998
8
9 CC = @CC@
10 YACC = @YACC@
11 PURIFY =
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
12 AUTOCONF = autoconf
99d0354 Initial revision
matz authored Jan 16, 1998
13 @SET_MAKE@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
14 MKFILES = @MAKEFILES@
99d0354 Initial revision
matz authored Jan 16, 1998
15
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
16 prefix = @prefix@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
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 Jun 25, 2006
22 datarootdir = @datarootdir@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
23 datadir = @datadir@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
24 arch = @arch@
25 sitearch = @sitearch@
26 sitedir = @sitedir@
27
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
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 Nov 10, 2005
35 empty =
36 OUTFLAG = @OUTFLAG@$(empty)
c15d5ad @eban * Makefile.in: add ARCH_FLAG to CFLAGS.
eban authored Nov 30, 2003
37 CFLAGS = @CFLAGS@ @XCFLAGS@ @ARCH_FLAG@
38 CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
99d0354 Initial revision
matz authored Jan 16, 1998
39 LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
40 EXTLDFLAGS =
41 XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
42 EXTLIBS =
99d0354 Initial revision
matz authored Jan 16, 1998
43 LIBS = @LIBS@ $(EXTLIBS)
44 MISSING = @LIBOBJS@ @ALLOCA@
07bb9f2 1.4.0
matz authored Aug 13, 1999
45 LDSHARED = @LIBRUBY_LDSHARED@
106b79e @eban * Makefile.in: add ARCH_FLAG to DLDFLAGS.
eban authored Nov 30, 2003
46 DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
47 SOLIBS = @SOLIBS@
c7feda2 @knu * Makefile.in: Introduce MAINLIBS.
knu authored Apr 1, 2001
48 MAINLIBS = @MAINLIBS@
7e1363a @nobu * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
nobu authored Sep 6, 2005
49 MINIOBJS = @MINIOBJS@
99d0354 Initial revision
matz authored Jan 16, 1998
50
07bb9f2 1.4.0
matz authored Aug 13, 1999
51 RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
ab206c8 @eban eban
eban authored Sep 4, 2000
52 RUBY_SO_NAME=@RUBY_SO_NAME@
07bb9f2 1.4.0
matz authored Aug 13, 1999
53 EXEEXT = @EXEEXT@
54 PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
55 RUBY = $(RUBY_INSTALL_NAME)
0865b21 @nobu * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
nobu authored Sep 8, 2006
56 MINIRUBY = @MINIRUBY@ $(MINIRUBYOPT)
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
57 RUNRUBY = @RUNRUBY@
99d0354 Initial revision
matz authored Jan 16, 1998
58
59 #### End of system configuration section. ####
60
07bb9f2 1.4.0
matz authored Aug 13, 1999
61 MAJOR= @MAJOR@
62 MINOR= @MINOR@
63 TEENY= @TEENY@
99d0354 Initial revision
matz authored Jan 16, 1998
64
07bb9f2 1.4.0
matz authored Aug 13, 1999
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 Jan 20, 1999
68 LIBRUBY = @LIBRUBY@
69 LIBRUBYARG = @LIBRUBYARG@
2432c5e @nobu * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
nobu authored Nov 14, 2002
70 LIBRUBYARG_STATIC = @LIBRUBYARG_STATIC@
71 LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@
99d0354 Initial revision
matz authored Jan 16, 1998
72
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
73 PREP = @PREP@
74 ARCHFILE = @ARCHFILE@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
75 SETUP =
d4094d0 @nobu * Makefile.in: static link libraries to LIBRUBY_SO with static linked
nobu authored Aug 12, 2003
76 EXTSTATIC = @EXTSTATIC@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
77
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
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 Jul 26, 2006
83 AS = @AS@
84 ASFLAGS = @ASFLAGS@
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
85
86 OBJEXT = @OBJEXT@
6c80c88 @knu * configure.in (MANTYPE): Detect if the system's nroff(1) groks
knu authored Jan 20, 2003
87 MANTYPE = @MANTYPE@
88
e0df26d @nobu * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
nobu authored Sep 16, 2006
89 INSTALLED_LIST= .installed.list
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
90 #### End of variables
91
92 all:
f010320 @knu * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,
knu authored Jan 25, 2003
93
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
94 .DEFAULT: all
99d0354 Initial revision
matz authored Jan 16, 1998
95
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
96 # Prevent GNU make v3 from overflowing arg limit on SysV.
97 .NOEXPORT:
99d0354 Initial revision
matz authored Jan 16, 1998
98
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
99 miniruby$(EXEEXT):
100 @$(RM) $@
beffe75 @nobu * Makefile.in (miniruby): add XLDFLAGS.
nobu authored Oct 30, 2006
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 Mar 30, 2005
102
103 $(PROGRAM):
104 @$(RM) $@
105 $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@
99d0354 Initial revision
matz authored Jan 16, 1998
106
a15c3f7 * gc.c (Init_stack): stack region is far smaller than usual if
matz authored Nov 22, 2003
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 Mar 30, 2005
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 Jan 20, 1999
114
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
115 $(LIBRUBY_SO):
442301c @nobu * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keep
nobu authored Oct 1, 2006
116 @-$(PRE_LIBRUBY_UPDATE)
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
117 $(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(OUTFLAG)$@
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
118 @-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
07bb9f2 1.4.0
matz authored Aug 13, 1999
119 File.symlink "$(LIBRUBY_SO)", link}' \
120 $(LIBRUBY_ALIASES) || true
99d0354 Initial revision
matz authored Jan 16, 1998
121
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
122 fake.rb: Makefile
cbe7e21 @eban see ChangeLog
eban authored May 21, 2000
123 @echo ' \
124 class Object; \
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
125 CROSS_COMPILING = RUBY_PLATFORM; \
cbe7e21 @eban see ChangeLog
eban authored May 21, 2000
126 remove_const :RUBY_PLATFORM; \
7a5c195 @eban * ext/curses/extconf.rb: add dir_config.
eban authored Dec 31, 2001
127 remove_const :RUBY_VERSION; \
cbe7e21 @eban see ChangeLog
eban authored May 21, 2000
128 RUBY_PLATFORM = "@arch@"; \
7a5c195 @eban * ext/curses/extconf.rb: add dir_config.
eban authored Dec 31, 2001
129 RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"; \
86077e1 @eban * lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.
eban authored Mar 9, 2003
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 May 21, 2000
137 ' > $@
99d0354 Initial revision
matz authored Jan 16, 1998
138
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
139 Makefile: $(srcdir)/Makefile.in
140
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
141 $(MKFILES): config.status $(srcdir)/common.mk
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
142 MAKE=$(MAKE) $(SHELL) ./config.status
0e11cb0 @nobu * marshal.c (w_symbol, w_object): get rid of warnings.
nobu authored Aug 16, 2003
143 @{ \
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
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 Aug 16, 2003
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 Oct 21, 2002
149 { echo "Makefile updated, restart."; exit 1; }
150
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
151 config.status: $(srcdir)/configure
2432c5e @nobu * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
nobu authored Nov 14, 2002
152 MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
153
6621fdc @eban eban
eban authored Jan 11, 2001
154 $(srcdir)/configure: $(srcdir)/configure.in
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored Jan 20, 1999
155 cd $(srcdir) && $(AUTOCONF)
156
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored Jan 16, 1998
157 lex.c: keywords
5916a81 @akr * Makefile.in (lex.c): don't remove lex.c at first.
akr authored Nov 12, 2007
158 ( gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@.tmp && mv $@.tmp $@ ) || \
159 if test -f $@; then \
160 touch $@ && echo $@ touched.; \
161 else \
162 cp $(srcdir)/lex.c $@ && echo $@ copied.; \
163 fi
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored Jan 16, 1998
164
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
165 .y.c:
99d0354 Initial revision
matz authored Jan 16, 1998
166 $(YACC) $<
0243b2c @nobu * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
nobu authored Oct 21, 2002
167 sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@
168 rm -f y.tab.c
169
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
170 .c.@OBJEXT@:
171 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
07bb9f2 1.4.0
matz authored Aug 13, 1999
172
9900753 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
matz authored Jul 26, 2006
173 .s.@OBJEXT@:
174 $(AS) $(ASFLAGS) -o $@ $<
175
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
176 clean-local::
177 @$(RM) ext/extinit.c ext/extinit.$(OBJEXT)
07bb9f2 1.4.0
matz authored Aug 13, 1999
178
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
179 distclean-local::
180 @$(RM) ext/config.cache $(RBCONFIG)
39ceadd @eban fix bug; support mingw32.
eban authored May 14, 2000
181
71d5fc5 @nobu * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
nobu authored Mar 30, 2005
182 ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
f3aa5ed @nobu * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as other
nobu authored Sep 25, 2007
183 $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(OUTFLAG)$@ -c ext/extinit.c
Something went wrong with that request. Please try again.