Expand PMF_FN_* macros.
[netbsd-mini2440.git] / distrib / alpha / rz25dist / build_dist
blob92dad204e27bb91e1bb7b1d86dfafebf0b371f91
1 #!/bin/sh -e
2 # $NetBSD$
4 SRCBASE=/usr/src
5 TOOLSRCBASE=${SRCBASE}/toolchain
6 XSRCBASE=${SRCBASE}/xc
8 # XXX hack for toolchain.
9 HLDFLAGS=
10 export HLDFLAGS
12 echo -n "++++++ START: "; date
13 echo ""
15 cd ${TOOLSRCBASE}
16 LD_LIBRARY_PATH=`pwd`/bfd
17 export LD_LIBRARY_PATH
18 ./configure --enable-shared --enable-commonbfdlib
19 echo -n "++++++ TOOL CONF: "; date
20 make clean
21 echo -n "++++++ TOOL CLEAN: "; date
22 make
23 echo -n "++++++ TOOL MAKE: "; date
24 make install
25 echo -n "++++++ TOOL INST: "; date
26 LD_LIBRARY_PATH=""
27 export LD_LIBRARY_PATH
29 cd ${SRCBASE}
30 make build
31 echo -n "++++++ SRC BUILD: "; date
33 cd ${XSRCBASE}
34 make World
35 echo -n "++++++ X11 WORLD: "; date
36 make install install.man
37 echo -n "++++++ X11 INST: "; date
39 cd ${SRCBASE}/distrib/alpha/rz25dist
40 DESTDIR=/mnt
41 DESTDISK=sd1
42 export DESTDIR DESTDISK
43 make
44 echo -n "++++++ IMG MAKE: "; date
46 cd ${TOOLSRCBASE}
47 make distclean
48 echo -n "++++++ TOOL DISTCLEAN: "; date
50 cd ${SRCBASE}
51 make cleandir
52 echo -n "++++++ SRC CLEANDIR: "; date
54 cd ${XSRCBASE}
55 make clean
56 echo -n "++++++ X11 CLEAN: "; date
58 cd ${SRCBASE}
59 ls -l distrib/alpha/rz25dist
61 echo ""
62 echo -n "++++++ END: "; date