1# Copyright 2017 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
10MODULE_COMPILEFLAGS += -fvisibility=hidden
11
12MODULE_SRCS += \
13    $(LOCAL_DIR)/completion.c \
14    $(LOCAL_DIR)/condition.cpp \
15    $(LOCAL_DIR)/mutex.c \
16
17MODULE_LIBS := \
18    system/ulib/zircon \
19    system/ulib/zircon-internal
20
21MODULE_EXPORT := a
22
23# This code is used in early startup, where safe-stack setup is not ready yet.
24MODULE_COMPILEFLAGS += $(NO_SAFESTACK) $(NO_SANITIZERS)
25
26include make/module.mk
27