[gforth] / gforth / Makefile.in  

gforth: gforth/Makefile.in


1 : anton 1.38 #Makefile for Gforth
2 :    
3 : anton 1.188 #Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc.
4 : anton 1.38
5 :     #This file is part of Gforth.
6 :    
7 :     #Gforth is free software; you can redistribute it and/or
8 :     #modify it under the terms of the GNU General Public License
9 :     #as published by the Free Software Foundation; either version 2
10 :     #of the License, or (at your option) any later version.
11 :    
12 :     #This program is distributed in the hope that it will be useful,
13 :     #but WITHOUT ANY WARRANTY; without even the implied warranty of
14 :     #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
15 :     #GNU General Public License for more details.
16 :    
17 :     #You should have received a copy of the GNU General Public License
18 :     #along with this program; if not, write to the Free Software
19 : anton 1.189 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
20 : anton 1.38
21 : anton 1.9 # To change the values of `make' variables: instead of editing Makefiles,
22 :     # (1) if the variable is set in `config.status', edit `config.status'
23 :     # (which will cause the Makefiles to be regenerated when you run `make');
24 :     # (2) otherwise, pass the desired values on the `make' command line.
25 : pazsan 1.1
26 : jwilke 1.106 # Warning:
27 :     # For some stupid reason setting SHELL to bash does not work properly with
28 :     # DOS. If you want to use shell-specific things that must run with DOS make
29 :     # an external batch file and call it with bash (see versions.bsh).
30 :    
31 :     # ------------- gforth version
32 :    
33 : anton 1.110 VERSION = @VERSION@
34 : pazsan 1.181 DOSVERSION=`echo $(VERSION)|sed 's/\.//g'|sed 's/-.*//g'`
35 : jwilke 1.106
36 :     # ------------- System specific variables
37 :    
38 : anton 1.110 machine=@machine@
39 :     kernel_fi=@kernel_fi@
40 : pazsan 1.123 EXE=@EXE@
41 : anton 1.110
42 : jwilke 1.106 # this is the type of machine
43 :     # used to extend the include path with ./arch/$machine
44 : anton 1.110 # so we can include a machine specific
45 : jwilke 1.106 # machine.h file
46 :    
47 :     PATHSEP = @PATHSEP@
48 :    
49 :     osclass = @OSCLASS@
50 :    
51 :     # ------------- Utility programs
52 :    
53 : anton 1.9 SHELL = /bin/sh
54 : pazsan 1.4 RM = rm
55 : pazsan 1.74 RMTREE = rm -rf
56 : pazsan 1.144 CP = cp -p
57 : pazsan 1.129 MV = mv
58 : pazsan 1.74 TAR = tar cf -
59 : anton 1.9 INSTALL = @INSTALL@
60 :     INSTALL_PROGRAM = @INSTALL_PROGRAM@
61 :     INSTALL_DATA = @INSTALL_DATA@
62 :     LN_S = @LN_S@
63 : pazsan 1.48 GCC = @CC@
64 : anton 1.23 CC = $(GCC)
65 : anton 1.183 FORTHPATH = .$(PATHSEP)$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(libdir)/gforth/$(VERSION)$(PATHSEP)$(datadir)/gforth/$(VERSION)
66 : anton 1.72 FORTHSIZES = @FORTHSIZES@
67 : anton 1.143 FORTH_ARGS = --die-on-signal -p $(FORTHPATH)$(PATHSEP)$(srcdir)
68 :     ENGINE = ./gforth
69 :     FORTH = $(ENGINE) $(FORTH_ARGS)
70 : jwilke 1.205 # the (existing) forth system to use for cross compiling and primitives tables
71 :     BUILDFORTH = $(FORTHK)
72 :     # the forth system plus flags we use to build
73 :     FORTHB = $(BUILDFORTH) -m 1000000 -e 'fpath= .|~+|$(srcdir)'
74 : anton 1.143 ENGINE_FAST = $(ENGINE)-fast
75 :     FORTH_FAST = $(ENGINE_FAST) $(FORTH_ARGS)
76 : anton 1.202 FORTHKFLAGS= --die-on-signal -p ".$(PATHSEP)~+$(PATHSEP)$(srcdir)" -m 1000000 -i $(kernel_fi)
77 : anton 1.152 FORTHK = $(ENGINE) $(FORTHKFLAGS)
78 :     FORTHP = $(ENGINE) --die-on-signal -i ./$(kernel_fi)
79 : anton 1.183 #the "-2 image-included-files +!" undoes the change to image-included-files
80 :     # in exboot.fs
81 : pazsan 1.184 STARTUP = -e 3 exboot.fs startup.fs @asm_fs@ @disasm_fs@
82 : anton 1.22 STRIP = strip
83 : anton 1.169 TEXI2DVI = texi2dvi -e
84 : anton 1.114 DVI2PS = dvips -Z
85 : anton 1.99 #you can get texi2html from http://wwwcn.cern.ch/dci/texi2html/
86 : anton 1.170 MAKEINFO = makeinfo
87 : anton 1.15 TEXI2HTML = texi2html
88 : jwilke 1.106
89 :     # ------------- Compiler Flags
90 :    
91 : anton 1.9 XCFLAGS = @CFLAGS@
92 :     XDEFINES = @DEFS@
93 : anton 1.12 SWITCHES = $(XCFLAGS) $(XDEFINES) #-DNDEBUG #turn off assertions
94 : pazsan 1.48 ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves
95 : pazsan 1.30 DEBUGFLAG = @DEBUGFLAG@
96 : pazsan 1.154 CFLAGS = $(DEBUGFLAG) -I$(srcdir)/engine -I$(srcdir)/arch/$(machine) -O3 -Wall $(SWITCHES) -DDEFAULTPATH=\"$(FORTHPATH)\"
97 : pazsan 1.1
98 :     #John Wavrik should use -Xlinker -N to get a writable text (executable)
99 : pazsan 1.30 XLDFLAGS = @LDFLAGS@
100 : anton 1.117 LDFLAGS = $(DEBUGFLAG) $(XLDFLAGS)
101 : anton 1.9 LDLIBS = @LIBS@
102 :    
103 : jwilke 1.106 # ------------ Install Directorys
104 :    
105 : anton 1.52 VPATH = @srcdir@
106 : anton 1.9 prefix = @prefix@
107 :     exec_prefix = @exec_prefix@
108 :     srcdir = @srcdir@
109 :     bindir = $(exec_prefix)/bin
110 :     #read-only architecture-independent files
111 :     datadir = $(prefix)/share
112 :     #read-only architecture-dependent non-ascii files
113 :     libdir = $(prefix)/lib
114 :     infodir = $(prefix)/info
115 : anton 1.52 mandir = $(prefix)/man
116 :     man1dir= $(mandir)/man1
117 :     man1ext= .1
118 :     #older emacses have their site-lisp in $(libdir)/emacs/
119 : anton 1.110 emacssitelispdir=@lispdir@
120 : anton 1.141 siteforthdir=$(datadir)/gforth/site-forth
121 : pazsan 1.1
122 : pazsan 1.124 CVSDIRS = CVS engine/CVS kernel/CVS doc/CVS asm/CVS ec/CVS test/CVS \
123 : pazsan 1.192 compat/CVS unix/CVS \
124 : pazsan 1.124 arch/CVS arch/generic/CVS arch/m68k/CVS arch/mips/CVS \
125 :     arch/386/CVS arch/hppa/CVS arch/sparc/CVS arch/power/CVS \
126 :     arch/alpha/CVS arch/4stack/CVS arch/misc/CVS arch/6502/CVS \
127 :     arch/8086/CVS arch/avr/CVS arch/c165/CVS arch/h8/CVS \
128 : pazsan 1.192 arch/shboom/CVS arch/sharc/CVS arch/ia64/CVS
129 : pazsan 1.124
130 : anton 1.135 INCLUDES = engine/forth.h engine/threaded.h engine/io.h
131 :    
132 : anton 1.52 KERN_SRC = \
133 : jwilke 1.155 mach16b.fs mach16l.fs mach32b.fs mach32l.fs mach64b.fs mach64l.fs \
134 : pazsan 1.204 machpc.fs.in \
135 : anton 1.100 kernel/aliases0.fs \
136 :     kernel/aliases.fs \
137 :     kernel/args.fs \
138 : anton 1.118 chains.fs \
139 : pazsan 1.173 kernel/cbr.fs \
140 :     kernel/cloop.fs \
141 : anton 1.100 kernel/cond.fs \
142 :     kernel/cond-old.fs \
143 : anton 1.52 cross.fs \
144 : anton 1.100 kernel/errore.fs \
145 :     kernel/files.fs \
146 :     kernel/require.fs \
147 :     kernel/paths.fs \
148 :     kernel/kernel.fs \
149 :     kernel/main.fs \
150 :     kernel/prim0.fs \
151 :     search.fs \
152 : jwilke 1.156 kernel/quotes.fs \
153 : anton 1.100 kernel/tools.fs \
154 :     kernel/toolsext.fs \
155 :     kernel/vars.fs \
156 :     kernel/accept.fs \
157 :     kernel/basics.fs \
158 : pazsan 1.107 kernel/int.fs \
159 :     kernel/comp.fs \
160 : anton 1.100 kernel/io.fs \
161 : pazsan 1.192 kernel/input.fs \
162 : anton 1.100 kernel/license.fs \
163 :     kernel/nio.fs \
164 : pazsan 1.108 kernel/saccept.fs \
165 :     kernel/doers.fs \
166 : jwilke 1.157 kernel/getdoers.fs \
167 :     kernel/pass.fs
168 : anton 1.52
169 : pazsan 1.107 EC_SRC = \
170 : anton 1.118 asm/README \
171 : pazsan 1.107 asm/bitmask.fs \
172 :     asm/numref.fs \
173 :     asm/basic.fs \
174 :     asm/generic.fs \
175 :     asm/target.fs \
176 : anton 1.118 ec/README \
177 : pazsan 1.107 ec/mirror.fs \
178 :     ec/shex.fs \
179 :     ec/builttag.fs \
180 :     ec/dotx.fs \
181 :     ec/nesting.fs
182 :    
183 : anton 1.52 GFORTH_FI_SRC = \
184 :     assert.fs \
185 : pazsan 1.181 backtrac.fs \
186 : anton 1.100 blocked.fb \
187 : anton 1.52 blocks.fs \
188 :     bufio.fs \
189 :     debug.fs \
190 : anton 1.100 debugs.fs \
191 : anton 1.162 ekey.fs \
192 : anton 1.100 savesys.fs \
193 : anton 1.52 environ.fs \
194 : pazsan 1.82 errors.fs \
195 : anton 1.172 exboot.fs \
196 : pazsan 1.181 except.fs \
197 : pazsan 1.82 extend.fs \
198 : anton 1.52 float.fs \
199 :     glocals.fs \
200 :     hash.fs \
201 :     history.fs \
202 : anton 1.64 intcomp.fs \
203 : pazsan 1.101 locals.fs \
204 : anton 1.52 look.fs \
205 : anton 1.100 search.fs \
206 : anton 1.52 see.fs \
207 : pazsan 1.85 see-ext.fs \
208 : anton 1.52 source.fs \
209 :     startup.fs \
210 :     struct.fs \
211 :     stuff.fs \
212 : pazsan 1.60 tasker.fs \
213 : anton 1.52 termsize.fs \
214 :     vt100.fs \
215 :     vt100key.fs \
216 : pazsan 1.101 wordinfo.fs \
217 : anton 1.178 arch/386/asm.fs arch/386/disasm.fs \
218 : anton 1.175 arch/alpha/asm.fs arch/alpha/disasm.fs \
219 : anton 1.180 arch/mips/asm.fs arch/mips/disasm.fs arch/mips/insts.fs
220 : anton 1.52
221 : pazsan 1.107 FORTH_SRC = $(KERN_SRC) $(GFORTH_FI_SRC) $(EC_SRC) \
222 : anton 1.75 ans-report.fs ansi.fs answords.fs \
223 : anton 1.100 code.fs colorize.fs comp-i.fs \
224 : anton 1.52 doskey.fs ds2texi.fs \
225 : pazsan 1.124 envos.fs envos.dos envos.os2 etags.fs filedump.fs fi2c.fs \
226 : pazsan 1.192 glosgen.fs gray.fs httpd.fs proxy.fs \
227 : anton 1.160 make-app.fs doc/makedoc.fs \
228 : jwilke 1.155 more.fs other.fs prims2x.fs random.fs \
229 : pazsan 1.167 table.fs string.fs \
230 : anton 1.52 tt.fs sokoban.fs \
231 : pazsan 1.181 unbuffer.fs wordsets.fs \
232 : anton 1.100 test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs \
233 : anton 1.198 test/string.fs test/other.fs test/checkans.fs \
234 : pazsan 1.65 bubble.fs siev.fs matrix.fs fib.fs \
235 : crook 1.151 oof.fs oofsampl.fs objects.fs objexamp.fs mini-oof.fs moof-exm.fs \
236 : pazsan 1.195 moofglos.fs fixpath.fs \
237 : pazsan 1.192 add.fs lib.fs sieve.fs unix/socket.fs
238 : pazsan 1.1
239 : anton 1.131 COMPAT = compat/README \
240 :     compat/anslocal.fs \
241 :     compat/assert.fs \
242 :     compat/control.fs \
243 :     compat/defer.fs \
244 :     compat/exception.fs \
245 :     compat/loops.fs \
246 :     compat/required.fs \
247 :     compat/struct.fs \
248 :     compat/vocabulary.fs
249 : anton 1.100
250 : anton 1.111 GFORTH_TEXI = doc/gforth.texi doc/version.texi
251 :    
252 : anton 1.100 ALLSUBDIRS = engine
253 :    
254 : anton 1.135 ARCHS = \
255 :     arch/generic/machine.h \
256 :     arch/m68k/machine.h \
257 :     arch/mips/machine.h \
258 :     arch/386/machine.h \
259 :     arch/hppa/machine.h \
260 :     arch/hppa/cache.c \
261 :     arch/sparc/machine.h \
262 :     arch/power/machine.h \
263 :     arch/power/_sync_cache_range.c \
264 : anton 1.179 arch/power/elf32ppc.x \
265 : anton 1.135 arch/alpha/machine.h \
266 : anton 1.185 arch/ia64/machine.h \
267 : anton 1.135 arch/4stack/README \
268 :     arch/4stack/asm.fs \
269 :     arch/4stack/mach.fs \
270 :     arch/4stack/prim.fs \
271 :     arch/4stack/mach.sh \
272 :     arch/4stack/relocate.fs \
273 :     arch/misc/README \
274 :     arch/misc/asm.fs \
275 :     arch/misc/mach.fs \
276 :     arch/misc/prim.fs \
277 :     arch/misc/sim.fs \
278 :     arch/misc/sokoban.fs \
279 :     arch/misc/tt.fs \
280 :     arch/6502/asm.fs \
281 :     arch/6502/prim.fs \
282 :     arch/6502/mach.fs \
283 :     arch/6502/zero.fs \
284 :     arch/6502/softuart.fs \
285 :     arch/6502/cold.fs \
286 :     arch/8086/asm.fs \
287 :     arch/8086/mach.fs \
288 :     arch/8086/mach.sh \
289 :     arch/8086/prim.fs \
290 :     arch/avr/asm.fs \
291 :     arch/c165/asm.fs \
292 :     arch/c165/mach.fs \
293 :     arch/c165/prim.fs \
294 :     arch/h8/asm.fs \
295 :     arch/shboom/asm.fs \
296 :     arch/shboom/compiler.fs \
297 :     arch/shboom/dis.fs \
298 :     arch/shboom/mach.fs \
299 :     arch/shboom/prim.fs \
300 :     arch/shboom/dis2.fs \
301 :     arch/shboom/sh.p \
302 : pazsan 1.192 arch/shboom/doers.fs \
303 :     arch/sharc/mach.fs \
304 :     arch/sharc/machine.h \
305 :     arch/sharc/compile.sharc \
306 :     arch/sharc/unistd.h \
307 :     arch/sharc/systypes.h \
308 :     arch/sharc/types.h \
309 :     arch/sharc/g21k-3.3.4-bp1.diff
310 : anton 1.135
311 :     SOURCES = $(CVSDIRS) compat Makefile.in Makedist.in engine/Makefile.in gforthmi.in \
312 :     configure.in configure config.sub config.guess elisp-comp missing \
313 :     acconfig.h acinclude.m4 engine/config.h.in stamp-h.in \
314 : pazsan 1.195 iss.sh install-sh INSTALL INSTALL.BINDIST NEWS README ToDo BUGS model \
315 : anton 1.135 COPYING AUTHORS ChangeLog Benchres aclocal.m4 \
316 :     doc/gforth.ds doc/texinfo.tex doc/gforth.1 doc/version.texi.in \
317 :     gforth.el \
318 :     prim engine/engine.c engine/main.c engine/io.c engine/memcmpc.c \
319 : anton 1.149 engine/signals.c $(ARCHS) \
320 : anton 1.135 engine/getopt.c engine/getopt1.c engine/getopt.h engine/select.c \
321 :     engine/ecvt.c engine/memcmp.c engine/strtol.c engine/strtoul.c \
322 :     engine/ansidecl.h engine/memmove.c \
323 :     engine/pow10.c engine/atanh.c engine/cleanalign.c \
324 :     engine/strerror.c engine/strsignal.c engine/dblsub.c \
325 : anton 1.177 engine/fnmatch.h engine/fnmatch.c \
326 : anton 1.135 INSTALL.DOS makefile.dos engine/makefile.dos mkdosmf.sed config.bat \
327 : anton 1.141 dosconf.h gforthmi.bat mkinstalldirs siteinit.fs \
328 : anton 1.135 versions.bsh \
329 :     configure.cmd mkos2mf.sed os2conf.h makefile.os2 engine/makefile.os2 \
330 :     gforthmi.cmd glosgen.glo doc/glossaries.doc \
331 :     $(INCLUDES) $(FORTH_SRC) $(COMPAT) \
332 : anton 1.158 timings.sc \
333 :     test/coretest.out test/checkans.out
334 : anton 1.135
335 : anton 1.5 RCS_FILES = ToDo model high-level
336 : pazsan 1.1
337 : anton 1.201 GEN = gforth$(EXE) gforth-ditc$(EXE) gforth-fast$(EXE) gforth-prof$(EXE) kernel/version.fs
338 : pazsan 1.1
339 :     # things that need a working forth system to be generated
340 : anton 1.200 FORTH_GEN0 = prim.b engine/prim.i engine/prim_lab.i engine/peephole.i engine/profile.i kernel/aliases.fs kernel/prim.fs
341 : pazsan 1.65 FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gforth.fi
342 : pazsan 1.1 # this is used for antidependences,
343 : pazsan 1.65 FORTH_GEN1 = $(FORTH_GEN0) @kernel_fi@
344 : anton 1.5
345 : anton 1.38 #distributed documentation
346 : anton 1.139 DOCDIST = doc/gforth.info doc/gforth.info-* doc/gforth.ps
347 : anton 1.5
348 : pazsan 1.48 KERNLS = kernl16b.fi- kernl16l.fi- \
349 :     kernl32b.fi- kernl32l.fi- \
350 :     kernl64b.fi- kernl64l.fi-
351 : pazsan 1.30
352 : pazsan 1.134 GEN_PRECIOUS = $(FORTH_GEN) $(KERNLS) doc/gforth.texi doc/gforth.dvi doc/gforth.ps Makefile Makedist engine/Makefile configure
353 : pazsan 1.1
354 : anton 1.9 #standards.info recommends this:
355 :     .SUFFIXES:
356 :     .SUFFIXES: .c .o
357 :    
358 : jwilke 1.106
359 : anton 1.100 all: kernel/version.fs more
360 : pazsan 1.1
361 : jwilke 1.106 # use this dependency for phony targets just as mostlyclean,...
362 :     FORCE: ;
363 :    
364 : anton 1.78 #this rule avoids remaking everything after minor changes in Makefile.in
365 : anton 1.100 version: Makefile.in
366 : anton 1.94 if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi
367 : anton 1.78
368 : jwilke 1.106 # With dos we use normal dos echo
369 :     # we cannot pipe the output to engine/version.h directly because
370 :     # of the "/ and \" problem. Copying works because we use the
371 :     # shell und file utilities.
372 :    
373 : anton 1.100 kernel/version.fs: version
374 : pazsan 1.123 $(MAKE) gforth$(EXE)
375 : pazsan 1.129 echo ": version-string s\" $(VERSION)\" ;" > kernel/version.fs
376 : pazsan 1.2
377 : anton 1.149 more: engine $(FORTH_GEN) $(GEN)
378 : pazsan 1.2
379 : pazsan 1.1 #from the gcc Makefile:
380 :     #"Deletion of files made during compilation.
381 :     # There are four levels of this:
382 :     # `mostlyclean', `clean', `distclean' and `realclean'.
383 :     # `mostlyclean' is useful while working on a particular type of machine.
384 :     # It deletes most, but not all, of the files made by compilation.
385 :     # It does not delete libgcc.a or its parts, so it won't have to be recompiled.
386 :     # `clean' deletes everything made by running `make all'.
387 :     # `distclean' also deletes the files made by config.
388 :     # `realclean' also deletes everything that could be regenerated automatically."
389 :    
390 : jwilke 1.106 mostlyclean: FORCE
391 : anton 1.118 -$(RM) -rf engine/*.s gforth.fi *.fi~ *.fi- kernel/version.fs \
392 :     *TAGS gforth~ \
393 : anton 1.100 doc/crossdoc.fd doc/doc.fd doc/gforth.texi doc/gforth.fns \
394 :     doc/gforth.aux doc/gforth.cp doc/gforth.cps \
395 :     doc/gforth.dvi doc/gforth.fn doc/gforth.ky doc/gforth.log \
396 :     doc/gforth.pg \
397 :     doc/gforth.toc doc/gforth.tp doc/gforth.vr html \
398 : anton 1.110 gforth-$(VERSION).tar.gz
399 : anton 1.45
400 : crook 1.146 # Just the stuff needed to rebuild the documentation nac03feb1999
401 :     docclean: FORCE
402 :     -$(RM) -rf doc/crossdoc.fd doc/doc.fd doc/gforth.texi doc/gforth.fns \
403 :     doc/gforth.aux doc/gforth.cp doc/gforth.cps \
404 :     doc/gforth.dvi doc/gforth.fn doc/gforth.ky doc/gforth.log \
405 :     doc/gforth.pg \
406 :     doc/gforth.toc doc/gforth.tp doc/gforth.vr html
407 :    
408 : anton 1.45 clean: mostlyclean
409 : anton 1.143 -$(RM) -rf $(GEN) engine/gforth$(EXE) \
410 : anton 1.201 engine/gforth-fast$(EXE) engine/gforth-ditc$(EXE) engine/gforth-prof$(EXE) \
411 : anton 1.119 *.o engine/*.o arch/*/*.o version
412 : pazsan 1.1
413 :     distclean: clean
414 : anton 1.118 -$(RM) config.cache config.log config.status \
415 : pazsan 1.134 engine/config.h Makefile Makedist engine/Makefile \
416 : anton 1.118 stamp-h engine/stamp-h \
417 : anton 1.131 doc/version.texi gforthmi
418 : pazsan 1.1
419 : anton 1.53 #realclean is useless, but dangerous, so it's commented out
420 : pazsan 1.174 realclean: distclean
421 :     -$(RM) $(GEN_PRECIOUS)
422 : pazsan 1.1
423 : anton 1.45 #mostlyclean, but also remove some of the stuff that is distributed
424 :     virtualclean: mostlyclean
425 :     -$(RM) -rf gforth.fns gforth.texi gforth.ps gforth.info* \
426 : anton 1.59 gforth-$(VERSION).tar.gz config.cache *~ */*~
427 : anton 1.45
428 : anton 1.135 #Some makes (Ultrix, SunOS, IRIX) are so broken, they cannot read the
429 :     #Makefile if it contains our dist rules. Therefore we have put these
430 :     #rules in Makedist (you can use them with GNU make on these systems).
431 : anton 1.136 dist: Makedist FORCE
432 : anton 1.135 $(MAKE) -f Makedist d$@
433 : pazsan 1.134
434 : anton 1.136 dosdist: Makedist FORCE
435 : anton 1.135 $(MAKE) -f Makedist d$@
436 : pazsan 1.134
437 : anton 1.136 srcdist: Makedist FORCE
438 : anton 1.135 $(MAKE) -f Makedist d$@
439 : pazsan 1.134
440 : anton 1.136 srconlydist: Makedist FORCE
441 : anton 1.135 $(MAKE) -f Makedist d$@
442 : pazsan 1.134
443 : anton 1.136 docdist: Makedist FORCE
444 : anton 1.135 $(MAKE) -f Makedist d$@
445 : pazsan 1.134
446 : anton 1.136 htmldist: Makedist FORCE
447 : anton 1.135 $(MAKE) -f Makedist d$@
448 : pazsan 1.1
449 : anton 1.136 bindist: Makedist FORCE
450 : anton 1.135 $(MAKE) -f Makedist d$@
451 :    
452 : anton 1.136 binonlydist: Makedist FORCE
453 : anton 1.135 $(MAKE) -f Makedist d$@
454 : anton 1.22
455 :    
456 : anton 1.15 #strip gforth, because the debugging stuff is hardly useful once
457 : anton 1.187 # gforth manages to execute more than a few primitives.
458 : anton 1.15
459 : anton 1.68 #install does not depend on gforth.info, because that would require
460 :     #supplying a lot of files that can be easily generated (only info is
461 : anton 1.187 #hard to generate).
462 :     #we rebuild gforth.fi, because it contains some path names.
463 :     #we delete $build/gforth.fi and $build/install.TAGS after installation because of ownership.
464 : anton 1.131 install: gforth$(EXE) $(FORTH_SRC) $(kernel_fi) gforth.fi gforthmi doc/gforth.1 prim install.TAGS installdirs
465 : anton 1.141 touch $(siteforthdir)/siteinit.fs
466 : pazsan 1.133 -$(RM) $(bindir)/gforth$(EXE) $(bindir)/gforth-$(VERSION)$(EXE) $(bindir)/gforthmi
467 : anton 1.147 -$(RM) $(bindir)/gforth-fast$(EXE) $(bindir)/gforth-fast-$(VERSION)$(EXE)
468 : anton 1.131 $(INSTALL_PROGRAM) -s gforth$(EXE) $(bindir)/gforth-$(VERSION)$(EXE)
469 : anton 1.150 (cd $(bindir) && $(LN_S) gforth-$(VERSION)$(EXE) gforth$(EXE))
470 : anton 1.143 $(INSTALL_PROGRAM) -s gforth-fast$(EXE) $(bindir)/gforth-fast-$(VERSION)$(EXE)
471 : anton 1.150 (cd $(bindir) && $(LN_S) gforth-fast-$(VERSION)$(EXE) gforth-fast$(EXE))
472 : anton 1.131 $(INSTALL_PROGRAM) gforthmi $(bindir)/gforthmi-$(VERSION)
473 : anton 1.147 $(INSTALL_PROGRAM) gforth-ditc $(libdir)/gforth/$(VERSION)
474 : anton 1.150 (cd $(bindir) && $(LN_S) gforthmi-$(VERSION) gforthmi)
475 : anton 1.100 -$(INSTALL_DATA) $(srcdir)/doc/gforth.1 $(man1dir)
476 : anton 1.131 -for i in $(srcdir)/doc/gforth.info*; do $(INSTALL_DATA) $$i $(infodir); done
477 :     for i in $(FORTH_SRC) $(COMPAT) prim; do \
478 :     $(INSTALL_DATA) $(srcdir)/$$i $(datadir)/gforth/$(VERSION)/$$i; \
479 : anton 1.9 done
480 : anton 1.110 $(INSTALL_DATA) $(kernel_fi) $(datadir)/gforth/$(VERSION)
481 : pazsan 1.137 @if test -d "$(emacssitelispdir)"; then \
482 : anton 1.66 $(INSTALL_DATA) $(srcdir)/gforth.el $(emacssitelispdir); \
483 : pazsan 1.55 else \
484 : anton 1.66 echo ">>>>>Please install $(srcdir)/gforth.el in your .../emacs/site-lisp directory"; \
485 : anton 1.52 fi
486 : anton 1.190 -$(RM) gforth.fi
487 : anton 1.187 GFORTHD="./gforth-ditc -p$(libdir)/gforth/site-forth$(PATHSEP)$(siteforthdir)$(PATHSEP)$(datadir)/gforth/$(VERSION) -i $(kernel_fi)" GFORTH="./gforth-ditc --die-on-signal -i $(kernel_fi) $(STARTUP)" ./gforthmi gforth.fi $(FORTHSIZES) $(STARTUP)
488 : anton 1.186 $(INSTALL_DATA) gforth.fi $(libdir)/gforth/$(VERSION)
489 :     $(INSTALL_DATA) install.TAGS $(datadir)/gforth/$(VERSION)/TAGS
490 : anton 1.187 $(RM) gforth.fi install.TAGS
491 : pazsan 1.108 @echo ">>>>> Please make an entry for Gforth in your info dir file; e.g.:"; \
492 : anton 1.72 echo "* Gforth: (gforth). A fast interpreter for the Forth language."
493 : anton 1.40
494 : anton 1.66 install-strip: install
495 :    
496 : anton 1.78 installdirs: mkinstalldirs
497 : anton 1.141 for i in $(bindir) $(man1dir) $(infodir) $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(libdir)/gforth/site-forth $(siteforthdir); do \
498 :     $(srcdir)/mkinstalldirs $$i; \
499 :     done
500 : anton 1.131 for i in $(CVSDIRS); do \
501 :     $(srcdir)/mkinstalldirs $(datadir)/gforth/$(VERSION)/`dirname $$i`; \
502 :     done
503 : anton 1.180 $(RM) -rf $(datadir)/gforth/$(VERSION)/engine
504 : anton 1.78
505 : anton 1.40 #deinstall all files specific to this version of gforth
506 :     #to uninstall version foo, type `make uninstall VERSION=foo'
507 : jwilke 1.106 uninstall: FORCE
508 : anton 1.191 -$(RM) -rf $(libdir)/gforth/$(VERSION) $(datadir)/gforth/$(VERSION) $(bindir)/gforth-$(VERSION)$(EXE) $(bindir)/gforth-fast-$(VERSION)$(EXE) $(bindir)/gforthmi-$(VERSION)
509 :     @echo -e "To remove Gforth completely, type\n$(RM) -rf $(bindir)/gforth$(EXE) $(bindir)/gforth-fast$(EXE) $(bindir)/gforthmi $(man1dir)/gforth.1 $(infodir)/gforth.info* $(datadir)/gforth $(libdir)/gforth"
510 : anton 1.40
511 : pazsan 1.123 check test: gforth$(EXE) gforth.fi
512 : anton 1.198 $(FORTH) test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs test/string.fs -e bye | diff -c - $(srcdir)/test/coretest.out
513 : anton 1.100 $(FORTH) test/other.fs -e bye
514 : anton 1.158 $(FORTH) code.fs test/checkans.fs -e bye | diff -c - $(srcdir)/test/checkans.out
515 : anton 1.193 $(FORTH) -m 100000 prims2x.fs -e \
516 : anton 1.196 "c-flag on s\" $(srcdir)/prim.b\" ' output-c ' output-c-combined process-file bye"| \
517 : jwilke 1.153 diff -c - $(srcdir)/engine/prim.i
518 : anton 1.21
519 : anton 1.143 bench: gforth-fast$(EXE) gforth.fi
520 : anton 1.40 @echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)'
521 : anton 1.143 time $(FORTH_FAST) siev.fs -e "main bye"
522 :     time $(FORTH_FAST) bubble.fs -e "main bye"
523 : pazsan 1.203 time $(FORTH_FAST) -m 200000 matrix.fs -e "main bye"
524 : anton 1.143 time $(FORTH_FAST) fib.fs -e "main bye"
525 : anton 1.40
526 : jwilke 1.106 # ------------- Make forth images
527 : anton 1.87
528 : anton 1.150 # How to make new images:
529 : jwilke 1.106 # 1. Produce an image called kernlXYZ.fi-
530 :     # the original kernel.fi is not touched because it's needed for creation
531 :     # 2. copy old kernlXYZ.fi to kernlXYZ.fi~
532 :     # that's a backup copy in case the new kernels don't work
533 :     # 3. copy new kernels to kernlXYZ.fi
534 :     # these are the ones we want to use now
535 : pazsan 1.1
536 : pazsan 1.204 kernl16l.fi-: $(KERN_SRC) kernel/version.fs mach16l.fs machpc.fs $(FORTH_GEN0)
537 : jwilke 1.205 $(FORTHB) -e 's" mach16l.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl16l.fi- $(bindir)/gforth-$(VERSION) bye"
538 : anton 1.87
539 : pazsan 1.204 kernl16b.fi-: $(KERN_SRC) kernel/version.fs mach16b.fs machpc.fs $(FORTH_GEN0)
540 : jwilke 1.205 $(FORTHB) -e 's" mach16b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl16b.fi- $(bindir)/gforth-$(VERSION) bye"
541 : anton 1.87
542 : pazsan 1.204 kernl32l.fi-: $(KERN_SRC) kernel/version.fs mach32l.fs machpc.fs $(FORTH_GEN0)
543 : jwilke 1.205 $(FORTHB) -e 's" mach32l.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl32l.fi- $(bindir)/gforth-$(VERSION) bye"
544 : anton 1.87
545 : pazsan 1.204 kernl32b.fi-: $(KERN_SRC) kernel/version.fs mach32b.fs machpc.fs $(FORTH_GEN0)
546 : jwilke 1.205 $(FORTHB) -e 's" mach32b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl32b.fi- $(bindir)/gforth-$(VERSION) bye"
547 : anton 1.100
548 : pazsan 1.204 kernl64l.fi-: $(KERN_SRC) kernel/version.fs mach64l.fs machpc.fs $(FORTH_GEN0)
549 : jwilke 1.205 $(FORTHB) -e 's" mach64l.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64l.fi- $(bindir)/gforth-$(VERSION) bye"
550 : anton 1.100
551 : pazsan 1.204 kernl64b.fi-: $(KERN_SRC) kernel/version.fs mach64b.fs machpc.fs $(FORTH_GEN0)
552 : jwilke 1.205 $(FORTHB) -e 's" mach64b.fs"' $(srcdir)/kernel/main.fs -e "save-cross kernl64b.fi- $(bindir)/gforth-$(VERSION) bye"
553 : anton 1.100
554 : pazsan 1.166 kernl-%.fi: arch/%/mach.fs $(KERN_SRC) kernel/version.fs $(FORTH_GEN0)
555 : jwilke 1.205 $(FORTHB) -e 's" $<"' $(srcdir)/kernel/main.fs -e "save-cross $@- $(bindir)/gforth-$(VERSION) bye"
556 : anton 1.100 if [ -f `echo $< | sed s/fs/sh/` ]; \
557 :     then sh `echo $< | sed s/fs/sh/` $@; \
558 :     else $(CP) $@- $@; \
559 :     fi
560 : pazsan 1.30
561 : anton 1.180 #SunOS make does not like that
562 :     #arch/%/mach.fs: arch/%/prim.fs arch/%/asm.fs
563 : pazsan 1.122
564 : anton 1.87 kernl16b.fi: $(KERNLS)
565 : anton 1.97 -$(CP) kernl16b.fi kernl16b.fi~
566 :     -$(CP) kernl16b.fi- kernl16b.fi
567 : anton 1.87
568 :     kernl16l.fi: $(KERNLS)
569 : anton 1.97 -$(CP) kernl16l.fi kernl16l.fi~
570 :     -$(CP) kernl16l.fi- kernl16l.fi
571 : anton 1.87
572 : anton 1.96 kernl32b.fi: $(KERNLS)
573 : anton 1.97 -$(CP) kernl32b.fi kernl32b.fi~
574 :     -$(CP) kernl32b.fi- kernl32b.fi
575 : anton 1.87
576 :     kernl32l.fi: $(KERNLS)
577 :     -$(CP) kernl32l.fi kernl32l.fi~
578 :     -$(CP) kernl32l.fi- kernl32l.fi
579 :    
580 :     kernl64b.fi: $(KERNLS)
581 :     -$(CP) kernl64b.fi kernl64b.fi~
582 :     -$(CP) kernl64b.fi- kernl64b.fi
583 :    
584 :     kernl64l.fi: $(KERNLS)
585 :     -$(CP) kernl64l.fi kernl64l.fi~
586 :     -$(CP) kernl64l.fi- kernl64l.fi
587 : anton 1.89
588 : anton 1.100 #kernl%.fi: kernl%.fi- $(KERNLS)
589 :     # -$(CP) $@ $@~
590 :     # -$(CP) $< $@
591 : anton 1.87
592 : pazsan 1.123 gforth.fi: $(kernel_fi) gforthmi gforth$(EXE) gforth-ditc$(EXE) $(GFORTH_FI_SRC)
593 : anton 1.171 GFORTHD="./gforth-ditc -p .$(PATHSEP)$(srcdir)" GFORTH="./gforth-ditc --die-on-signal -p .$(PATHSEP)$(srcdir) -i $(kernel_fi) $(STARTUP)" ./gforthmi gforth.fi $(FORTHSIZES) $(FORTHKFLAGS) $(STARTUP)
594 : anton 1.9
595 : jwilke 1.106 # ------------- Make c-engine
596 : pazsan 1.1
597 : anton 1.100 prim.b: prim
598 :     m4 -s $(srcdir)/prim >$@
599 :    
600 :     engine/prim.i: prim.b prims2x.fs
601 : jwilke 1.205 $(FORTHB) prims2x.fs -e "c-flag on s\" prim.b\" ' output-c ' output-c-combined process-file bye" >$@-
602 : pazsan 1.93 $(CP) $@- $@
603 :     $(RM) $@-
604 : pazsan 1.1
605 : anton 1.100 engine/prim_lab.i: prim.b prims2x.fs
606 : jwilke 1.205 $(FORTHB) prims2x.fs -e "c-flag on s\" prim.b\" ' output-label dup process-file bye" >$@-
607 : pazsan 1.93 $(CP) $@- $@
608 :     $(RM) $@-
609 : pazsan 1.1
610 : anton 1.199 engine/peephole.i: prim.b prims2x.fs
611 : jwilke 1.205 $(FORTHB) prims2x.fs -e "c-flag on s\" prim.b\" ' noop ' output-peephole process-file bye" >$@-
612 : anton 1.199 $(CP) $@- $@
613 :     $(RM) $@-
614 :    
615 : anton 1.200 engine/profile.i: prim.b prims2x.fs
616 : jwilke 1.205 $(FORTHB) prims2x.fs -e "c-flag on s\" prim.b\" ' output-profile ' output-profile process-file bye" >$@-
617 : anton 1.200 $(CP) $@- $@
618 :     $(RM) $@-
619 :    
620 : anton 1.100 kernel/aliases.fs: prim.b prims2x.fs kernel/aliases0.fs
621 :     $(CP) kernel/aliases0.fs $@-
622 : jwilke 1.205 $(FORTHB) prims2x.fs -e "forth-flag on s\" prim.b\" ' output-alias dup process-file bye" >>$@-
623 : pazsan 1.93 $(CP) $@- $@
624 :     $(RM) $@-
625 : pazsan 1.1
626 : anton 1.100 kernel/prim.fs: prim.b prims2x.fs kernel/prim0.fs
627 :     $(CP) kernel/prim0.fs kernel/prim.fs-
628 : jwilke 1.205 $(FORTHB) prims2x.fs -e "forth-flag on s\" prim.b\" ' output-forth ' output-forth-combined process-file bye" >>$@-
629 : pazsan 1.203 $(CP) $@- $@
630 :     $(RM) $@-
631 :    
632 :     kernel/peephole.fs: prim.b prims2x.fs
633 : jwilke 1.205 $(FORTHB) prims2x.fs -e "forth-flag on s\" prim.b\" ' noop ' output-forth-peephole process-file bye" >$@-
634 : pazsan 1.93 $(CP) $@- $@
635 :     $(RM) $@-
636 : anton 1.27
637 : pazsan 1.130 gforth$(EXE): engines
638 : pazsan 1.123 -$(CP) gforth$(EXE) gforth~
639 : anton 1.110 $(CP) engine/$@ $@
640 : jwilke 1.106 @GFORTH_EXE@
641 :    
642 : anton 1.143 gforth-fast$(EXE): engines
643 :     $(CP) engine/$@ $@
644 :     @GFORTHFAST_EXE@
645 :    
646 : pazsan 1.130 gforth-ditc$(EXE): engines
647 : anton 1.110 $(CP) engine/$@ $@
648 : jwilke 1.106 @GFORTHDITC_EXE@
649 : pazsan 1.130
650 : anton 1.200 gforth-prof$(EXE): engines
651 :     $(CP) engine/$@ $@
652 :    
653 :     engines: FORCE engine/Makefile engine/prim.i engine/prim_lab.i engine/peephole.i engine/profile.i
654 :     cd engine && $(MAKE) gforth$(EXE) gforth-fast$(EXE) gforth-ditc$(EXE) gforth-prof$(EXE)
655 : pazsan 1.107
656 :     # ------------- additional C primitives
657 :    
658 :     %.c: %.pri prim2cl.fs
659 :     $(FORTHK) prim2cl.fs -e "file $< altogether bye" >$@
660 :    
661 :     %.so: %.c
662 :     $(GCC) -shared $(CFLAGS) $< -o $@
663 : jwilke 1.106
664 :     # ------------- Make Documentation
665 :    
666 :     #TAGS is a GNU standard target
667 :     TAGS: gforth.TAGS
668 :     $(CP) gforth.TAGS $@
669 :    
670 : anton 1.131 install.TAGS: gforth.TAGS
671 :     sed 's:^\$(srcdir)/:$(datadir)/gforth/$(VERSION)/:' gforth.TAGS >install.TAGS
672 :    
673 : anton 1.190 gforth.TAGS: @kernel_fi@ gforth$(EXE) $(GFORTH_FI_SRC) prim.TAGS kernel.TAGS
674 : pazsan 1.181 $(FORTHK) etags.fs except.fs startup.fs -e bye
675 : jwilke 1.106 cat TAGS prim.TAGS kernel.TAGS >gforth.TAGS
676 :     rm TAGS
677 :    
678 : anton 1.100 prim.TAGS: prim.b prims2x.fs
679 : anton 1.197 #echo '2c\' >prim.TAGS.sed
680 :     #echo $(srcdir)/prim >>prim.TAGS.sed
681 : jwilke 1.205 #$(FORTHB) prims2x.fs -e "s\" $(srcdir)/prim.b\" ' output-tag dup process-file bye" | sed -f prim.TAGS.sed >$@-
682 :     $(FORTHB) prims2x.fs -e "s\" $(srcdir)/prim.b\" ' output-tag dup process-file bye" >$@-
683 : pazsan 1.93 $(CP) $@- $@
684 :     $(RM) $@-
685 : anton 1.190
686 :     kernel.TAGS:
687 :     rm kernl16l.fi-; $(MAKE) @kernel_fi@
688 : pazsan 1.1
689 : crook 1.151 doc/doc.fd: doc/makedoc.fs $(GFORTH_FI_SRC) code.fs objects.fs oof.fs moofglos.fs
690 : pazsan 1.181 $(FORTHK) -e "s\" doc/doc.fd\"" doc/makedoc.fs except.fs startup.fs code.fs objects.fs oof.fs moofglos.fs -e bye
691 : anton 1.20
692 : anton 1.100 doc/crossdoc.fd: $(KERN_SRC) kernel/version.fs $(FORTH_GEN0)
693 :     $(FORTHK) -e 's" mach32l.fs"' kernel/main.fs -e bye
694 : anton 1.35
695 : anton 1.100 doc/gforth.texi: doc/gforth.ds prim.b ds2texi.fs prims2x.fs \
696 :     doc/doc.fd doc/crossdoc.fd
697 : jwilke 1.205 $(FORTHB) ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd -e "s\" $(srcdir)/doc/gforth.ds\" r/o open-file throw ds2texi bye" >$@-
698 : pazsan 1.93 $(CP) $@- $@
699 :     $(RM) $@-
700 : anton 1.35
701 : anton 1.100 checkdoc: doc/gforth.ds prim.b ds2texi.fs prims2x.fs doc/doc.fd doc/crossdoc.fd answords.fs doc/gforth.texi
702 : anton 1.196 $(FORTH) -m 1M ds2texi.fs prims2x.fs -e "s\" $(srcdir)/prim.b\" ' register-doc ' noop process-file" doc/crossdoc.fd doc/doc.fd answords.fs -e bye
703 : anton 1.100 -grep unknown doc/gforth.texi
704 : anton 1.66
705 : anton 1.100 dvi: doc/gforth.dvi
706 : pazsan 1.1
707 : anton 1.111 doc/gforth.dvi doc/gforth.fns: $(GFORTH_TEXI)
708 : anton 1.100 cd doc; $(TEXI2DVI) gforth.texi
709 : anton 1.5
710 : anton 1.100 doc/gforth.ps: doc/gforth.dvi
711 :     $(DVI2PS) doc/gforth.dvi -o $@
712 : anton 1.40
713 : anton 1.100 info: doc/gforth.info
714 : anton 1.66
715 : anton 1.111 doc/gforth.info doc/gforth.info-*: $(GFORTH_TEXI)
716 : anton 1.100 -cd doc; $(MAKEINFO) gforth.texi
717 : anton 1.15
718 : anton 1.187 ### need makeinfo 4.0 to generate html. Otherwise, use texi2html..
719 : anton 1.111 html: $(GFORTH_TEXI)
720 : pazsan 1.115 -$(RMTREE) html
721 : anton 1.15 -mkdir html
722 : anton 1.170 cd html; $(MAKEINFO) --html -I ../doc ../doc/gforth.texi
723 :     ### cd html; $(TEXI2HTML) -menu -split_node ../doc/gforth.texi
724 : anton 1.114
725 :     doc/gforth.txt: $(GFORTH_TEXI)
726 :     -cd doc; $(MAKEINFO) --no-headers --no-split gforth.texi >gforth.txt
727 : pazsan 1.63
728 : anton 1.182 doc: info html doc/gforth.ps doc/gforth.txt TAGS
729 : pazsan 1.1
730 : anton 1.9 # For an explanation of the following Makefile rules, see node
731 :     # `Automatic Remaking' in GNU Autoconf documentation.
732 : anton 1.159
733 :     #Note: no target "$(srcdir)/configure", because that does not trigger
734 :     #unless $(srcdir)!="."
735 :     configure: configure.in aclocal.m4
736 : pazsan 1.69 cd $(srcdir) && autoconf
737 : anton 1.111
738 :     aclocal.m4: acinclude.m4 configure.in
739 :     aclocal
740 : pazsan 1.69
741 : anton 1.51 # autoheader might not change config.h.in, so touch a stamp file.
742 : anton 1.125 engine/config.h.in: stamp-h.in
743 : anton 1.100 stamp-h.in: configure.in acconfig.h
744 : pazsan 1.69 cd $(srcdir) && autoheader
745 :     echo timestamp > $(srcdir)/stamp-h.in
746 : anton 1.51
747 : anton 1.100 engine/config.h: stamp-h
748 : anton 1.125 stamp-h: engine/config.h.in config.status
749 : anton 1.100 CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status
750 : anton 1.119 echo timestamp > stamp-h
751 : anton 1.112
752 : pazsan 1.204 Makefile Makedist engine/Makefile gforthmi machpc.fs: Makefile.in Makedist.in engine/Makefile.in gforthmi.in machpc.fs.in config.status
753 : anton 1.131 CONFIG_FILES="$@" CONFIG_HEADERS=engine/config.h ./config.status
754 : anton 1.112
755 : pazsan 1.69 config.status: configure
756 : anton 1.51 ./config.status --recheck
757 : pazsan 1.30
758 : anton 1.51
759 :     #create files for DOS, because DOS cannot do it itself
760 : jwilke 1.106 makefile.dos: mkdosmf.sed Makefile.in engine/Makefile.in
761 : pazsan 1.30 sed -f mkdosmf.sed <Makefile.in >makefile.dos
762 : anton 1.100 sed -f mkdosmf.sed <engine/Makefile.in >engine/makefile.dos
763 : pazsan 1.69
764 : jwilke 1.106 makefile.os2: mkos2mf.sed Makefile.in engine/Makefile.in
765 : pazsan 1.69 sed -f mkos2mf.sed <Makefile.in >makefile.os2
766 : anton 1.100 sed -f mkos2mf.sed <engine/Makefile.in >engine/makefile.os2
767 : pazsan 1.69 echo '%.o: %.c' >>makefile.os2
768 :     echo ' $$(GCC) $$(CFLAGS) -c $$<' >>makefile.os2
769 : anton 1.100 echo '%.o: %.c' >>engine/makefile.os2
770 :     echo ' $$(GCC) $$(CFLAGS) -c $$<' >>engine/makefile.os2

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help