-build1:
- @echo +++ installing includes
- cd include; make ${MFLAGS} DESTDIR=${DESTDIR} install
- @echo
- @echo +++ building dependencies
- @for i in ${ALL}; do \
- echo; echo +++ dependencies for $$i; \
- (cd $$i; make ${MFLAGS} depend); \
- done
- @echo +++ compiling C compiler
- cd usr.bin/cpp; make ${MFLAGS}
- cd usr.libexec/c2; make ${MFLAGS}
- cd usr.libexec/pcc; make ${MFLAGS}
- @echo
- @echo +++ installing C compiler
- cd usr.bin/cpp; make ${MFLAGS} install
- cd usr.libexec/c2; make ${MFLAGS} install
- cd usr.libexec/pcc; make ${MFLAGS} install
- @echo
- @echo +++ compiling C library
- cd usr.lib/libc; make ${MFLAGS} ${LIBCDEFS}
- @echo
- @echo +++ installing C library
- cd usr.lib/libc; make ${MFLAGS} DESTDIR=${DESTDIR} install
- @echo
- @echo +++ cleaning C compiler
- cd usr.bin/cpp; make ${MFLAGS} clean
- cd usr.libexec/c2; make ${MFLAGS} clean
- cd usr.libexec/pcc; make ${MFLAGS} clean
- @echo
- @echo +++ re-compiling C compiler
- cd usr.bin/cpp; make ${MFLAGS}
- cd usr.libexec/c2; make ${MFLAGS}
- cd usr.libexec/pcc; make ${MFLAGS}
- @echo
- @echo +++ re-installing C compiler
- cd usr.bin/cpp; make ${MFLAGS} install
- cd usr.libexec/c2; make ${MFLAGS} install
- cd usr.libexec/pcc; make ${MFLAGS} install
- @echo
- @echo +++ cleaning C library
- cd usr.lib/libc; make ${MFLAGS} clean
- @echo
- @echo +++ compiling all libraries
- cd usr.lib; make ${MFLAGS} ${LIBCDEFS}
- @echo
- @echo +++ installing all libraries
- cd usr.lib; make ${MFLAGS} DESTDIR=${DESTDIR} install
- @echo
- @echo +++ libraries done
- @echo