5436N/A#
5436N/A# CDDL HEADER START
5436N/A#
5436N/A# The contents of this file are subject to the terms of the
5436N/A# Common Development and Distribution License (the "License").
5436N/A# You may not use this file except in compliance with the License.
5436N/A#
5436N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5436N/A# or http://www.opensolaris.org/os/licensing.
5436N/A# See the License for the specific language governing permissions
5436N/A# and limitations under the License.
5436N/A#
5436N/A# When distributing Covered Code, include this CDDL HEADER in each
5436N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5436N/A# If applicable, add the following below this CDDL HEADER, with the
5436N/A# fields enclosed by brackets "[]" replaced with your own identifying
5436N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5436N/A#
5436N/A# CDDL HEADER END
5436N/A#
5436N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
5436N/A#
5436N/Ainclude ../../../make-rules/shared-macros.mk
5436N/ARUBY_VERSION=2.1
5436N/ARUBY_LIB_VERSION=2.1.0
5436N/ARUBY_VERSIONS=2.1.0
5436N/ARUBY=/usr/ruby/$(RUBY_VERSION)/bin/ruby
5436N/A
5436N/ACOMPONENT_NAME= puppet-solaris
5680N/ACOMPONENT_SRC=
5436N/ACOMPONENT_VERSION= $(PKG_SOLARIS_VERSION)
5436N/ACOMPONENT_BUGDB= utility/puppet
5436N/A
5436N/Ainclude $(WS_MAKE_RULES)/prep.mk
5436N/Ainclude $(WS_MAKE_RULES)/ruby.mk
5436N/Ainclude $(WS_MAKE_RULES)/ips.mk
5436N/A
5436N/A
5436N/A# Not implemented by any make rules we are loading
5436N/A$(BUILD_64): ext/PuppetAudit.so $(BUILD_DIR)
5436N/A $(MKDIR) $(dir $@)
5436N/A $(TOUCH) $@
5436N/A
5436N/A# Not implemented by any make rules we are loading
5436N/A$(INSTALL_64): $(BUILD_64)
5436N/A $(TOUCH) $@
5436N/A
5436N/A# common targets
5436N/Abuild: $(BUILD_64)
5436N/A
5436N/AINSTALL_DIR=$(BUILD_DIR)/prototype/$(MACH)
5436N/ASECURITY_FILES=$(addprefix files/,auth_attr exec_attr prof_attr)
5436N/AETC_FILES=$(addprefix files/,user_attr)
5436N/A
5436N/Aext/PuppetAudit.so:
5436N/A # Ruby extension for auditing
5436N/A (cd ext; $(RUBY) extconf.rb; $(GMAKE))
5436N/A
5436N/Aclean::
5436N/A @if [ -f ext/Makefile ]; then \
5436N/A (cd ext; $(GMAKE) clean; $(RM) Makefile) \
5436N/A fi
5436N/A
5436N/Atest: $(NO_TESTS)
5436N/A
5436N/Asystem-test: $(NO_TESTS)
5436N/A
5436N/AREQUIRED_PACKAGES += runtime/ruby-21
5436N/AREQUIRED_PACKAGES += shell/ksh93
5436N/AREQUIRED_PACKAGES += system/core-os
5436N/AREQUIRED_PACKAGES += system/library
5436N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
5436N/AREQUIRED_PACKAGES += system/library/math
5436N/AREQUIRED_PACKAGES += system/network