Makefile revision 1258
303N/A#
303N/A# CDDL HEADER START
303N/A#
303N/A# The contents of this file are subject to the terms of the
303N/A# Common Development and Distribution License (the "License").
303N/A# You may not use this file except in compliance with the License.
303N/A#
303N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
303N/A# or http://www.opensolaris.org/os/licensing.
303N/A# See the License for the specific language governing permissions
303N/A# and limitations under the License.
303N/A#
303N/A# When distributing Covered Code, include this CDDL HEADER in each
303N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
303N/A# If applicable, add the following below this CDDL HEADER, with the
303N/A# fields enclosed by brackets "[]" replaced with your own identifying
303N/A# information: Portions Copyright [yyyy] [name of copyright owner]
303N/A#
303N/A# CDDL HEADER END
303N/A
3817N/A#
303N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
303N/A#
303N/A
303N/Ainclude ../../make-rules/shared-macros.mk
2319N/A
303N/ACOMPONENT_NAME= sudo
303N/ASRC_VERSION= 1.8.4
303N/ASRC_PATCH_VERSION= 5
844N/ACOMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION)
2319N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION)
303N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1258N/ACOMPONENT_ARCHIVE_HASH= \
303N/A sha256:cf41ea1ada17c0dfbd8480dd9dc800999e0db9f2972ffa8f7a2944751ad32aba
2899N/ACOMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE)
2899N/ACOMPONENT_PROJECT_URL= http://www.sudo.ws/
3817N/ACOMPONENT_BUGDB= utility/sudo
3817N/A
3817N/Ainclude $(WS_TOP)/make-rules/prep.mk
303N/Ainclude $(WS_TOP)/make-rules/configure.mk
303N/Ainclude $(WS_TOP)/make-rules/ips.mk
303N/A
303N/ACONFIGURE_ENV += "CC=$(CC)"
303N/ACONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
303N/ACONFIGURE_ENV += "CXX=$(CXX)"
303N/ACONFIGURE_ENV += "MAKE=$(GMAKE)"
303N/A
303N/ACONFIGURE_OPTIONS += --with-ldap
303N/ACONFIGURE_OPTIONS += --with-project
303N/ACONFIGURE_OPTIONS += --with-timedir=/system/volatile/sudo
303N/ACONFIGURE_OPTIONS += --with-pam --with-pam-login
303N/ACONFIGURE_OPTIONS += --with-tty-tickets
303N/ACONFIGURE_OPTIONS += --without-insults
303N/ACONFIGURE_OPTIONS += --without-lecture
303N/ACONFIGURE_OPTIONS += --with-ignore-dot
303N/ACONFIGURE_OPTIONS += --with-bsm-audit
303N/ACONFIGURE_OPTIONS += --libexecdir=/usr/lib/sudo
303N/ACONFIGURE_OPTIONS += "sudo_cv_var_nroff_opt_Tascii=no"
303N/A
303N/ACOMPONENT_BUILD_ENV += CC=$(CC) CXX=$(CXX)
303N/ACOMPONENT_BUILD_ENV += "CFLAGS=$(CFLAGS)"
303N/A
303N/ACOMPONENT_INSTALL_TARGETS = install
303N/A
303N/A# common targets
303N/A
303N/Abuild: $(BUILD_32)
303N/A
303N/Ainstall: $(INSTALL_32)
303N/A
303N/Atest: $(NO_TESTS)
303N/A
303N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
401N/A
303N/Ainclude $(WS_TOP)/make-rules/depend.mk
303N/A