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