blob: 0f5cf9b6d61114e10ceda8bdf98557d4788d5519 [file] [log] [blame]
#
# Copyright (c) 2020 Project CHIP Authors
# Copyright (c) 2014-2017 Nest Labs, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Description:
# This file is the GNU automake header for the CHIP InetLayer
# library sources.
#
# These sources are shared by other SDK makefiles and consequently
# must be anchored relative to the top build directory.
#
CHIP_BUILD_INET_LAYER_SOURCE_FILES = \
@top_builddir@/src/inet/EndPointBasis.cpp \
@top_builddir@/src/inet/IPAddress-StringFuncts.cpp \
@top_builddir@/src/inet/IPAddress.cpp \
@top_builddir@/src/inet/IPEndPointBasis.cpp \
@top_builddir@/src/inet/IPPrefix.cpp \
@top_builddir@/src/inet/InetArgParser.cpp \
@top_builddir@/src/inet/InetError.cpp \
@top_builddir@/src/inet/InetInterface.cpp \
@top_builddir@/src/inet/InetLayer.cpp \
@top_builddir@/src/inet/InetLayerBasis.cpp \
@top_builddir@/src/inet/InetUtils.cpp \
$(NULL)
CHIP_BUILD_INET_LAYER_HEADER_FILES = \
@top_builddir@/src/inet/arpa-inet-compatibility.h \
@top_builddir@/src/inet/AsyncDNSResolverSockets.h \
@top_builddir@/src/inet/DNSResolver.h \
@top_builddir@/src/inet/EndPointBasis.h \
@top_builddir@/src/inet/IANAConstants.h \
@top_builddir@/src/inet/IPAddress.h \
@top_builddir@/src/inet/IPEndPointBasis.h \
@top_builddir@/src/inet/IPPrefix.h \
@top_builddir@/src/inet/Inet.h \
@top_builddir@/src/inet/InetArgParser.h \
@top_builddir@/src/inet/InetConfig.h \
@top_builddir@/src/inet/InetError.h \
@top_builddir@/src/inet/InetFaultInjection.h \
@top_builddir@/src/inet/InetInterface.h \
@top_builddir@/src/inet/InetLayer.h \
@top_builddir@/src/inet/InetLayerBasis.h \
@top_builddir@/src/inet/InetLayerEvents.h \
@top_builddir@/src/inet/RawEndPoint.h \
@top_builddir@/src/inet/TCPEndPoint.h \
@top_builddir@/src/inet/TunEndPoint.h \
@top_builddir@/src/inet/UDPEndPoint.h \
$(NULL)
if INET_WANT_ENDPOINT_DNS
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/DNSResolver.cpp
endif # INET_WANT_ENDPOINT_DNS
if INET_WANT_ENDPOINT_RAW
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/RawEndPoint.cpp
endif # INET_WANT_ENDPOINT_RAW
if INET_WANT_ENDPOINT_TCP
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/TCPEndPoint.cpp
endif # INET_WANT_ENDPOINT_TCP
if INET_WANT_ENDPOINT_UDP
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/UDPEndPoint.cpp
endif # INET_WANT_ENDPOINT_UDP
if INET_WANT_ENDPOINT_TUN
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/TunEndPoint.cpp
endif # INET_WANT_ENDPOINT_TUN
if CHIP_SYSTEM_CONFIG_USE_SOCKETS
if INET_CONFIG_ENABLE_ASYNC_DNS_SOCKETS
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/AsyncDNSResolverSockets.cpp
endif # INET_CONFIG_ENABLE_ASYNC_DNS_SOCKETS
endif # CHIP_SYSTEM_CONFIG_USE_SOCKETS
if CHIP_WITH_NLFAULTINJECTION
CHIP_BUILD_INET_LAYER_SOURCE_FILES += @top_builddir@/src/inet/InetFaultInjection.cpp
endif # CHIP_WITH_NLFAULTINJECTION