Makefile revision 5861
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# CDDL HEADER START
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# The contents of this file are subject to the terms of the
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Common Development and Distribution License (the "License").
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# You may not use this file except in compliance with the License.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# See the License for the specific language governing permissions
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# and limitations under the License.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# When distributing Covered Code, include this CDDL HEADER in each
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# If applicable, add the following below this CDDL HEADER, with the
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# fields enclosed by brackets "[]" replaced with your own identifying
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# information: Portions Copyright [yyyy] [name of copyright owner]
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# CDDL HEADER END
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningCOMPONENT_PROJECT_URL= http://web.mit.edu/kerberos/
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning sha256:5d4af08ead9b7a1e9493cfd65e821234f151a46736e1ce586f886c8a8e65fabe
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning $(COMPONENT_PROJECT_URL)dist/krb5/$(COMPONENT_MINOR)/$(COMPONENT_ARCHIVE)
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningLINT_FLAGS += -I$(PROTOUSRINCDIR) -I$(PROTOUSRINCDIR)/kerberosv5 -I$(COMPONENT_DIR)/Solaris
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Depends on S12-only header file in ON.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Encoding rules for IPS: MIT KerberosV5 <x>.<y>[.<z>] => IPS <x>.<y>.[<z>|0].0
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# The configure script is not at the top of the source directory.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# We need to enable large file support and build PIC for our shared libraries
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Include openldap headers instead of obsolete mozilla ldap headers.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Temporary solution until we can fix this upstream with MIT, which currently
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# depends on implicit binding of libc. Here we explicitly link with libc to
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# satisfy this dependency.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# If you make changes to LDFLAGS, check krb5-config and 052-krb5-config.patch.
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningCONFIGURE_ENV += DEFKTNAME="FILE:$(ETCDIR)/krb5/krb5.keytab"
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningCONFIGURE_ENV += DEFCKTNAME="FILE:/var/user/%{username}/client.keytab"
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu Xiangning# Other CONFIGURE_OPTIONS assignments coming from make-rules/configure.mk
0f1702c5201310f0529cd5abb77652e5e9b241b6Yu XiangningCONFIGURE_OPTIONS.32 += --libexecdir=$(USRLIBDIR)
# MIT's test suite is not well suited for master results processing/filtering
# We move xdr_alloc.c and supporting dyn code from libgssrpc directly
COMPONENT_PREP_ACTION += ;\
test: $(TEST_32_and_64)