blob: 287b28405ead0fca0e5068022e3fc997a2cb9567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.5 2020/09/28 06:04:08 nia Exp $
# Top level Makefile to cross build xorg inside the NetBSD tree.
.include <bsd.own.mk>
SUBDIR= bin etc libexec
.if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
BUILDTARGETS+= cleandir
.endif
.if ${MKOBJDIRS} != "no"
BUILDTARGETS+= obj
.endif
BUILDTARGETS+= do-build
.ORDER: ${BUILDTARGETS}
do-build:
.for targ in dependall install
${MAKEDIRTARGET} . ${targ}
.endfor
.for dir in tools lib
do-${dir:S/\//-/g}:
. for targ in dependall install
${MAKEDIRTARGET} ${dir} ${targ}
. endfor
.endfor
DISTRIBTARGETS= \
bin/ctwm
.include <bsd.subdir.mk>
|