Makefile revision 1273
5d92fff82718cd018f0b61a10b9ad4d2b8064c95rpluem#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
9c67ffea79ab184351b5d554b57814e13285e758jim#
9c67ffea79ab184351b5d554b57814e13285e758jim# The contents of this file are subject to the terms of the
977c4527be5a21182f24fc22a40a79d576a52f86trawick# Common Development and Distribution License (the "License").
977c4527be5a21182f24fc22a40a79d576a52f86trawick# You may not use this file except in compliance with the License.
977c4527be5a21182f24fc22a40a79d576a52f86trawick#
7fef9f66804ea10d5bf343cdd3d607465e8340cajim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7fef9f66804ea10d5bf343cdd3d607465e8340cajim# or http://www.opensolaris.org/os/licensing.
7fef9f66804ea10d5bf343cdd3d607465e8340cajim# See the License for the specific language governing permissions
3770ed746d69c7a4111cba9966169bd5d7a509a6poirier# and limitations under the License.
3770ed746d69c7a4111cba9966169bd5d7a509a6poirier#
3770ed746d69c7a4111cba9966169bd5d7a509a6poirier# When distributing Covered Code, include this CDDL HEADER in each
3770ed746d69c7a4111cba9966169bd5d7a509a6poirier# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3770ed746d69c7a4111cba9966169bd5d7a509a6poirier# If applicable, add the following below this CDDL HEADER, with the
7bd92b29516bc4bf7351d35aa447dbe68f1e8bb4jorton# fields enclosed by brackets "[]" replaced with your own identifying
7bd92b29516bc4bf7351d35aa447dbe68f1e8bb4jorton# information: Portions Copyright [yyyy] [name of copyright owner]
7bd92b29516bc4bf7351d35aa447dbe68f1e8bb4jorton#
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener# CDDL HEADER END
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener#
ffae06377667a5d8f9699ac7512134de7000a83dminfrin# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ffae06377667a5d8f9699ac7512134de7000a83dminfrin#
ffae06377667a5d8f9699ac7512134de7000a83dminfrin
ffae06377667a5d8f9699ac7512134de7000a83dminfrininclude ../../make-rules/shared-macros.mk
efc81fe729a2b7401028387da184b4a98f0b854atrawick
efc81fe729a2b7401028387da184b4a98f0b854atrawickCOMPONENT_NAME= sudo
efc81fe729a2b7401028387da184b4a98f0b854atrawickSRC_VERSION= 1.8.4
efc81fe729a2b7401028387da184b4a98f0b854atrawickSRC_PATCH_VERSION= 5
9c67ffea79ab184351b5d554b57814e13285e758jimCOMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION)
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jimCOMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION)
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jimCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCOMPONENT_ARCHIVE_HASH= \
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim sha256:cf41ea1ada17c0dfbd8480dd9dc800999e0db9f2972ffa8f7a2944751ad32aba
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCOMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE)
29ecbd9db1622e74964264d078336f7604d65093jimCOMPONENT_PROJECT_URL= http://www.sudo.ws/
29ecbd9db1622e74964264d078336f7604d65093jimCOMPONENT_BUGDB= utility/sudo
29ecbd9db1622e74964264d078336f7604d65093jim
a503caacf7ab36d5bc42cb7c78256e1221642656jiminclude $(WS_TOP)/make-rules/prep.mk
a503caacf7ab36d5bc42cb7c78256e1221642656jiminclude $(WS_TOP)/make-rules/configure.mk
da40dfabefd6f8eb8450e9a097c594ee2ab13e3eminfrininclude $(WS_TOP)/make-rules/ips.mk
da40dfabefd6f8eb8450e9a097c594ee2ab13e3eminfrin
da40dfabefd6f8eb8450e9a097c594ee2ab13e3eminfrinCONFIGURE_ENV += "CC=$(CC)"
da40dfabefd6f8eb8450e9a097c594ee2ab13e3eminfrinCONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
59d316b83d42d2a07e25c20d8c35a07b369618bdsfCONFIGURE_ENV += "CXX=$(CXX)"
59d316b83d42d2a07e25c20d8c35a07b369618bdsfCONFIGURE_ENV += "MAKE=$(GMAKE)"
59d316b83d42d2a07e25c20d8c35a07b369618bdsf
59d316b83d42d2a07e25c20d8c35a07b369618bdsfCONFIGURE_OPTIONS += --with-ldap
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sfCONFIGURE_OPTIONS += --with-project
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sfCONFIGURE_OPTIONS += --with-timedir=/system/volatile/sudo
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sfCONFIGURE_OPTIONS += --with-pam --with-pam-login
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sfCONFIGURE_OPTIONS += --with-tty-tickets
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sfCONFIGURE_OPTIONS += --without-insults
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCONFIGURE_OPTIONS += --without-lecture
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCONFIGURE_OPTIONS += --with-ignore-dot
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCONFIGURE_OPTIONS += --with-bsm-audit
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCONFIGURE_OPTIONS += --libexecdir=/usr/lib/sudo
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jimCONFIGURE_OPTIONS += "sudo_cv_var_nroff_opt_Tascii=no"
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim
3e2582713ed6883683272fbc628a27419d0ed543minfrinCOMPONENT_BUILD_ENV += CC=$(CC) CXX=$(CXX)
3e2582713ed6883683272fbc628a27419d0ed543minfrinCOMPONENT_BUILD_ENV += "CFLAGS=$(CFLAGS)"
3e2582713ed6883683272fbc628a27419d0ed543minfrin
3e2582713ed6883683272fbc628a27419d0ed543minfrinCOMPONENT_INSTALL_TARGETS = install
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin# common targets
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin
a46801e6532423aa7bd184471eb49158d7c9ae62sfbuild: $(BUILD_32)
a46801e6532423aa7bd184471eb49158d7c9ae62sf
a46801e6532423aa7bd184471eb49158d7c9ae62sfinstall: $(INSTALL_32)
808a26d70f28498b9d7252a70d9fb23def781901minfrin
808a26d70f28498b9d7252a70d9fb23def781901minfrintest: $(NO_TESTS)
ef12246b88300687bf1faaf56d115dd8d8d82761jorton
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrinBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrininclude $(WS_TOP)/make-rules/depend.mk
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin