blob: 52a7901c6486d9df14dfc82ea412261b4cbc5c44 (
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.1 2015/09/03 22:24:02 youri Exp $
# Top level Makefile to cross build xorg inside the NetBSD tree.
.include <bsd.own.mk>
SUBDIR= bin
.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>
|