Deleted Added
full compact
Makefile (37473) Makefile (37475)
1#
1#
2# $Id: Makefile,v 1.203 1998/06/17 09:34:42 bde Exp $
2# $Id: Makefile,v 1.204 1998/07/07 05:37:34 bde Exp $
3#
4# While porting to the another architecture include the bootstrap instead
5# of the normal build.
6#
7.if exists(${.CURDIR}/Makefile.${MACHINE}) && defined(BOOTSTRAP_WORLD)
8.include "${.CURDIR}/Makefile.${MACHINE}"
9.else
10#

--- 711 unchanged lines hidden (view full) ---

722.if exists(${.CURDIR}/secure/lib) && !defined(NOCRYPT) && !defined(NOSECURE)
723 cd ${.CURDIR}/secure/lib; ${MAKE} all; ${MAKE} -B install
724.endif
725.if exists(${.CURDIR}/kerberosIV/lib) && !defined(NOCRYPT) && \
726 defined(MAKE_KERBEROS4)
727 cd ${.CURDIR}/kerberosIV/lib; ${MAKE} all; ${MAKE} -B install
728.endif
729
3#
4# While porting to the another architecture include the bootstrap instead
5# of the normal build.
6#
7.if exists(${.CURDIR}/Makefile.${MACHINE}) && defined(BOOTSTRAP_WORLD)
8.include "${.CURDIR}/Makefile.${MACHINE}"
9.else
10#

--- 711 unchanged lines hidden (view full) ---

722.if exists(${.CURDIR}/secure/lib) && !defined(NOCRYPT) && !defined(NOSECURE)
723 cd ${.CURDIR}/secure/lib; ${MAKE} all; ${MAKE} -B install
724.endif
725.if exists(${.CURDIR}/kerberosIV/lib) && !defined(NOCRYPT) && \
726 defined(MAKE_KERBEROS4)
727 cd ${.CURDIR}/kerberosIV/lib; ${MAKE} all; ${MAKE} -B install
728.endif
729
730# Exclude perl from the build-tools if NOPERL is defined.
731.if defined(NOPERL)
732_perl=
733.else
734_perl= gnu/usr.bin/perl/perl
730#
731# Exclude unused tools from build-tools.
732#
733.if !defined(NOGAMES) && exists(${.CURDIR}/games)
734_adventure= games/adventure
735_caesar= games/caesar
736_hack= games/hack
737_phantasia= games/phantasia
738_strfile= games/fortune/strfile
735.endif
739.endif
740.if !defined(NOPERL)
741_perl= gnu/usr.bin/perl/perl
742.endif
743.if !defined(NOSHARE) && exists(${.CURDIR}/share)
744_scrnmaps= share/syscons/scrnmaps
745.endif
746.if !defined(NOLKM) && exists(${.CURDIR}/lkm)
747_linux= lkm/linux
748.endif
736
749
750BTMAKEFLAGS= ${MK_FLAGS} -D_BUILD_TOOLS
751
737#
738# build-tools - build and install any other tools needed to complete the
739# compile and install.
740# ifdef stale
741# bc and cpp are required to build groff. Otherwise, the order here is
742# mostly historical, i.e., bogus.
743# chmod is used to build gcc's tmpmultilib[2] at obscure times.
744# endif stale

--- 10 unchanged lines hidden (view full) ---

755 bin/expr \
756 bin/hostname \
757 bin/ln \
758 bin/ls \
759 bin/mkdir \
760 bin/mv \
761 bin/rm \
762 bin/test \
752#
753# build-tools - build and install any other tools needed to complete the
754# compile and install.
755# ifdef stale
756# bc and cpp are required to build groff. Otherwise, the order here is
757# mostly historical, i.e., bogus.
758# chmod is used to build gcc's tmpmultilib[2] at obscure times.
759# endif stale

--- 10 unchanged lines hidden (view full) ---

770 bin/expr \
771 bin/hostname \
772 bin/ln \
773 bin/ls \
774 bin/mkdir \
775 bin/mv \
776 bin/rm \
777 bin/test \
763 games/caesar \
764 games/fortune/strfile \
778 ${_caesar} \
779 ${_strfile} \
765 gnu/usr.bin/awk \
766 gnu/usr.bin/bc \
767 gnu/usr.bin/grep \
768 gnu/usr.bin/groff \
769 gnu/usr.bin/gzip \
770 gnu/usr.bin/man/makewhatis \
771 gnu/usr.bin/patch \
772 ${_perl} \

--- 30 unchanged lines hidden (view full) ---

803 usr.bin/vi \
804 usr.bin/wc \
805 usr.bin/xargs \
806 usr.bin/yacc \
807 usr.sbin/chown \
808 usr.sbin/mtree \
809 usr.sbin/zic \
810 bin/sh
780 gnu/usr.bin/awk \
781 gnu/usr.bin/bc \
782 gnu/usr.bin/grep \
783 gnu/usr.bin/groff \
784 gnu/usr.bin/gzip \
785 gnu/usr.bin/man/makewhatis \
786 gnu/usr.bin/patch \
787 ${_perl} \

--- 30 unchanged lines hidden (view full) ---

818 usr.bin/vi \
819 usr.bin/wc \
820 usr.bin/xargs \
821 usr.bin/yacc \
822 usr.sbin/chown \
823 usr.sbin/mtree \
824 usr.sbin/zic \
825 bin/sh
811 cd ${.CURDIR}/$d; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \
812 ${MAKE} ${MK_FLAGS} all; \
813 ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
826 cd ${.CURDIR}/$d; ${MAKE} ${BTMAKEFLAGS} ${_DEPEND}; \
827 ${MAKE} ${BTMAKEFLAGS} all; \
828 ${MAKE} ${BTMAKEFLAGS} -B install ${CLEANDIR} ${OBJDIR}
814.endfor
829.endfor
830.if !defined(NOGAMES) && exists(${.CURDIR}/games)
815 cd ${DESTDIR}/usr/games; cp -p caesar strfile ${DESTDIR}/usr/bin
831 cd ${DESTDIR}/usr/games; cp -p caesar strfile ${DESTDIR}/usr/bin
832.endif
816.for d in \
817 bin/sh \
833.for d in \
834 bin/sh \
818 games/adventure \
819 games/hack \
820 games/phantasia \
835 ${_adventure} \
836 ${_hack} \
837 ${_phantasia} \
821 gnu/usr.bin/cc/cc_tools \
822 lib/libmytinfo \
838 gnu/usr.bin/cc/cc_tools \
839 lib/libmytinfo \
823 lkm/linux \
824 share/syscons/scrnmaps \
840 ${_linux} \
841 ${_scrnmaps} \
825 sys/i386/boot/netboot
842 sys/i386/boot/netboot
826 cd ${.CURDIR}/$d; ${MAKE} ${MK_FLAGS} build-tools
843 cd ${.CURDIR}/$d; ${MAKE} ${BTMAKEFLAGS} build-tools
827.endfor
844.endfor
828 cd ${.CURDIR}/usr.bin/tn3270/tools; ${MAKE} ${MK_FLAGS} all
845 cd ${.CURDIR}/usr.bin/tn3270/tools; ${MAKE} ${BTMAKEFLAGS} all
829
830.for __target in clean cleandepend cleandir depend obj
831.for entry in ${SUBDIR}
832${entry}.${__target}__D: .PHONY
833 @if test -d ${.CURDIR}/${entry}.${MACHINE}; then \
834 ${ECHODIR} "===> ${DIRPRFX}${entry}.${MACHINE}"; \
835 edir=${entry}.${MACHINE}; \
836 cd ${.CURDIR}/$${edir}; \

--- 13 unchanged lines hidden ---
846
847.for __target in clean cleandepend cleandir depend obj
848.for entry in ${SUBDIR}
849${entry}.${__target}__D: .PHONY
850 @if test -d ${.CURDIR}/${entry}.${MACHINE}; then \
851 ${ECHODIR} "===> ${DIRPRFX}${entry}.${MACHINE}"; \
852 edir=${entry}.${MACHINE}; \
853 cd ${.CURDIR}/$${edir}; \

--- 13 unchanged lines hidden ---