Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / shared / Makefile
1 # @(#) $Header: Makefile,v 1.2 89/09/27 03:30:10 leres Exp $ (LBL)
2
3 LIBMH= libmh.so.1.1
4
5
6 all: ${LIBMH}
7
8
9 ${LIBMH}: ../sbr/libmh.a ../zotnet/libzot.a ../mts/libmts.a 
10         rm -rf _tmp
11         mkdir _tmp
12         cd _tmp ; ar x ../../sbr/libmh.a
13         cd _tmp ; ar x ../../zotnet/libzot.a
14         cd _tmp ; ar x ../../mts/libmts.a
15 #       cd _tmp ; ar x ../../uip/libuip.a
16         rm -f ${LIBMH}
17         cd _tmp ; ld -o ../${LIBMH} -assert pure-text *.o
18         rm -rf _tmp
19
20 install: ${LIBMH}
21         install ${LIBMH} /usr/lib
22         ldconfig
23
24 clean:
25         rm -rf _tmp ${LIBMH}