blob: 13fb129a5dd4267b24134419e582fd71bd0fefe9 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_TYPE := userlib
MODULE_SRCS += \
$(LOCAL_DIR)/io-buffer.c \
$(LOCAL_DIR)/iotxn.c \
MODULE_STATIC_LIBS := system/ulib/pretty system/ulib/sync
MODULE_EXPORT := a
include make/module.mk
#
# iotxn-test - iotxn tests
#
MODULE := $(LOCAL_DIR).iotxn-test
MODULE_NAME := iotxn-test
MODULE_TYPE := drivertest
TEST_DIR := $(LOCAL_DIR)/test
MODULE_SRCS := $(TEST_DIR)/iotxn-test.c
MODULE_STATIC_LIBS := system/ulib/ddk system/ulib/sync
MODULE_LIBS := \
system/ulib/unittest \
system/ulib/fdio \
system/ulib/driver \
system/ulib/zircon \
system/ulib/c
include make/module.mk