diff options
| author | uebayasi <uebayasi@NetBSD.org> | 2009-11-30 16:13:22 +0000 |
|---|---|---|
| committer | uebayasi <uebayasi@NetBSD.org> | 2009-11-30 16:13:22 +0000 |
| commit | d166c4bf28e48254fb78661eb0699178d4fb54be (patch) | |
| tree | d436b88e32197e9587a14adc1708e5214c7d7f49 /Makefile | |
| parent | 4e1270dfabb27eaffee9f569599d6a992951da47 (diff) | |
Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org. (These sets are not included as TNF releases.)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.274 2009/09/04 17:21:33 pooka Exp $ +# $NetBSD: Makefile,v 1.275 2009/11/30 16:13:22 uebayasi Exp $ # # This is the top-level makefile for building NetBSD. For an outline of @@ -108,6 +108,7 @@ # do-x11: builds and installs X11 if ${MKX11} != "no"; either # X11R7 from src/external/mit/xorg if ${X11FLAVOUR} == "Xorg" # or X11R6 from src/x11 +# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no". # do-obsolete: installs the obsolete sets (for the postinstall-* targets). # @@ -252,6 +253,9 @@ BUILDTARGETS+= do-build .if ${MKX11} != "no" BUILDTARGETS+= do-x11 .endif +.if ${MKEXTSRC} != "no" +BUILDTARGETS+= do-extsrc +.endif BUILDTARGETS+= do-obsolete # @@ -482,6 +486,14 @@ do-x11: .PHONY .MAKE @false .endif +do-extsrc: .PHONY .MAKE +.if ${MKEXTSRC} != "no" + ${MAKEDIRTARGET} extsrc build +.else + @echo "MKEXTSRC is not enabled" + @false +.endif + do-obsolete: .PHONY .MAKE ${MAKEDIRTARGET} etc install-obsolete-lists |
