Makefile revision 924
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf#
7f40ab64e74b7d1057b5ee6abc349e32e74b1b4cjim# The contents of this file are subject to the terms of the
7f40ab64e74b7d1057b5ee6abc349e32e74b1b4cjim# Common Development and Distribution License (the "License").
7f40ab64e74b7d1057b5ee6abc349e32e74b1b4cjim# You may not use this file except in compliance with the License.
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf#
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf# or http://www.opensolaris.org/os/licensing.
132ee6ac1c26d6e8953836316ba50734eefab47bsf# See the License for the specific language governing permissions
132ee6ac1c26d6e8953836316ba50734eefab47bsf# and limitations under the License.
132ee6ac1c26d6e8953836316ba50734eefab47bsf#
132ee6ac1c26d6e8953836316ba50734eefab47bsf# When distributing Covered Code, include this CDDL HEADER in each
497e47ed2aaf97b229bd29a8bdd15f5927dc50e6sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
497e47ed2aaf97b229bd29a8bdd15f5927dc50e6sf# If applicable, add the following below this CDDL HEADER, with the
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf# fields enclosed by brackets "[]" replaced with your own identifying
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf# information: Portions Copyright [yyyy] [name of copyright owner]
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf#
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf# CDDL HEADER END
4f517d09c93a552f177f49ff97e93aa44eb127ebcovener
4f517d09c93a552f177f49ff97e93aa44eb127ebcovener#
4f517d09c93a552f177f49ff97e93aa44eb127ebcovener# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
4f517d09c93a552f177f49ff97e93aa44eb127ebcovener#
6736c640e65e06990ef33af71ee81fac4df4ff5fjim
20eead0b01d51fce0cc17d04b8f98ec38eac68aejiminclude ../../make-rules/shared-macros.mk
20eead0b01d51fce0cc17d04b8f98ec38eac68aejim
20eead0b01d51fce0cc17d04b8f98ec38eac68aejimCOMPONENT_NAME= sudo
cc45ee60ddfb8380b3703455098475eb72625ca8jimSRC_VERSION= 1.8.4
20eead0b01d51fce0cc17d04b8f98ec38eac68aejimSRC_PATCH_VERSION= 5
cc45ee60ddfb8380b3703455098475eb72625ca8jimCOMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION)
cc45ee60ddfb8380b3703455098475eb72625ca8jimCOMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION)
46e5dfe0899face9346d6711e4f2ba873d526991sfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
46e5dfe0899face9346d6711e4f2ba873d526991sfCOMPONENT_ARCHIVE_HASH= \
46e5dfe0899face9346d6711e4f2ba873d526991sf sha256:cf41ea1ada17c0dfbd8480dd9dc800999e0db9f2972ffa8f7a2944751ad32aba
aee831691bb9ecd96dea63d35bc8bdd21c0f0b1fsfCOMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE)
aee831691bb9ecd96dea63d35bc8bdd21c0f0b1fsfCOMPONENT_PROJECT_URL= http://www.sudo.ws/
aee831691bb9ecd96dea63d35bc8bdd21c0f0b1fsf
aee831691bb9ecd96dea63d35bc8bdd21c0f0b1fsfinclude $(WS_TOP)/make-rules/prep.mk
79ccc75d7de4e14e5add1fa73aaabda0f5d33fe6trawickinclude $(WS_TOP)/make-rules/configure.mk
79ccc75d7de4e14e5add1fa73aaabda0f5d33fe6trawickinclude $(WS_TOP)/make-rules/ips.mk
79ccc75d7de4e14e5add1fa73aaabda0f5d33fe6trawick
fc1459657a1fde206a847f9028930725d715f8b4trawickCONFIGURE_ENV += "CC=$(CC)"
fc1459657a1fde206a847f9028930725d715f8b4trawickCONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
fc1459657a1fde206a847f9028930725d715f8b4trawickCONFIGURE_ENV += "CXX=$(CXX)"
e758971371df73b097609b2fd62bc14ad935e096trawickCONFIGURE_ENV += "MAKE=$(GMAKE)"
e758971371df73b097609b2fd62bc14ad935e096trawick
e758971371df73b097609b2fd62bc14ad935e096trawickCONFIGURE_OPTIONS += --with-ldap
1dd5136d67e0164e4afd723a471b86a1b7eb1874sfCONFIGURE_OPTIONS += --with-project
1dd5136d67e0164e4afd723a471b86a1b7eb1874sfCONFIGURE_OPTIONS += --with-timedir=/system/volatile/sudo
1dd5136d67e0164e4afd723a471b86a1b7eb1874sfCONFIGURE_OPTIONS += --with-pam --with-pam-login
1dd5136d67e0164e4afd723a471b86a1b7eb1874sfCONFIGURE_OPTIONS += --with-tty-tickets
e39eb98e3ad3fbf5c34b2fa1d16861f95143e22esfCONFIGURE_OPTIONS += --without-insults
e39eb98e3ad3fbf5c34b2fa1d16861f95143e22esfCONFIGURE_OPTIONS += --without-lecture
e39eb98e3ad3fbf5c34b2fa1d16861f95143e22esfCONFIGURE_OPTIONS += --with-ignore-dot
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sfCONFIGURE_OPTIONS += --with-bsm-audit
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sfCONFIGURE_OPTIONS += --libexecdir=/usr/lib/sudo
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sfCONFIGURE_OPTIONS += "sudo_cv_var_nroff_opt_Tascii=no"
d6fc66efa723db8b3ee5e9fd32579bed884e4e58sf
f00cb80197f824c3ff00dd4fdff3b2c267a519d1kbrandCOMPONENT_BUILD_ENV += CC=$(CC) CXX=$(CXX)
f00cb80197f824c3ff00dd4fdff3b2c267a519d1kbrandCOMPONENT_BUILD_ENV += "CFLAGS=$(CFLAGS)"
f00cb80197f824c3ff00dd4fdff3b2c267a519d1kbrand
f00cb80197f824c3ff00dd4fdff3b2c267a519d1kbrandCOMPONENT_INSTALL_TARGETS = install
85eacfc96a04547ef25aabbc06440039715084c2jorton
85eacfc96a04547ef25aabbc06440039715084c2jorton# common targets
85eacfc96a04547ef25aabbc06440039715084c2jorton
1d8d7e58e1d31d7b6fb7a518e09649a4dbb315e9trawickbuild: $(BUILD_32)
1d8d7e58e1d31d7b6fb7a518e09649a4dbb315e9trawick
1d8d7e58e1d31d7b6fb7a518e09649a4dbb315e9trawickinstall: $(INSTALL_32)
f34da68471f256dca0ff770257c3e1f982f74cf1trawick
f34da68471f256dca0ff770257c3e1f982f74cf1trawicktest: $(NO_TESTS)
f34da68471f256dca0ff770257c3e1f982f74cf1trawick
8b645fd3c950da73513b546366c7cfa7476c5c06jimBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
8b645fd3c950da73513b546366c7cfa7476c5c06jim
8b645fd3c950da73513b546366c7cfa7476c5c06jiminclude $(WS_TOP)/make-rules/depend.mk
8b645fd3c950da73513b546366c7cfa7476c5c06jim