blob: a80d6392928ebe164139f8ff18e80e99a4905ae6 [file] [log] [blame]
#
# Copyright (c) 2015-2018 Nest Labs, Inc.
# Copyright (c) 2018 Google LLC
# All rights reserved.
#
# 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 template for the Nest Labs Weave
# third-party software directory.
#
include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
EXTRA_DIST = \
android/platform-libcore \
android/platform-system/README.third_party \
cstyle \
nlbuild-autotools \
$(NULL)
# Always package (e.g. for 'make dist') these subdirectories.
DIST_SUBDIRS = \
lwip \
android/platform-system/core-mincrypt \
micro-ecc \
openssl \
openssl-jpake \
$(NULL)
# <any of the third-party packages listed in repos.conf>_SUBDIRS are
# not a permanent part of DIST_SUBDIRS since we do not ever want to
# include them in a distribution archive; however, when they've been
# pulled as a 'repo' module, we do want to remove them on invocation
# of the 'distclean' target. Consequently, we conditionally include
# them in DIST_SUBDIRS on invocation of 'distclean-recursive'
distclean-recursive: DIST_SUBDIRS += $(BLUEZ_SUBDIRS) $(NLASSERT_SUBDIRS) $(NLFAULTINJECTION_SUBDIRS) $(NLIO_SUBDIRS) $(NLUNIT_TEST_SUBDIRS)
# Always build (e.g. for 'make all') these subdirectories.
#
# The values of <any of the third-party packages listed in
# repos.conf>_SUBDIRS will be populated by configure if --with-<any of
# the third-party packages listed in repos.conf>=internal
SUBDIRS = \
android/platform-system/core-mincrypt \
$(BLUEZ_SUBDIRS) \
micro-ecc \
$(NLASSERT_SUBDIRS) \
$(NLFAULTINJECTION_SUBDIRS) \
$(NLIO_SUBDIRS) \
$(NLUNIT_TEST_SUBDIRS) \
openssl \
openssl-jpake \
$(NULL)
include $(abs_top_nlbuild_autotools_dir)/automake/post.am