Annotation of src/Makefile, Revision 1.1
1.1 ! deraadt 1: # $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $
! 2:
! 3: # NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
! 4:
! 5: SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
! 6: SUBDIR+= gnu
! 7:
! 8: SUBDIR+= sys
! 9:
! 10: .if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
! 11: SUBDIR+= domestic
! 12: .endif
! 13:
! 14: .if exists(regress)
! 15: .ifmake !(install)
! 16: SUBDIR+= regress
! 17: .endif
! 18:
! 19: regression-tests:
! 20: @echo Running regression tests...
! 21: @(cd ${.CURDIR}/regress && ${MAKE} regress)
! 22: .endif
! 23:
! 24: .include <bsd.own.mk> # for NOMAN, if it's there.
! 25:
! 26: #beforeinstall:
! 27: # (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
! 28:
! 29: afterinstall:
! 30: .ifndef NOMAN
! 31: (cd ${.CURDIR}/share/man && ${MAKE} makedb)
! 32: .endif
! 33:
! 34: build:
! 35: (cd ${.CURDIR}/include && ${MAKE} install)
! 36: ${MAKE} cleandir
! 37: (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
! 38: (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
! 39: .if exists(domestic)
! 40: (cd ${.CURDIR}/domestic/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
! 41: .endif
! 42: .if exists(kerberosIV)
! 43: (cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
! 44: .endif
! 45: ${MAKE} depend && ${MAKE} && ${MAKE} install
! 46:
! 47: .include <bsd.subdir.mk>