Commit 3f06a03a authored by Johannes Meixner's avatar Johannes Meixner
Browse files

Separate build by use-case.

* leave `all` target unchanged
* check if CLI is defined for ports/hardenedbsd/secadm
* check if KMOD is defined for ports/hardenedbsd/secadm-kmod
parent 9291b24e
SUBDIR+= etc \
# Build everything by default
SUBDIR= etc\
kmod \
libsecadm \
secadm
# ports/hardenedbsd/secadm-kmod
.if defined(KMOD)
SUBDIR= kmod
.endif
# ports/hardenedbsd/secadm
.if defined(CLI)
SUBDIR= etc \
libsecadm \
secadm
.endif
.include <bsd.subdir.mk>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment