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/channel_manager.h \ 43 openthread/channel_monitor.h \ 44 openthread/child_supervision.h \ 45 openthread/cli.h \ 46 openthread/coap.h \ 47 openthread/coap_secure.h \ 48 openthread/commissioner.h \ 49 openthread/config.h \ 50 openthread/crypto.h \ 51 openthread/dataset.h \ 52 openthread/dataset_ftd.h \ 53 openthread/dataset_updater.h \ 54 openthread/diag.h \ 55 openthread/dns.h \ 56 openthread/dns_client.h \ 57 openthread/dnssd_server.h \ 58 openthread/entropy.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/message.h \ 72 openthread/multi_radio.h \ 73 openthread/ncp.h \ 74 openthread/netdata.h \ 75 openthread/netdata_publisher.h \ 76 openthread/netdiag.h \ 77 openthread/network_time.h \ 78 openthread/ping_sender.h \ 79 openthread/random_crypto.h \ 80 openthread/random_noncrypto.h \ 81 openthread/server.h \ 82 openthread/sntp.h \ 83 openthread/srp_client.h \ 84 openthread/srp_client_buffers.h \ 85 openthread/srp_server.h \ 86 openthread/tasklet.h \ 87 openthread/tcp.h \ 88 openthread/thread.h \ 89 openthread/thread_ftd.h \ 90 openthread/udp.h \ 91 $(NULL) 92 93openthreaddir = $(includedir)/openthread 94dist_openthread_HEADERS = $(openthread_headers) 95 96ot_platform_headers = \ 97 openthread/platform/alarm-micro.h \ 98 openthread/platform/alarm-milli.h \ 99 openthread/platform/debug_uart.h \ 100 openthread/platform/diag.h \ 101 openthread/platform/entropy.h \ 102 openthread/platform/flash.h \ 103 openthread/platform/infra_if.h \ 104 openthread/platform/logging.h \ 105 openthread/platform/memory.h \ 106 openthread/platform/messagepool.h \ 107 openthread/platform/misc.h \ 108 openthread/platform/otns.h \ 109 openthread/platform/radio.h \ 110 openthread/platform/settings.h \ 111 openthread/platform/spi-slave.h \ 112 openthread/platform/time.h \ 113 openthread/platform/toolchain.h \ 114 openthread/platform/trel-udp6.h \ 115 openthread/platform/udp.h \ 116 $(NULL) 117 118ot_platformdir = $(includedir)/openthread/platform 119dist_ot_platform_HEADERS = $(ot_platform_headers) 120 121noinst_HEADERS = \ 122 openthread/config.h \ 123 openthread/platform/debug_uart.h \ 124 $(NULL) 125 126install-headers: install-includeHEADERS 127 128include $(abs_top_nlbuild_autotools_dir)/automake/post.am 129