Andreas Wacknitz
2024-04-04 7587efba57fedc8f0e46216bba4a49da6e4c4625
make-rules/depend.mk
@@ -1,32 +1,25 @@
#
# CDDL HEADER START
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
DEPENDS +=   $(REQUIRED_TOOL)
DEPENDS +=   $(REQUIRED_FILE)
#
# Copyright 2018 Adam Stevko
#
depend::   $(DEPENDS)
print-required-packages::
   @for package in $(REQUIRED_PACKAGES) ; do \
      echo $$package ;  \
   done | LANG=C LC_ALL=C sort -u
print-required-paths::
   @for path in $(DEPENDS) ; do \
      echo $$path ; \
    done
# update the metadata for current component
update-metadata:
   @echo "generating metadata: $(CURDIR:$(WS_TOP)/components/%=%)"
   @$(BASS_O_MATIC) --workspace=$(WS_TOP) --pkg5