-
Notifications
You must be signed in to change notification settings - Fork 8
/
components.mak
28 lines (22 loc) · 960 Bytes
/
components.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Internal makefile for STAT tools
#
# SPDX-FileCopyrightText: (c) 2020 Western Digital Corporation or its affiliates,
# Arseniy Aharonov <[email protected]>
#
# SPDX-License-Identifier: MIT
# SOURCES - list of all source files
# INCLUDES - list of all include directories
# DUMMY_INTERFACES - list of all dummy header-files to be used instead FW-version
# DEFINES - list of definitions to be invoked via command-line
STAT_SOURCES=$(STAT_ROOT)/unity/unity.c \
$(STAT_ROOT)/lib/src/stat.c \
$(STAT_ROOT)/lib/src/stat_rng.c \
$(STAT_ROOT)/lib/src/stat_mock.c \
# Source files
SOURCES:=$(SOURCES) $(PRODUCT_SOURCES) $(STAT_SOURCES)
# Include directories
INCLUDES:=$(INCLUDES) $(PRODUCT_INCLUDES) $(STAT_ROOT)/unity $(STAT_ROOT)/lib/inc
# Dummy interfaces
DUMMY_INTERFACES:=$(DUMMY_INTERFACES) $(PRODUCT_DUMMY_INTERFACES)
# Preprocessor definitions
DEFINES:=$(DEFINES) $(PRODUCT_DEFINES) UNITY_INCLUDE_CONFIG_H STAT