# $NetBSD: Makefile,v 1.1.18.1 2020/10/08 16:04:07 martin Exp $ # Top level Makefile to cross build xorg inside the NetBSD tree. .include 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