os161/userland/Makefile
Scott Haseley 1b99c0e18f Refactored ksecprintf -> secprintf. Secure code is now all in common libtest161.
This library gets linked in by default in userland, and the common files are
included in the kernel.
2016-02-23 15:31:37 -05:00

30 lines
566 B
Makefile

#
# Toplevel userland makefile for OS/161.
#
TOP=..
.include "$(TOP)/mk/os161.config.mk"
# lib must be first.
SUBDIRS=lib .WAIT bin sbin testbin
INCLUDES=\
include include \
include/sys include/sys \
include/test include/test \
include/test161 include/test161 \
include/types include/types
INCLUDELINKS=\
kern/machine include/machine \
$(MACHINE) include/kern/machine
.include "$(TOP)/mk/os161.subdir.mk"
.include "$(TOP)/mk/os161.includes.mk"
includes: hostincludes
hostincludes:
(cd lib/hostcompat && $(MAKE) includes)
.PHONY: includes hostincludes