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 10 11MODULE_PACKAGE := static 12 13MODULE_COMPILEFLAGS += -fvisibility=hidden 14 15MODULE_SRCS := \ 16 $(LOCAL_DIR)/pdev.cpp \ 17 18MODULE_STATIC_LIBS := \ 19 system/ulib/ddk \ 20 system/ulib/sync \ 21 system/ulib/zx \ 22 system/ulib/zxcpp \ 23 system/ulib/fbl \ 24 25include make/module.mk 26 27# 28# ddktl-test 29# 30 31MODULE := $(LOCAL_DIR).test 32 33MODULE_NAME := ddktl-test 34 35MODULE_TYPE := drivertest 36 37TEST_DIR := $(LOCAL_DIR)/test 38 39MODULE_SRCS := \ 40 $(TEST_DIR)/ddktl-test.cpp \ 41 $(TEST_DIR)/ddktl-test-binding.c \ 42 $(TEST_DIR)/device-tests.cpp \ 43 $(TEST_DIR)/ethernet-tests.cpp \ 44 45MODULE_STATIC_LIBS := \ 46 system/ulib/ddk \ 47 system/ulib/ddktl \ 48 system/ulib/zx \ 49 system/ulib/zxcpp \ 50 system/ulib/fbl \ 51 52MODULE_LIBS := \ 53 system/ulib/unittest \ 54 system/ulib/fdio \ 55 system/ulib/driver \ 56 system/ulib/zircon \ 57 system/ulib/c \ 58 59include make/module.mk 60