1# Copyright 2016 The Fuchsia Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5LOCAL_DIR := $(GET_LOCAL_DIR)
6
7MODULE := $(LOCAL_DIR)
8
9MODULE_TYPE := userlib
10
11MODULE_COMPILEFLAGS += -fvisibility=hidden
12
13MODULE_SRCS := \
14    $(LOCAL_DIR)/message.c \
15    $(LOCAL_DIR)/processargs.c \
16    $(LOCAL_DIR)/thread.c \
17
18MODULE_LIBS += \
19    system/ulib/zircon
20
21# for stdint.h
22MODULE_HEADER_DEPS += \
23    system/ulib/c
24
25# This code is used in early startup, where safe-stack setup is not ready yet.
26MODULE_COMPILEFLAGS += $(NO_SAFESTACK) $(NO_SANITIZERS)
27
28include make/module.mk
29