2 |
7u83 |
1 |
# Automatically generated by make_mf version 1.1
|
|
|
2 |
|
|
|
3 |
# Standard directories and files
|
|
|
4 |
BASE=/u/g/release/Source
|
|
|
5 |
SRC=${BASE}/src/tools/pl
|
|
|
6 |
SRC2=${SRC}/templ
|
|
|
7 |
SPEC=${BASE}/src/lib/tdf/def_4_0.db
|
|
|
8 |
|
|
|
9 |
# Standard variables
|
|
|
10 |
|
|
|
11 |
CC=tcc
|
|
|
12 |
TCCOPTS=-Yansi -Xs
|
|
|
13 |
CCOPTS=${TCCOPTS} -I${SRC}
|
|
|
14 |
MAIN_CC=${CC} ${CCOPTS} -c
|
|
|
15 |
LINK_CC=${CC} ${TCCOPTS}
|
|
|
16 |
LIBS=
|
|
|
17 |
|
|
|
18 |
REMOVE=rm -f
|
|
|
19 |
MOVE=mv
|
|
|
20 |
COPY=cp
|
|
|
21 |
ECHO=echo
|
|
|
22 |
SHELL=/bin/sh
|
|
|
23 |
|
|
|
24 |
# Dependencies and construction rules
|
|
|
25 |
|
|
|
26 |
NAME=pl
|
|
|
27 |
EXTRA=auto
|
|
|
28 |
EXTRA_CLEAN=
|
|
|
29 |
EXTRA_CLOBBER=
|
|
|
30 |
|
|
|
31 |
OFILES=analyse_sort.o consfile.o decodings.o errors.o find_id.o fnsfile.o\
|
|
|
32 |
includes.o lex.o main.o readstreams.o standardsh.o streams.o syntax.o\
|
|
|
33 |
units.o util.o
|
|
|
34 |
|
|
|
35 |
${NAME} : ${OFILES}
|
|
|
36 |
${LINK_CC} -o ${NAME} ${OFILES} ${LIBS}
|
|
|
37 |
|
|
|
38 |
all : ${EXTRA} ${NAME}
|
|
|
39 |
@${ECHO} all done
|
|
|
40 |
|
|
|
41 |
extra : ${EXTRA}
|
|
|
42 |
@${ECHO} done
|
|
|
43 |
|
|
|
44 |
analyse_sort.o : ${SRC}/analyse_sort.c ${SRC}/analyse_sort.h\
|
|
|
45 |
${SRC}/config.h ${SRC}/defs.h ${SRC}/enc_nos.h ${SRC}/encodings.h\
|
|
|
46 |
${SRC}/errors.h ${SRC}/lex.h ${SRC}/namedecs.h ${SRC}/streams.h\
|
|
|
47 |
${SRC}/syntax.h ${SRC}/util.h ${SRC}/ossg.h ${SRC}/includes.h\
|
|
|
48 |
${SRC}/units.h
|
|
|
49 |
${MAIN_CC} ${SRC}/analyse_sort.c
|
|
|
50 |
|
|
|
51 |
consfile.o : ${SRC}/consfile.c ${SRC}/config.h ${SRC}/consfile.h\
|
|
|
52 |
${SRC}/defs.h ${SRC}/syntax.h ${SRC}/ossg.h ${SRC}/errors.h\
|
|
|
53 |
${SRC}/includes.h ${SRC}/namedecs.h ${SRC}/util.h ${SRC}/units.h\
|
|
|
54 |
${SRC}/streams.h
|
|
|
55 |
${MAIN_CC} ${SRC}/consfile.c
|
|
|
56 |
|
|
|
57 |
decodings.o : ${SRC}/decodings.c ${SRC}/config.h ${SRC}/decodings.h\
|
|
|
58 |
${SRC}/enc_nos.h ${SRC}/errors.h ${SRC}/readstreams.h ${SRC}/ossg.h\
|
|
|
59 |
${SRC}/streams.h
|
|
|
60 |
${MAIN_CC} ${SRC}/decodings.c
|
|
|
61 |
|
|
|
62 |
errors.o : ${SRC}/errors.c ${SRC}/config.h ${SRC}/defs.h ${SRC}/errors.h\
|
|
|
63 |
${SRC}/streams.h ${SRC}/util.h ${SRC}/ossg.h ${SRC}/includes.h\
|
|
|
64 |
${SRC}/namedecs.h ${SRC}/units.h
|
|
|
65 |
${MAIN_CC} ${SRC}/errors.c
|
|
|
66 |
|
|
|
67 |
find_id.o : ${SRC}/find_id.c ${SRC}/config.h ${SRC}/defs.h\
|
|
|
68 |
${SRC}/find_id.h ${SRC}/syntax.h ${SRC}/util.h ${SRC}/ossg.h\
|
|
|
69 |
${SRC}/errors.h ${SRC}/includes.h ${SRC}/namedecs.h ${SRC}/units.h\
|
|
|
70 |
${SRC}/streams.h
|
|
|
71 |
${MAIN_CC} ${SRC}/find_id.c
|
|
|
72 |
|
|
|
73 |
fnsfile.o : ${SRC}/fnsfile.c ${SRC}/analyse_sort.h ${SRC}/config.h\
|
|
|
74 |
${SRC}/consfile.h ${SRC}/defs.h ${SRC}/enc_nos.h ${SRC}/encodings.h\
|
|
|
75 |
${SRC}/lex.h ${SRC}/syntax.h ${SRC}/ossg.h ${SRC}/errors.h\
|
|
|
76 |
${SRC}/includes.h ${SRC}/namedecs.h ${SRC}/util.h ${SRC}/units.h\
|
|
|
77 |
${SRC}/streams.h
|
|
|
78 |
${MAIN_CC} ${SRC}/fnsfile.c
|
|
|
79 |
|
|
|
80 |
includes.o : ${SRC}/includes.c ${SRC}/config.h ${SRC}/errors.h\
|
|
|
81 |
${SRC}/includes.h ${SRC}/util.h ${SRC}/ossg.h
|
|
|
82 |
${MAIN_CC} ${SRC}/includes.c
|
|
|
83 |
|
|
|
84 |
lex.o : ${SRC}/lex.c ${SRC}/config.h ${SRC}/consfile.h ${SRC}/defs.h\
|
|
|
85 |
${SRC}/includes.h ${SRC}/reserved.h ${SRC}/syntax.h ${SRC}/util.h\
|
|
|
86 |
${SRC}/ossg.h ${SRC}/errors.h ${SRC}/namedecs.h ${SRC}/units.h\
|
|
|
87 |
${SRC}/streams.h
|
|
|
88 |
${MAIN_CC} ${SRC}/lex.c
|
|
|
89 |
|
|
|
90 |
main.o : ${SRC}/main.c ${SRC}/config.h ${SRC}/includes.h ${SRC}/lex.h\
|
|
|
91 |
${SRC}/namedecs.h ${SRC}/release.h ${SRC}/syntax.h ${SRC}/units.h\
|
|
|
92 |
${SRC}/util.h ${SRC}/ossg.h ${SRC}/defs.h ${SRC}/errors.h\
|
|
|
93 |
${SRC}/streams.h
|
|
|
94 |
${MAIN_CC} ${SRC}/main.c
|
|
|
95 |
|
|
|
96 |
readstreams.o : ${SRC}/readstreams.c ${SRC}/config.h ${SRC}/decodings.h\
|
|
|
97 |
${SRC}/defs.h ${SRC}/enc_nos.h ${SRC}/errors.h ${SRC}/readstreams.h\
|
|
|
98 |
${SRC}/util.h ${SRC}/ossg.h ${SRC}/includes.h ${SRC}/namedecs.h\
|
|
|
99 |
${SRC}/units.h ${SRC}/streams.h
|
|
|
100 |
${MAIN_CC} ${SRC}/readstreams.c
|
|
|
101 |
|
|
|
102 |
standardsh.o : ${SRC}/standardsh.c ${SRC}/config.h ${SRC}/defs.h\
|
|
|
103 |
${SRC}/enc_nos.h ${SRC}/encodings.h ${SRC}/errors.h ${SRC}/standardsh.h\
|
|
|
104 |
${SRC}/streams.h ${SRC}/units.h ${SRC}/util.h ${SRC}/ossg.h\
|
|
|
105 |
${SRC}/includes.h ${SRC}/namedecs.h
|
|
|
106 |
${MAIN_CC} ${SRC}/standardsh.c
|
|
|
107 |
|
|
|
108 |
streams.o : ${SRC}/streams.c ${SRC}/config.h ${SRC}/defs.h\
|
|
|
109 |
${SRC}/enc_nos.h ${SRC}/errors.h ${SRC}/streams.h ${SRC}/util.h\
|
|
|
110 |
${SRC}/ossg.h ${SRC}/includes.h ${SRC}/namedecs.h ${SRC}/units.h
|
|
|
111 |
${MAIN_CC} ${SRC}/streams.c
|
|
|
112 |
|
|
|
113 |
syntax.o : ${SRC}/syntax.c ${SRC}/analyse_sort.h ${SRC}/config.h\
|
|
|
114 |
${SRC}/consfile.h ${SRC}/defs.h ${SRC}/enc_nos.h ${SRC}/encodings.h\
|
|
|
115 |
${SRC}/find_id.h ${SRC}/lex.h ${SRC}/readstreams.h ${SRC}/standardsh.h\
|
|
|
116 |
${SRC}/syntax.h ${SRC}/units.h ${SRC}/util.h ${SRC}/ossg.h\
|
|
|
117 |
${SRC}/errors.h ${SRC}/includes.h ${SRC}/namedecs.h ${SRC}/streams.h
|
|
|
118 |
${MAIN_CC} ${SRC}/syntax.c
|
|
|
119 |
|
|
|
120 |
units.o : ${SRC}/units.c ${SRC}/config.h ${SRC}/defs.h ${SRC}/enc_nos.h\
|
|
|
121 |
${SRC}/encodings.h ${SRC}/errors.h ${SRC}/includes.h ${SRC}/readstreams.h\
|
|
|
122 |
${SRC}/streams.h ${SRC}/syntax.h ${SRC}/units.h ${SRC}/util.h\
|
|
|
123 |
${SRC}/ossg.h ${SRC}/namedecs.h
|
|
|
124 |
${MAIN_CC} ${SRC}/units.c
|
|
|
125 |
|
|
|
126 |
util.o : ${SRC}/util.c ${SRC}/config.h ${SRC}/errors.h ${SRC}/util.h\
|
|
|
127 |
${SRC}/ossg.h
|
|
|
128 |
${MAIN_CC} ${SRC}/util.c
|
|
|
129 |
|
|
|
130 |
clean : ${EXTRA_CLEAN}
|
|
|
131 |
${REMOVE} ${OFILES}
|
|
|
132 |
${REMOVE} core
|
|
|
133 |
|
|
|
134 |
clobber : clean ${EXTRA_CLOBBER}
|
|
|
135 |
${REMOVE} ${NAME}
|
|
|
136 |
|
|
|
137 |
MAKE_TDF=make_tdf
|
|
|
138 |
SID=sid
|
|
|
139 |
SIDOPTS=-l ossg-c -s no-lines
|
|
|
140 |
SORT=sort
|
|
|
141 |
|
|
|
142 |
SID_OUT=${SRC}/syntax.c ${SRC}/syntax.h
|
|
|
143 |
|
|
|
144 |
GEN_FILES=${SRC}/consfile.c ${SRC}/consfile.h ${SRC}/decodings.c\
|
|
|
145 |
${SRC}/decodings.h ${SRC}/encodings.h ${SRC}/enc_nos.h ${SRC}/fnsfile.c
|
|
|
146 |
|
|
|
147 |
auto : ${SID_OUT} ${GEN_FILES}
|
|
|
148 |
|
|
|
149 |
${SRC}/syntax.c : ${SRC}/syntax.sid ${SRC}/syntax.act
|
|
|
150 |
@${REMOVE} ${SID_OUT}
|
|
|
151 |
${SID} ${SIDOPTS} ${SRC}/syntax.sid ${SRC}/syntax.act ${SID_OUT}
|
|
|
152 |
|
|
|
153 |
${SRC}/consfile.c : ${SRC2}/consfile.c ${SPEC}
|
|
|
154 |
@${REMOVE} ${SRC}/consfile.c
|
|
|
155 |
${MAKE_TDF} ${SPEC} ${SRC2}/consfile.c | ${SORT} > ${SRC}/consfile.c
|
|
|
156 |
|
|
|
157 |
${SRC}/consfile.h : ${SRC2}/consfile.h ${SPEC}
|
|
|
158 |
@${REMOVE} ${SRC}/consfile.h
|
|
|
159 |
${MAKE_TDF} ${SPEC} ${SRC2}/consfile.h ${SRC}/consfile.h
|
|
|
160 |
|
|
|
161 |
${SRC}/decodings.c : ${SRC2}/decodings.c ${SPEC}
|
|
|
162 |
@${REMOVE} ${SRC}/decodings.c
|
|
|
163 |
${MAKE_TDF} ${SPEC} ${SRC2}/decodings.c ${SRC}/decodings.c
|
|
|
164 |
|
|
|
165 |
${SRC}/decodings.h : ${SRC2}/decodings.h ${SPEC}
|
|
|
166 |
@${REMOVE} ${SRC}/decodings.h
|
|
|
167 |
${MAKE_TDF} ${SPEC} ${SRC2}/decodings.h ${SRC}/decodings.h
|
|
|
168 |
|
|
|
169 |
${SRC}/encodings.h : ${SRC2}/encodings.h ${SPEC}
|
|
|
170 |
@${REMOVE} ${SRC}/encodings.h
|
|
|
171 |
${MAKE_TDF} ${SPEC} ${SRC2}/encodings.h ${SRC}/encodings.h
|
|
|
172 |
|
|
|
173 |
${SRC}/enc_nos.h : ${SRC2}/enc_nos.h ${SPEC}
|
|
|
174 |
@${REMOVE} ${SRC}/enc_nos.h
|
|
|
175 |
${MAKE_TDF} ${SPEC} ${SRC2}/enc_nos.h ${SRC}/enc_nos.h
|
|
|
176 |
|
|
|
177 |
${SRC}/fnsfile.c : ${SRC2}/fnsfile.c ${SPEC}
|
|
|
178 |
@${REMOVE} ${SRC}/fnsfile.c
|
|
|
179 |
${MAKE_TDF} ${SPEC} ${SRC2}/fnsfile.c ${SRC}/fnsfile.c
|
|
|
180 |
|
|
|
181 |
auto_clobber :
|
|
|
182 |
${REMOVE} ${SID_OUT}
|
|
|
183 |
${REMOVE} ${GEN_FILES}
|