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/tools/tspec/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
DEST=${BASE}/lib
6
INCL_DIR=${DEST}/include
7
SRC_DIR=${DEST}/building
8
SRC=${BASE}/src/tools/tspec
9
API_DIR=${BASE}/src/lib/apis
10
 
11
# Standard variables
12
 
13
CC=tcc
14
TCCOPTS=-Yposix1 -Xs
15
CCOPTS=${TCCOPTS} -I${SRC} -DINPUT_DIR=\"${API_DIR}\"\
16
 -DINCLUDE_DIR=\"${INCL_DIR}\" -DSRC_DIR=\"${SRC_DIR}\"
17
MAIN_CC=${CC} ${CCOPTS} -c
18
LINK_CC=${CC} ${TCCOPTS}
19
LIBS=
20
 
21
REMOVE=rm -f
22
MOVE=mv
23
COPY=cp
24
ECHO=echo
25
SHELL=/bin/sh
26
 
27
# Dependencies and construction rules
28
 
29
NAME=tspec1
30
EXTRA=auto
31
EXTRA_CLEAN=
32
EXTRA_CLOBBER=
33
 
34
OFILES=hash.o index.o lex.o main.o makefile.o name.o object.o print.o\
35
 syntax.o type.o utility.o variable.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
hash.o : ${SRC}/hash.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/object.h\
47
 ${SRC}/type.h ${SRC}/utility.h ${SRC}/ossg.h ${SRC}/builtin.h
48
	${MAIN_CC} ${SRC}/hash.c
49
 
50
index.o : ${SRC}/index.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/name.h\
51
 ${SRC}/object.h ${SRC}/print.h ${SRC}/type.h ${SRC}/utility.h\
52
 ${SRC}/ossg.h ${SRC}/builtin.h
53
	${MAIN_CC} ${SRC}/index.c
54
 
55
lex.o : ${SRC}/lex.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/keyword.h\
56
 ${SRC}/lex.h ${SRC}/lexer.h ${SRC}/name.h ${SRC}/object.h ${SRC}/syntax.h\
57
 ${SRC}/type.h ${SRC}/utility.h ${SRC}/ossg.h ${SRC}/builtin.h
58
	${MAIN_CC} ${SRC}/lex.c
59
 
60
main.o : ${SRC}/main.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/index.h\
61
 ${SRC}/lex.h ${SRC}/makefile.h ${SRC}/name.h ${SRC}/object.h\
62
 ${SRC}/print.h ${SRC}/release.h ${SRC}/syntax.h ${SRC}/type.h\
63
 ${SRC}/utility.h ${SRC}/ossg.h ${SRC}/builtin.h
64
	${MAIN_CC} ${SRC}/main.c
65
 
66
makefile.o : ${SRC}/makefile.c ${SRC}/config.h ${SRC}/hash.h\
67
 ${SRC}/name.h ${SRC}/object.h ${SRC}/type.h ${SRC}/utility.h\
68
 ${SRC}/ossg.h ${SRC}/builtin.h
69
	${MAIN_CC} ${SRC}/makefile.c
70
 
71
name.o : ${SRC}/name.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/name.h\
72
 ${SRC}/object.h ${SRC}/type.h ${SRC}/utility.h ${SRC}/variable.h\
73
 ${SRC}/ossg.h ${SRC}/builtin.h
74
	${MAIN_CC} ${SRC}/name.c
75
 
76
object.o : ${SRC}/object.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/name.h\
77
 ${SRC}/object.h ${SRC}/type.h ${SRC}/utility.h ${SRC}/variable.h\
78
 ${SRC}/ossg.h ${SRC}/builtin.h
79
	${MAIN_CC} ${SRC}/object.c
80
 
81
print.o : ${SRC}/print.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/name.h\
82
 ${SRC}/object.h ${SRC}/print.h ${SRC}/type.h ${SRC}/utility.h\
83
 ${SRC}/ossg.h ${SRC}/builtin.h
84
	${MAIN_CC} ${SRC}/print.c
85
 
86
syntax.o : ${SRC}/syntax.c ${SRC}/config.h ${SRC}/hash.h ${SRC}/lex.h\
87
 ${SRC}/name.h ${SRC}/object.h ${SRC}/syntax.h ${SRC}/type.h\
88
 ${SRC}/utility.h ${SRC}/variable.h ${SRC}/ossg.h ${SRC}/builtin.h
89
	${MAIN_CC} ${SRC}/syntax.c
90
 
91
type.o : ${SRC}/type.c ${SRC}/builtin.h ${SRC}/config.h ${SRC}/hash.h\
92
 ${SRC}/object.h ${SRC}/type.h ${SRC}/utility.h ${SRC}/ossg.h
93
	${MAIN_CC} ${SRC}/type.c
94
 
95
utility.o : ${SRC}/utility.c ${SRC}/config.h ${SRC}/name.h\
96
 ${SRC}/utility.h ${SRC}/ossg.h
97
	${MAIN_CC} ${SRC}/utility.c
98
 
99
variable.o : ${SRC}/variable.c ${SRC}/config.h ${SRC}/hash.h\
100
 ${SRC}/name.h ${SRC}/object.h ${SRC}/type.h ${SRC}/utility.h\
101
 ${SRC}/ossg.h ${SRC}/builtin.h
102
	${MAIN_CC} ${SRC}/variable.c
103
 
104
clean : ${EXTRA_CLEAN}
105
	${REMOVE} ${OFILES}
106
	${REMOVE} core
107
 
108
clobber : clean ${EXTRA_CLOBBER}
109
	${REMOVE} ${NAME}
110
 
111
LEXI=lexi
112
SID=sid
113
SIDOPTS=-l ossg-c -s no-lines
114
 
115
SID_OUT=${SRC}/syntax.c ${SRC}/syntax.h
116
LEXI_OUT=${SRC}/lexer.h ${SRC}/keyword.h
117
 
118
auto : ${SID_OUT} ${LEXI_OUT}
119
 
120
${SRC}/syntax.c : ${SRC}/syntax.sid ${SRC}/syntax.act
121
	@${REMOVE} ${SID_OUT}
122
	${SID} ${SIDOPTS} ${SRC}/syntax.sid ${SRC}/syntax.act ${SID_OUT}
123
 
124
${SRC}/lexer.h : ${SRC}/lexer.lxi
125
	@${REMOVE} ${SRC}/lexer.h
126
	${LEXI} ${SRC}/lexer.lxi ${SRC}/lexer.h
127
 
128
${SRC}/keyword.h : ${SRC}/lexer.lxi
129
	@${REMOVE} ${SRC}/keyword.h
130
	${LEXI} -k ${SRC}/lexer.lxi ${SRC}/keyword.h
131
 
132
auto_clobber :
133
	${REMOVE} ${SID_OUT} ${LEXI_OUT}