aboutsummaryrefslogtreecommitdiff
path: root/sys/fmtio/mkpkg
blob: b27d6a5f42ea9c3e978163bcd766917d179cb8a7 (plain) (blame)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Formatted i/o (FMTIO) portion of the system library.

$checkout libsys.a lib$
$update   libsys.a
$checkin  libsys.a lib$
$exit

tfiles:
	$ifnewer (evvexpr.gy, evvexpr.y)
	    $generic -k evvexpr.gy -o evvexpr.y
	$endif

	$ifnewer (evvexpr.y, evvexpr.x)
	    $ifeq (HOSTID, unix)
		$echo "fmtio/evvexpr.x is out of date; rebuilding with XYACC:"
		!(xyacc evvexpr.y; mv -f ytab.x evvexpr.x)
	    $else
		$echo "fmtio/evvexpr.x is out of date; rebuild with XYACC"
	    $endif
	$endif

	$ifnewer (evexpr.y, evexpr.x)
	    $ifeq (HOSTID, unix)
		$echo "fmtio/evexpr.x is out of date; rebuilding with XYACC:"
		!(xyacc evexpr.y; mv -f ytab.x evexpr.x)
	    $else
		$echo "fmtio/evexpr.x is out of date; rebuild with XYACC"
	    $endif
	$endif
	;

libsys.a:
	$ifeq (USE_GENERIC, yes) $call tfiles $endif

	cctoc.x	escchars.inc <chars.h> <ctype.h>
	chdeposit.x	
	chfetch.x	
	chrlwr.x	<ctype.h>
	chrupr.x	<ctype.h>
	clprintf.x	<printf.h>
	clscan.x	scan.com
	ctocc.x		escchars.inc <ctype.h>
	ctod.x		<ctype.h> <mach.h>
	ctoi.x		<ctype.h>
	ctol.x		<ctype.h>
	ctor.x		<mach.h>
	ctotok.x	tokdata.inc <chars.h> <lexnum.h> <ctotok.h> <ctype.h>
	ctowrd.x	<chars.h> <ctype.h>
	ctox.x		<ctype.h>
	dtcscl.x	
	dtoc.x		<ctype.h> <printf.h>
	dtoc3.x		<ctype.h> <mach.h> <printf.h>
	eprintf.x	<printf.h>
	evexpr.x	evexpr.com <ctype.h> <evexpr.h> <lexnum.h> <mach.h>
	evvexpr.x	evvexpr.com <ctype.h> <evvexpr.h> <lexnum.h>\
			<mach.h> <math.h>
	fmterr.x	
	fmtinit.x	fmt.com <printf.h>
	fmtread.x	fmt.com <printf.h>
	fmtsetcol.x	<ctype.h> <printf.h>
	fmtstr.x	<ctype.h>
	fpradv.x	<chars.h> <ctype.h> <printf.h> fmt.com
	fprfmt.x	<ctype.h> <printf.h> fmt.com
	fprintf.x	<printf.h>
	fprntf.x	<printf.h> fmt.com
	fscan.x		scan.com
	gargb.x		scan.com <ctype.h>
	gargc.x		scan.com
	gargd.x		scan.com
	gargi.x		<mach.h>
	gargl.x		<mach.h>
	gargr.x	
	gargrad.x	scan.com
	gargs.x		<mach.h>
	gargstr.x	scan.com
	gargtok.x	scan.com
	gargwrd.x	scan.com
	gargx.x		scan.com
	gctod.x		<chars.h> <ctype.h> <lexnum.h>
	gctol.x		<ctype.h>
	gctox.x		<chars.h> <ctype.h> <lexnum.h>
	gltoc.x		<ctype.h> <mach.h>
	gstrcat.x	
	gstrcpy.x	
	itoc.x		<ctype.h> <mach.h>
	lexnum.x	lexdata.inc <ctype.h> <lexnum.h> <mach.h>
	ltoc.x	
	nscan.x		scan.com
	parg.x		<ctype.h> <mach.h> <printf.h> fmt.com
	pargb.x		<printf.h>
	pargstr.x	<printf.h> fmt.com
	pargx.x		<ctype.h> <mach.h> <printf.h> fmt.com
	patmatch.x	<chars.h> <ctype.h> <pattern.h>
	printf.x	<printf.h>
	resetscan.x	scan.com
	scanc.x		scan.com
	sprintf.x	<printf.h>
	sscan.x		scan.com
	strcat.x	
	strcmp.x	
	strcpy.x	
	strdic.x	<ctype.h>
	streq.x	
	strge.x	
	strgt.x	
	stridx.x	
	stridxs.x	
	strldx.x	
	strldxs.x	
	strle.x	
	strlen.x	
	strlt.x	
	strlwr.x	<ctype.h>
	strmac.x	<ctype.h>
	strmatch.x	<ctype.h> <pattern.h>
	strncmp.x	
	strne.x	
	strsearch.x	
	strsrt.x	
	strtbl.x	
	strupr.x	<ctype.h>
	xevgettok.x	<lexnum.h> <ctype.h> <evexpr.h>
	xvvgettok.x	<lexnum.h> <ctype.h> <mach.h> <math.h> <evexpr.h>
	xtoc.x	
	;