-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
95 lines (88 loc) · 2.21 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# NAME
# Makefile - for management of the tile forth environment
# SYNOPSIS
# make [option]
# DESCRIPTION
# General environment coordinator for the threaded interpreter language
# environment (TILE). Allows packaging for distribution etc.
# OPTIONS
# forth
# Compiles the forth compiler/interpreter.
# new
# Recompile the forth application without optimization.
# opt
# Recompile the forth application with optimization.
# index
# Creates index file for available library defintions.
# help
# Creates the documentation file for the emacs forth mode.
# kit
# Pack the available files for mailing.
# tar
# Pack the available files for ftp'ing.
# SEE ALSO
# make(1), makekit(1), tar(1)
# AUTHOR
# Copyright (C) 1990, Mikael R.K. Patel
# Computer Aided Design Laboratory (CADLAB)
# Department of Computer and Information Science
# Linkoping University
# S-581 83 LINKOPING
# SWEDEN
# Email: [email protected]
# HISTORY
# Started on: 23 May 1990
# Last updated on: 10 September 1990
#
# Compile tile forth
forth:
cd src ; make
# Recompile tile forth kernel without optimization
new:
cd src ; make new
# Recompile tile forth kernel with optimization
opt:
cd src ; make opt
# Create index file for library definitions
index:
makeindex lib/* tst/* > INDEX
# Create documentation files for the emacs forth mode
help:
rm -f doc/*
makedoc man/man3/*
mv man/man3/*.doc doc
# Packs the available source and documentation for mailing
kit:
touch src/forth.o
touch bin/forth
mv src/*.o tmp
mv bin/forth tmp
makekit -ntile.kit. \
Makefile COPYING README PORTING INSTALL INDEX \
bin bin/* src src/* lib lib/* tst tst/* \
man man/man1 man/man1/* \
> tile.kit.index
mv tile.kit.* shar
makekit -ntile.man. \
doc man/man3 man/man3/* \
> tile.man.index
mv tile.man.* shar
mv tmp/*.o src
mv tmp/forth bin
date > shar/tile.kit.date
# Packs the available source and documentation for ftp'ing
tar:
touch src/forth.o
touch bin/forth
mv src/*.o tmp
mv bin/forth tmp
mv doc/* tmp
tar -cvf tile.tar \
Makefile COPYING README PORTING INSTALL INDEX \
bin src lib tst doc man
compress tile.tar
mv tile.tar.Z shar
mv tmp/*.o src
mv tmp/forth bin
mv tmp/*.doc doc
date > shar/tile.tar.date