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