blob: c75583a176e574805e02f5ea23f51f32691ef633 (
plain)
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
|
</$objtype/mkfile
CFLAGS=$CFLAGS
UPDATEFLAGS=
FILES=\
nbnsconv\
dump\
message\
findname\
addname\
alarm\
nbss\
nbns\
nbname\
alloc\
nbresolve\
smbconv\
smbnegotiate\
smballoc\
smbcommon\
smbcomsessionsetupandx\
smbstring\
smbresponse\
smbcomtreeconnectandx\
smbtree\
smbservice\
smbcomtransaction\
smbrap2\
smbcomdir\
smbglobals\
smboptable\
smbconnect\
smbbuffer\
nbdgram\
nbdgramconv\
nbdgramdump\
nb\
nblistener\
smbtransaction\
smbbrowse\
smbtrans2find\
smbidmap\
smbcomecho\
smbcomopen\
smbtime\
smbpath\
smbfile\
smbtrans2query\
smbcomclose\
smbcomread\
smblog\
smbcomquery\
smbcomfindclose2\
smbcomtreedisconnect\
smbsharedfile\
smblisten\
smbrap2client\
smbtrans2client\
smbcomdelete\
smbdircache\
smbrep\
smbcomflush\
smbcomwrite\
smbclientopen\
smbcomsetinfo\
smbcomcreatedir\
smbcomdeletedir\
smbcomrename\
smbcomlocking\
smbtrans2set\
LIBCFILES=${FILES:%=%.c}
LIBOFILES=${FILES:%=%.$O}
SLIB=libsmb.a.$O
LIB=$SLIB\
HFILES=\
headers.h\
netbios.h\
smb.h\
smbfns.h\
smbdat.h
TARG=\
aquarela\
cifscmd\
# testconnect\
# testnbdgram\
# testtime\
CFILES=${TARG:%=%.c} $LIBCFILES
BIN=/$objtype/bin
it:V: all
</sys/src/cmd/mkmany
INC=
CFLAGS=$INC $CFLAGS $XCFLAGS
$SLIB(%.$O):N: %.$O
$SLIB: ${LIBOFILES:%=$SLIB(%)}
names = `{echo $newprereq |sed 's/ /\n/g' |sed -n 's/'$SLIB'\(([^)]+)\)/\1/gp'}
ar vu $SLIB $names
# rm $names
clean:V:
rm -f *.[$OS] y.tab.? y.debug y.output [$OS].* $TARG *.log
|