File: build-Tmk

package info (click to toggle)
stalin 0.11-6
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 110,396 kB
  • ctags: 163,122
  • sloc: ansic: 1,757,574; lisp: 88,332; sh: 1,514; makefile: 229; sed: 100; csh: 30
file content (37 lines) | stat: -rwxr-xr-x 1,140 bytes parent folder | download | duplicates (6)
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
#!/bin/sh
rm -rf Tmk-1.0.3.3
tar xf Tmk-1.0.3.3.tar
chmod +w Tmk-1.0.3.3/include/Tmk.h
sed -f Tmk-h.sed Tmk-1.0.3.3/include/Tmk.h >Tmk-1.0.3.3/include/Tmk.h.new
mv -f Tmk-1.0.3.3/include/Tmk.h.new Tmk-1.0.3.3/include/Tmk.h
cd Tmk-1.0.3.3
case `uname -m`/`uname -s`/`uname -r` in
  i[3456]86/Linux/2.*.*)
    make i386_linux2
    cp lib.i386_linux2/libTmk_udp.a ../include/libTmk.a
    ranlib ../include/libTmk.a;;
  sun4*/SunOS/4.*)
    make sparc_sunos4
    cp lib.sparc_sunos4/libTmk_udp.a ../include/libTmk.a
    ranlib ../include/libTmk.a;;
  sun4*/SunOS/5.*)
    make sparc_sunos5
    cp lib.sparc_sunos5/libTmk_udp.a ../include/libTmk.a;;
  IP*/IRIX64/6.*)
    make mips_irix6
    cp lib.mips_irix6/libTmk_udp.a ../include/libTmk.a;;
  alpha/Linux/2.*.*)
    make alpha_linux2
    cp lib.alpha_linux2/libTmk_udp.a ../include/libTmk.a
    ranlib ../include/libTmk.a;;
  alpha/OSF1/V4.*)
    make alpha_osf4
    cp lib.alpha_osf4/libTmk_udp.a ../include/libTmk.a
    ranlib ../include/libTmk.a;;
  *)
    echo "Cannot (yet) run Stalin/Tmk on this architecture"
    exit 1;;
  esac
cp include/Tmk.h ../include/.
cd ..
rm -rf Tmk-1.0.3.3