# The subdirectories into which we recurse only exist to create the necessary
# obj directories for the above SRCS declarations to work. We need to be able
# to create object files of the form <subdirectory>/<file>.o, and therefore
# the subdirectory must exist upfront.
#
# Note that there are source files of the same name in various subdirectories,
# so we just cannot use .PATH to look for files in all of them at once.
#
# TODO: Would be nice if bsd.obj.mk (or whichever other module) did the right
# thing here and just created these obj directories for us. Or, alternatively,
# we could have every subdirectory Makefile create a temporary .a and we could
# pull all the .a files together from here into libutil.a.
SUBDIR= cmdline config format fs logging process signals sqlite text
for dir in ${SUBDIR}
clean-${dir} cleandir-${dir} includes-${dir}: .PHONY
@true
endfor