1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
8 .
include "${.CURDIR}/Makefile.inc"
10 GMAKE_ENV
+= ADKVERSION
=${ADKVERSION
:Q
}
12 .if defined
(package
) && !empty
(package
)
13 subdir
:= package
/${package}
15 _subdir_dep
:= ${TOPDIR}/.config
19 .if defined
(subdir
) && !empty
(subdir
)
23 _subdir
: ${_subdir_dep}
24 @if
test x
"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x
"OK"; then \
25 echo
>&2 Error
: you must build with “umask
022”
, sorry.
; \
28 cd
${.CURDIR
}/${subdir} && TOPDIR
=${.CURDIR
} DEVELOPER
=1 \
29 ${GMAKE} VERBOSE
=1 ${.MFLAGS
} ${_subdir}
31 .
include "${.CURDIR}/prereq.mk"
33 .
include "${.CURDIR}/Makefile"