Home | History | Annotate | Line # | Download | only in src
Makefile revision 1.28
      1 #	$NetBSD: Makefile,v 1.28 1995/12/15 18:13:41 jtc 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 .ifndef DESTDIR
     28 	(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
     29 .endif
     30 
     31 afterinstall:
     32 .ifndef NOMAN
     33 	(cd ${.CURDIR}/share/man && ${MAKE} makedb)
     34 .endif
     35 
     36 build:
     37 .if exists(domestic)
     38 	(cd ${.CURDIR}/domestic/include && ${MAKE} install)
     39 .endif
     40 	(cd ${.CURDIR}/include && ${MAKE} install)
     41 	${MAKE} cleandir
     42 	(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
     43 	(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
     44 .if exists(domestic)
     45 	(cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
     46 .endif
     47 #.if exists(kerberosIV)
     48 #	(cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
     49 #.endif
     50 	${MAKE} depend && ${MAKE} && ${MAKE} install
     51 
     52 .include <bsd.subdir.mk>
     53