Makefile revision 1.32
11.32Scgd# $NetBSD: Makefile,v 1.32 1996/04/13 06:36:15 cgd Exp $ 21.32Scgd 31.32Scgd.include <bsd.own.mk> # for configuration variables. 41.4Scgd 51.4Scgd# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW 61.2Scgd 71.14ScgdSUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games 81.8ScgdSUBDIR+= gnu 91.12Scgd 101.12ScgdSUBDIR+= sys 111.9Scgd 121.21Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 131.21ScgdSUBDIR+= domestic 141.21Scgd.endif 151.21Scgd 161.13Sbrezak.if exists(regress) 171.9Scgd.ifmake !(install) 181.9ScgdSUBDIR+= regress 191.9Scgd.endif 201.9Scgd 211.10Scgdregression-tests: 221.10Scgd @echo Running regression tests... 231.22Scgd @(cd ${.CURDIR}/regress && ${MAKE} regress) 241.13Sbrezak.endif 251.20Scgd 261.26Stlsbeforeinstall: 271.26Stls.ifndef DESTDIR 281.26Stls (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) 291.31Stls.else 301.31Stls (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) 311.26Stls.endif 321.15Scgd 331.15Scgdafterinstall: 341.19Scgd.ifndef NOMAN 351.22Scgd (cd ${.CURDIR}/share/man && ${MAKE} makedb) 361.19Scgd.endif 371.15Scgd 381.15Scgdbuild: 391.32Scgd (cd ${.CURDIR}/share/mk && ${MAKE} install) 401.32Scgd (cd ${.CURDIR}/include && ${MAKE} install) 411.32Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 421.28Sjtc (cd ${.CURDIR}/domestic/include && ${MAKE} install) 431.26Stls.endif 441.17Scgd ${MAKE} cleandir 451.22Scgd (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 461.22Scgd (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 471.32Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 481.32Scgd # XXX should do the whole of domestic/lib 491.32Scgd (cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && \ 501.32Scgd ${MAKE} install) 511.21Scgd.endif 521.17Scgd ${MAKE} depend && ${MAKE} && ${MAKE} install 531.1Scgd 541.1Scgd.include <bsd.subdir.mk> 55