Makefile revision 1.47
11.47Sthorpej# $NetBSD: Makefile,v 1.47 1998/02/15 00:33:03 thorpej 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.36SexplorerSUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share 81.36Sexplorer 91.36Sexplorer.if exists(games) 101.36SexplorerSUBDIR+= games 111.36Sexplorer.endif 121.36Sexplorer 131.8ScgdSUBDIR+= gnu 141.12Scgd 151.12ScgdSUBDIR+= sys 161.9Scgd 171.21Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 181.21ScgdSUBDIR+= domestic 191.21Scgd.endif 201.21Scgd 211.13Sbrezak.if exists(regress) 221.9Scgd.ifmake !(install) 231.9ScgdSUBDIR+= regress 241.9Scgd.endif 251.9Scgd 261.10Scgdregression-tests: 271.10Scgd @echo Running regression tests... 281.22Scgd @(cd ${.CURDIR}/regress && ${MAKE} regress) 291.13Sbrezak.endif 301.20Scgd 311.26Stlsbeforeinstall: 321.45Sperry.ifmake build 331.45Sperry @echo -n "Build started at: " 341.45Sperry @date 351.45Sperry.endif 361.26Stls.ifndef DESTDIR 371.26Stls (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) 381.31Stls.else 391.31Stls (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) 401.26Stls.endif 411.15Scgd 421.15Scgdafterinstall: 431.19Scgd.ifndef NOMAN 441.22Scgd (cd ${.CURDIR}/share/man && ${MAKE} makedb) 451.45Sperry.endif 461.45Sperry.ifmake build 471.45Sperry @echo -n "Build finished at: " 481.45Sperry @date 491.19Scgd.endif 501.15Scgd 511.43Sthorpejbuild: beforeinstall 521.32Scgd (cd ${.CURDIR}/share/mk && ${MAKE} install) 531.47Sthorpej (cd ${.CURDIR}/share/tmac && ${MAKE} && ${MAKE} install) 541.44Smellon.if exists(domestic) && !defined (EXPORTABLE_SYSTEM) 551.44Smellon (cd ${.CURDIR}/domestic/usr.bin/compile_et && \ 561.44Smellon ${MAKE} depend && ${MAKE} && \ 571.44Smellon ${MAKE} install) 581.44Smellon (cd ${.CURDIR}/domestic/usr.bin/make_cmds && \ 591.44Smellon ${MAKE} depend && ${MAKE} && \ 601.44Smellon ${MAKE} install) 611.44Smellon.endif 621.33Sjtc ${MAKE} includes 631.39Schristos.if !defined(UPDATE) 641.17Scgd ${MAKE} cleandir 651.39Schristos.endif 661.38Scgd (cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install) 671.22Scgd (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 681.22Scgd (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 691.44Smellon (cd ${.CURDIR}/usr.bin/lex &&\ 701.44Smellon ${MAKE} depend && ${MAKE} && ${MAKE} install) 711.44Smellon (cd ${.CURDIR}/usr.bin/yacc && \ 721.44Smellon ${MAKE} depend && ${MAKE} && ${MAKE} install) 731.44Smellon (cd ${.CURDIR}/usr.bin/xlint && \ 741.44Smellon ${MAKE} depend && ${MAKE} && ${MAKE} install) 751.32Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 761.46Sthorpej# libtelnet depends on libdes and libkrb. libkrb depends on 771.46Sthorpej# libcom_err. 781.46Sthorpej (cd ${.CURDIR}/domestic/lib/libdes && \ 791.46Sthorpej ${MAKE} depend && ${MAKE} && ${MAKE} install) 801.46Sthorpej (cd ${.CURDIR}/domestic/lib/libcom_err && \ 811.46Sthorpej ${MAKE} depend && ${MAKE} && ${MAKE} install) 821.44Smellon (cd ${.CURDIR}/domestic/lib/libkrb && \ 831.44Smellon ${MAKE} depend && ${MAKE} && ${MAKE} install) 841.37Scjs (cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE} && \ 851.32Scgd ${MAKE} install) 861.21Scgd.endif 871.17Scgd ${MAKE} depend && ${MAKE} && ${MAKE} install 881.1Scgd 891.1Scgd.include <bsd.subdir.mk> 90