|
|
1.1 root 1: CFLAGS=-g
2: CC=CC
3: NPROC=3
4: ALL=vsw vswconf
5:
6: all:V: $ALL
7:
8: install:V: /usr/bin/vsw
9:
10: /usr/bin/vsw: vsw
11: cp vsw $target; chmod 775 $target
12:
13: vsw: main.o line.o switch.o crossbar.o dynasty.o system10.o
14: $CC $CFLAGS -o $target $prereq -lipc
15:
16: vswconf: vswconf.c
17: cc $CFLAGS -o $target $prereq -lipc
18:
19: clobber:V:
20: rm -f *.o core $ALL vswconlog
21:
22: init.vsw:VQ: vswconf
23: echo "chatty script takes about 2min, status at end"
24: vswconf -f < conf.script | tee temp
25: is=`ed - temp <<'EOF'
26: ?LEVEL 3 SRC?ka
27: 1,'a+d
28: 4,$d
29: ,s/.*: //
30: ,s/ //g
31: 1,2s/$/x/
32: ,jp
33: Q
34: EOF`
35: should="20x20x4"
36: if test "$is" = $should
37: then
38: echo "**** setup succeeded, configured to $should"
39: else
40: echo "**** setup failed, wanted $should, got '$is'"
41: fi
42:
43: main.o switch.o line.o: switch.h crossbar.h
44: crossbar.o dynasty.o system10.o: crossbar.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.