Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – //branches/tendra4/src/utilities/calculus/Makefile – Rev 2

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
# Automatically generated by make_mf version 1.1
2
 
3
# Standard directories and files
4
BASE=/u/g/release/Source
5
UTIL=${BASE}/src/utilities
6
SRC=${UTIL}/calculus
7
SRC2=${SRC}/obj_c
8
SRC2A=${SRC}/obj_tok
9
SRCX=${UTIL}/shared
10
 
11
# Standard variables
12
 
13
CC=tcc
14
TCCOPTS=-Yansi -Xs
15
CCOPTS=${TCCOPTS} -I${SRC} -I${SRC2} -I${SRCX}
16
MAIN_CC=${CC} ${CCOPTS} -c
17
LINK_CC=${CC} ${TCCOPTS}
18
LIBS=
19
 
20
REMOVE=rm -f
21
MOVE=mv
22
COPY=cp
23
ECHO=echo
24
SHELL=/bin/sh
25
 
26
# Dependencies and construction rules
27
 
28
NAME=calculus
29
EXTRA=auto
30
EXTRA_CLEAN=
31
EXTRA_CLOBBER=
32
 
33
OFILES=calculus.o check.o code.o common.o disk.o error.o lex.o main.o\
34
 output.o pretty.o print.o read.o syntax.o template.o token.o write.o\
35
 xalloc.o
36
 
37
${NAME} : ${OFILES}
38
	${LINK_CC} -o ${NAME} ${OFILES} ${LIBS}
39
 
40
all : ${EXTRA} ${NAME}
41
	@${ECHO} all done
42
 
43
extra : ${EXTRA}
44
	@${ECHO} done
45
 
46
calculus.o : ${SRC2}/calculus.c ${SRC2}/assert_def.h ${SRC2}/calculus.h\
47
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/extra.h ${SRCX}/xalloc.h\
48
 ${SRCX}/ossg.h ${SRCX}/ossg_api.h
49
	${MAIN_CC} ${SRC2}/calculus.c
50
 
51
check.o : ${SRC}/check.c ${SRC2}/calculus.h ${SRC}/check.h\
52
 ${SRC}/common.h ${SRCX}/config.h ${SRCX}/error.h ${SRC}/output.h\
53
 ${SRC2}/type_ops.h ${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
54
	${MAIN_CC} ${SRC}/check.c
55
 
56
code.o : ${SRC}/code.c ${SRC2}/calculus.h ${SRC}/code.h ${SRC}/common.h\
57
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/lex.h ${SRC}/output.h\
58
 ${SRC}/suffix.h ${SRC2}/type_ops.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
59
	${MAIN_CC} ${SRC}/code.c
60
 
61
common.o : ${SRC}/common.c ${SRC2}/calculus.h ${SRC}/common.h\
62
 ${SRCX}/config.h ${SRCX}/error.h ${SRC2}/type_ops.h ${SRCX}/xalloc.h\
63
 ${SRCX}/ossg.h ${SRCX}/ossg_api.h
64
	${MAIN_CC} ${SRC}/common.c
65
 
66
disk.o : ${SRC}/disk.c ${SRC2}/calculus.h ${SRC}/code.h ${SRC}/common.h\
67
 ${SRCX}/config.h ${SRC}/disk.h ${SRC}/output.h ${SRC}/suffix.h\
68
 ${SRC2}/type_ops.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
69
	${MAIN_CC} ${SRC}/disk.c
70
 
71
error.o : ${SRCX}/error.c ${SRCX}/config.h ${SRCX}/error.h\
72
 ${SRCX}/release.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
73
	${MAIN_CC} ${SRCX}/error.c
74
 
75
lex.o : ${SRC}/lex.c ${SRC2}/calculus.h ${SRCX}/config.h ${SRCX}/error.h\
76
 ${SRC}/keyword.h ${SRC}/lex.h ${SRC}/lexer.h ${SRC}/syntax.h\
77
 ${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
78
	${MAIN_CC} ${SRC}/lex.c
79
 
80
main.o : ${SRC}/main.c ${SRC2}/calculus.h ${SRC}/check.h ${SRC}/code.h\
81
 ${SRC}/common.h ${SRCX}/config.h ${SRC}/disk.h ${SRCX}/error.h\
82
 ${SRC}/lex.h ${SRC}/output.h ${SRC}/pretty.h ${SRC}/print.h ${SRC}/read.h\
83
 ${SRC}/template.h ${SRC}/token.h ${SRC}/write.h ${SRCX}/xalloc.h\
84
 ${SRCX}/ossg.h ${SRCX}/ossg_api.h
85
	${MAIN_CC} ${SRC}/main.c
86
 
87
output.o : ${SRC}/output.c ${SRC2}/calculus.h ${SRC}/common.h\
88
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/lex.h ${SRC}/output.h\
89
 ${SRC}/suffix.h ${SRC2}/type_ops.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
90
	${MAIN_CC} ${SRC}/output.c
91
 
92
pretty.o : ${SRC}/pretty.c ${SRC2}/calculus.h ${SRC}/common.h\
93
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/pretty.h ${SRC}/print_def.h\
94
 ${SRCX}/ossg.h ${SRCX}/ossg_api.h ${SRC2}/cmd_ops.h ${SRC2}/type_ops.h
95
	${MAIN_CC} ${SRC}/pretty.c
96
 
97
print.o : ${SRC}/print.c ${SRC2}/calculus.h ${SRC}/code.h ${SRC}/common.h\
98
 ${SRCX}/config.h ${SRC}/output.h ${SRC}/print.h ${SRC}/suffix.h\
99
 ${SRC2}/type_ops.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
100
	${MAIN_CC} ${SRC}/print.c
101
 
102
read.o : ${SRC}/read.c ${SRC2}/calculus.h ${SRC}/common.h\
103
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/output.h ${SRC}/read.h\
104
 ${SRC}/read_def.h ${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h\
105
 ${SRC}/disk.h ${SRC2}/type_ops.h
106
	${MAIN_CC} ${SRC}/read.c
107
 
108
syntax.o : ${SRC}/syntax.c ${SRC2}/calculus.h ${SRC}/common.h\
109
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/extra.h ${SRC}/lex.h\
110
 ${SRC}/syntax.h ${SRC2}/type_ops.h ${SRCX}/xalloc.h ${SRCX}/ossg.h\
111
 ${SRCX}/ossg_api.h
112
	${MAIN_CC} ${SRC}/syntax.c
113
 
114
template.o : ${SRC}/template.c ${SRC2}/calculus.h ${SRC2}/cmd_ops.h\
115
 ${SRC}/common.h ${SRCX}/config.h ${SRCX}/error.h ${SRC}/output.h\
116
 ${SRC}/template.h ${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
117
	${MAIN_CC} ${SRC}/template.c
118
 
119
token.o : ${SRC}/token.c ${SRC2}/calculus.h ${SRC}/code.h ${SRC}/common.h\
120
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/lex.h ${SRC}/output.h\
121
 ${SRC}/suffix.h ${SRC}/token.h ${SRC2}/type_ops.h ${SRCX}/ossg.h\
122
 ${SRCX}/ossg_api.h
123
	${MAIN_CC} ${SRC}/token.c
124
 
125
write.o : ${SRC}/write.c ${SRC2}/calculus.h ${SRC}/common.h\
126
 ${SRCX}/config.h ${SRCX}/error.h ${SRC}/read.h ${SRC}/write.h\
127
 ${SRC}/write_def.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h ${SRC}/disk.h\
128
 ${SRC2}/type_ops.h
129
	${MAIN_CC} ${SRC}/write.c
130
 
131
xalloc.o : ${SRCX}/xalloc.c ${SRCX}/config.h ${SRCX}/error.h\
132
 ${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
133
	${MAIN_CC} ${SRCX}/xalloc.c
134
 
135
clean : ${EXTRA_CLEAN}
136
	${REMOVE} ${OFILES}
137
	${REMOVE} core
138
 
139
clobber : clean ${EXTRA_CLOBBER}
140
	${REMOVE} ${NAME}
141
 
142
CALCULUS=calculus
143
LEXI=lexi
144
SID=sid
145
SIDOPTS=-l ossg-c -s no-lines
146
 
147
SID_OUT=${SRC}/syntax.c ${SRC}/syntax.h
148
C_OUT=${SRC2}/calculus.h ${SRC2}/type_ops.h
149
TOK_OUT=${SRC2A}/calculus.h ${SRC2A}/type_ops.h
150
DISK_OUT=${SRC}/read_def.h ${SRC}/write_def.h ${SRC}/print_def.h
151
LEXI_OUT=${SRC}/lexer.h ${SRC}/keyword.h
152
 
153
auto : ${SID_OUT} ${C_OUT} ${TOK_OUT} ${DISK_OUT} ${LEXI_OUT}
154
 
155
${SRC}/syntax.c : ${SRC}/syntax.sid ${SRC}/syntax.act
156
	@${REMOVE} ${SID_OUT}
157
	${SID} ${SIDOPTS} ${SRC}/syntax.sid ${SRC}/syntax.act ${SID_OUT}
158
 
159
${SRC2}/calculus.h : ${SRC}/calculus.alg
160
	@${REMOVE} ${SRC2}/*.h
161
	${CALCULUS} -a -x ${SRC}/calculus.alg ${SRC2}
162
 
163
${SRC2A}/calculus.h : ${SRC}/calculus.alg
164
	@${REMOVE} ${SRC2A}/*.h
165
	${CALCULUS} -a -x -t ${SRC}/calculus.alg ${SRC2A}
166
 
167
${SRC}/read_def.h : ${SRC}/calculus.alg ${SRC}/disk.alg
168
	@${REMOVE} ${SRC}/read_def.h ${SRC}/write_def.h
169
	${CALCULUS} -a -x -d ${SRC}/calculus.alg ${SRC}/disk.alg ${SRC}
170
 
171
${SRC}/print_def.h : ${SRC}/calculus.alg
172
	@${REMOVE} ${SRC}/print_def.h
173
	${CALCULUS} -a -x -p ${SRC}/calculus.alg ${SRC}
174
 
175
${SRC}/lexer.h : ${SRC}/lexer.lxi
176
	@${REMOVE} ${SRC}/lexer.h
177
	${LEXI} ${SRC}/lexer.lxi ${SRC}/lexer.h
178
 
179
${SRC}/keyword.h : ${SRC}/lexer.lxi
180
	@${REMOVE} ${SRC}/keyword.h
181
	${LEXI} -k ${SRC}/lexer.lxi ${SRC}/keyword.h
182
 
183
auto_clobber :
184
	${REMOVE} ${SID_OUT}
185
	${REMOVE} ${SRC2}/*.h
186
	${REMOVE} ${SRC2A}/*.h
187
	${REMOVE} ${DISK_OUT}
188
	${REMOVE} ${LEXI_OUT}