1# Copyright 2018 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).server
8
9MODULE_TYPE := hostapp
10
11MODULE_SRCS += \
12    $(LOCAL_DIR)/usb-handler.cpp \
13    $(LOCAL_DIR)/xdc-server.cpp \
14
15MODULE_COMPILEFLAGS := \
16    -Werror-implicit-function-declaration \
17    -Wstrict-prototypes -Wwrite-strings \
18    -Isystem/ulib/fbl/include \
19    -Isystem/ulib/fit/include \
20    -Isystem/ulib/xdc-host-utils/include \
21    -Isystem/ulib/xdc-server-utils/include \
22
23MODULE_HOST_LIBS := \
24    system/ulib/fbl.hostlib \
25    system/ulib/xdc-server-utils.hostlib \
26
27MODULE_NAME := xdc-server
28
29MODULE_PACKAGE := bin
30
31include make/module.mk
32