1#
2#  Copyright (c) 2016, The OpenThread Authors.
3#  All rights reserved.
4#
5#  Redistribution and use in source and binary forms, with or without
6#  modification, are permitted provided that the following conditions are met:
7#  1. Redistributions of source code must retain the above copyright
8#     notice, this list of conditions and the following disclaimer.
9#  2. Redistributions in binary form must reproduce the above copyright
10#     notice, this list of conditions and the following disclaimer in the
11#     documentation and/or other materials provided with the distribution.
12#  3. Neither the name of the copyright holder nor the
13#     names of its contributors may be used to endorse or promote products
14#     derived from this software without specific prior written permission.
15#
16#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26#  POSSIBILITY OF SUCH DAMAGE.
27#
28
29include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
30
31# Always package (e.g. for 'make dist') these subdirectories.
32
33EXTRA_DIST                              = \
34    openthread                            \
35    $(NULL)
36
37openthread_headers                      = \
38    openthread/backbone_router.h          \
39    openthread/backbone_router_ftd.h      \
40    openthread/border_agent.h             \
41    openthread/border_router.h            \
42    openthread/border_routing.h           \
43    openthread/channel_manager.h          \
44    openthread/channel_monitor.h          \
45    openthread/child_supervision.h        \
46    openthread/cli.h                      \
47    openthread/coap.h                     \
48    openthread/coap_secure.h              \
49    openthread/commissioner.h             \
50    openthread/config.h                   \
51    openthread/crypto.h                   \
52    openthread/dataset.h                  \
53    openthread/dataset_ftd.h              \
54    openthread/dataset_updater.h          \
55    openthread/diag.h                     \
56    openthread/dns.h                      \
57    openthread/dns_client.h               \
58    openthread/dnssd_server.h             \
59    openthread/error.h                    \
60    openthread/heap.h                     \
61    openthread/history_tracker.h          \
62    openthread/icmp6.h                    \
63    openthread/instance.h                 \
64    openthread/ip6.h                      \
65    openthread/jam_detection.h            \
66    openthread/joiner.h                   \
67    openthread/link.h                     \
68    openthread/link_metrics.h             \
69    openthread/link_raw.h                 \
70    openthread/logging.h                  \
71    openthread/mesh_diag.h                \
72    openthread/message.h                  \
73    openthread/multi_radio.h              \
74    openthread/nat64.h                    \
75    openthread/ncp.h                      \
76    openthread/netdata.h                  \
77    openthread/netdata_publisher.h        \
78    openthread/netdiag.h                  \
79    openthread/network_time.h             \
80    openthread/ping_sender.h              \
81    openthread/random_crypto.h            \
82    openthread/random_noncrypto.h         \
83    openthread/server.h                   \
84    openthread/sntp.h                     \
85    openthread/srp_client.h               \
86    openthread/srp_client_buffers.h       \
87    openthread/srp_server.h               \
88    openthread/tasklet.h                  \
89    openthread/tcp.h                      \
90    openthread/tcp_ext.h                  \
91    openthread/thread.h                   \
92    openthread/thread_ftd.h               \
93    openthread/trel.h                     \
94    openthread/udp.h                      \
95    $(NULL)
96
97openthreaddir = $(includedir)/openthread
98dist_openthread_HEADERS = $(openthread_headers)
99
100ot_platform_headers                     = \
101    openthread/platform/alarm-micro.h     \
102    openthread/platform/alarm-milli.h     \
103    openthread/platform/crypto.h          \
104    openthread/platform/debug_uart.h      \
105    openthread/platform/diag.h            \
106    openthread/platform/dns.h             \
107    openthread/platform/dso_transport.h   \
108    openthread/platform/entropy.h         \
109    openthread/platform/flash.h           \
110    openthread/platform/infra_if.h        \
111    openthread/platform/logging.h         \
112    openthread/platform/memory.h          \
113    openthread/platform/messagepool.h     \
114    openthread/platform/misc.h            \
115    openthread/platform/otns.h            \
116    openthread/platform/radio.h           \
117    openthread/platform/settings.h        \
118    openthread/platform/spi-slave.h       \
119    openthread/platform/time.h            \
120    openthread/platform/toolchain.h       \
121    openthread/platform/trel.h            \
122    openthread/platform/udp.h             \
123    $(NULL)
124
125ot_platformdir = $(includedir)/openthread/platform
126dist_ot_platform_HEADERS = $(ot_platform_headers)
127
128noinst_HEADERS                          = \
129    openthread/config.h                   \
130    openthread/platform/debug_uart.h      \
131    $(NULL)
132
133install-headers: install-includeHEADERS
134
135include $(abs_top_nlbuild_autotools_dir)/automake/post.am
136