Makefile revision 840
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
df4a7c143b27b489dd2d865bb3f6668c8420b3a9fanf# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
8ac8f75b9d0076f5f115c65adf02e5a177a84378trawick# You may not use this file except in compliance with the License.
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# or http://www.opensolaris.org/os/licensing.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# See the License for the specific language governing permissions
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# and limitations under the License.
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard#
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# When distributing Covered Code, include this CDDL HEADER in each
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# If applicable, add the following below this CDDL HEADER, with the
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# fields enclosed by brackets "[]" replaced with your own identifying
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# information: Portions Copyright [yyyy] [name of copyright owner]
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# CDDL HEADER END
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb#
632b0b53511f3bb9c32aa2869fbc73ee35081b38rbb# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf
f755f06050191550f77c825eff6b0e48a35b3e91dgaudetinclude ../../make-rules/shared-macros.mk
f755f06050191550f77c825eff6b0e48a35b3e91dgaudet
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudetCOMPONENT_NAME= sudo
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardSRC_VERSION= 1.8.3
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardSRC_PATCH_VERSION= 2
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCOMPONENT_VERSION= $(SRC_VERSION).$(SRC_PATCH_VERSION)
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCOMPONENT_SRC= $(COMPONENT_NAME)-$(SRC_VERSION)p$(SRC_PATCH_VERSION)
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCOMPONENT_ARCHIVE_HASH= sha1:37d70b133f809116ce631229fa0e727d9f5125ad
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardCOMPONENT_ARCHIVE_URL= http://www.sudo.ws/sudo/dist/$(COMPONENT_ARCHIVE)
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardCOMPONENT_PROJECT_URL= http://www.sudo.ws/
2aae6faee508221efbeaba5547ca79b7a20ef047stoddard
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudetinclude $(WS_TOP)/make-rules/prep.mk
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardinclude $(WS_TOP)/make-rules/configure.mk
4065b438067f3f08d0bd98b31ac4085b581b931dstoddardinclude $(WS_TOP)/make-rules/ips.mk
2739add8add66e21526ce27f83c2ae133d089070rbb
2739add8add66e21526ce27f83c2ae133d089070rbbCONFIGURE_ENV += "CC=$(CC)"
4065b438067f3f08d0bd98b31ac4085b581b931dstoddardCONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
211bf1d44f4653bf753a15740cd5ebbf330b6e93manojCONFIGURE_ENV += "CXX=$(CXX)"
211bf1d44f4653bf753a15740cd5ebbf330b6e93manojCONFIGURE_ENV += "MAKE=$(GMAKE)"
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manojCONFIGURE_OPTIONS += --with-ldap
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manojCONFIGURE_OPTIONS += --with-project
2a6c49cfaef5979a5a06098f3ce987cd76769409manojCONFIGURE_OPTIONS += --with-timedir=/system/volatile/sudo
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCONFIGURE_OPTIONS += --with-pam --with-pam-login
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCONFIGURE_OPTIONS += --with-tty-tickets
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardCONFIGURE_OPTIONS += --without-insults
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCONFIGURE_OPTIONS += --without-lecture
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCONFIGURE_OPTIONS += --with-ignore-dot
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCONFIGURE_OPTIONS += --with-bsm-audit
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCONFIGURE_OPTIONS += --libexecdir=/usr/lib/sudo
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCOMPONENT_BUILD_ENV += CC=$(CC) CXX=$(CXX)
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCOMPONENT_BUILD_ENV += "CFLAGS=$(CFLAGS)"
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardCOMPONENT_INSTALL_TARGETS = install
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard# common targets
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardbuild: $(BUILD_32)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardinstall: $(INSTALL_32)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardtest: $(NO_TESTS)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojinclude $(WS_TOP)/make-rules/depend.mk
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj