Subversion Repositories tendra.SVN

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 1... Line 1...
1
BASE=/u/g/release/Source
1
# $Id$
-
 
2
 
2
SRC=${BASE}/src/lib/machines/solaris/80x86/tokens
3
SRC=${BASE}/src/lib/machines/solaris/80x86/tokens
3
SRC2=${BASE}/src/lib/machines/common/tokens
4
SRC2=${BASE}/src/lib/machines/common/tokens
4
 
5
 
5
TCC=tcc
-
 
6
PL=pl
-
 
7
TLD=tld
-
 
8
TNC=tnc
-
 
9
 
-
 
10
REMOVE=rm -f
-
 
11
ECHO=echo
-
 
12
SHELL=/bin/sh
-
 
13
 
-
 
14
LIB=target_tok.tl
6
LIB=target_tok.tl
15
LIB_FILES=dep_toks.j map_toks.j except_toks.t var_toks.t
7
LIB_FILES=dep_toks.j map_toks.j except_toks.t var_toks.t
16
SYS_FILES=c_toks.j dep_toks.j map_toks.j
8
SYS_FILES=c_toks.j dep_toks.j map_toks.j
17
 
9
 
18
all : ${LIB}
10
all: ${LIB}
19
	@${ECHO} all done
11
	@${ECHO} all done
20
 
12
 
21
basic : sys.j
13
basic: sys.j
22
	@${ECHO} all done
14
	@${ECHO} all done
23
 
15
 
24
${LIB} : ${LIB_FILES}
16
${LIB}: ${LIB_FILES}
25
	@${REMOVE} ${LIB}
17
	@${REMOVE} ${LIB}
26
	${TLD} -mc -o ${LIB} ${LIB_FILES}
18
	${TLD} -mc -o ${LIB} ${LIB_FILES}
27
 
19
 
28
c_toks.j : ${SRC2}/c_toks.pl
20
c_toks.j: ${SRC2}/c_toks.pl
29
	${PL} ${SRC2}/c_toks.pl c_toks.j
21
	${PL} ${SRC2}/c_toks.pl c_toks.j
30
 
22
 
31
dep_toks.j : ${SRC}/dep_toks.pl
23
dep_toks.j: ${SRC}/dep_toks.pl
32
	${PL} ${SRC}/dep_toks.pl dep_toks.j
24
	${PL} ${SRC}/dep_toks.pl dep_toks.j
33
 
25
 
34
except_toks.j : ${SRC}/except_toks.pl
26
except_toks.j: ${SRC}/except_toks.pl
35
	${PL} ${SRC}/except_toks.pl except_toks.j
27
	${PL} ${SRC}/except_toks.pl except_toks.j
36
 
28
 
37
except_toks.t : except_toks.j ${SRC2}/except_toks
29
except_toks.t: except_toks.j ${SRC2}/except_toks
38
	${TCC} -Y${SRC2}/except_toks -Ft -o except_toks.t except_toks.j
30
	${TCC} -Y${SRC2}/except_toks -Ft -o except_toks.t except_toks.j
39
 
31
 
40
map_toks.j : ${SRC}/map_toks.pl
32
map_toks.j: ${SRC}/map_toks.pl
41
	${PL} ${SRC}/map_toks.pl map_toks.j
33
	${PL} ${SRC}/map_toks.pl map_toks.j
42
 
34
 
43
var_toks.j : ${SRC2}/var_toks.pl
35
var_toks.j: ${SRC2}/var_toks.pl
44
	${PL} ${SRC2}/var_toks.pl var_toks.j
36
	${PL} ${SRC2}/var_toks.pl var_toks.j
45
 
37
 
46
var_toks.t : var_toks.j ${SRC2}/var_toks
38
var_toks.t: var_toks.j ${SRC2}/var_toks
47
	${TCC} -Y${SRC2}/var_toks -Ft -o var_toks.t var_toks.j
39
	${TCC} -Y${SRC2}/var_toks -Ft -o var_toks.t var_toks.j
48
 
40
 
49
sys_toks.j : ${SYS_FILES}
41
sys_toks.j: ${SYS_FILES}
50
	${TLD} -o sys_toks.j ${SYS_FILES}
42
	${TLD} -o sys_toks.j ${SYS_FILES}
51
 
43
 
52
sys.j : sys_toks.j
44
sys.j: sys_toks.j
53
	${TNC} -t -d -L'.~' sys_toks.j sys.j
45
	${TNC} -t -d -L'.~' sys_toks.j sys.j
54
 
46
 
55
clean :
-
 
56
	${REMOVE} core
-
 
57
 
-
 
58
clobber : clean
47
clobber: clean
59
	${REMOVE} ${LIB}
48
	${REMOVE} ${LIB}
60
	${REMOVE} ${LIB_FILES}
49
	${REMOVE} ${LIB_FILES}
61
	${REMOVE} c_toks.j sys_toks.j sys.j
50
	${REMOVE} c_toks.j sys_toks.j sys.j
62
	${REMOVE} except_toks.j var_toks.j
51
	${REMOVE} except_toks.j var_toks.j