2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A
2N/A#
2N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ALIBRARY= libkdb_ldap.a
2N/AVERS= .1
2N/A
2N/ALIBKLDAP_OBJS= \
2N/A kdb_ext.o \
2N/A kdb_ldap.o \
2N/A kdb_ldap_conn.o \
2N/A kdb_xdr.o \
2N/A ldap_create.o \
2N/A ldap_err.o \
2N/A ldap_fetch_mkey.o \
2N/A ldap_handle.o \
2N/A ldap_krbcontainer.o \
2N/A ldap_misc.o \
2N/A ldap_misc_solaris.o \
2N/A ldap_principal.o \
2N/A ldap_principal2.o \
2N/A ldap_pwd_policy.o \
2N/A ldap_realm.o \
2N/A ldap_service_stash.o \
2N/A ldap_tkt_policy.o \
2N/A lockout.o \
2N/A princ_xdr.o
2N/A
2N/AOBJECTS= $(LIBKLDAP_OBJS)
2N/A
2N/A# include library definitions
2N/Ainclude $(SRC)/lib/krb5/Makefile.lib
2N/A
2N/ASRCS= $(LIBKLDAP_OBJS:%.o=../%.c)
2N/A
2N/ALIBS= $(DYNLIB)
2N/A
2N/Ainclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
2N/A
2N/APOFILE = $(LIBRARY:%.a=%.po)
2N/APOFILES = generic.po
2N/A
2N/A# The following objects are unused. Refer to comments in Makefile.master.
2N/AUNUSEDOBJS = ldap_service_rights.o \
2N/A ldap_services.o
2N/AUNUSEDFILES = $(UNUSEDOBJS:%.o=../%.c)
2N/APOST_PROCESS_SO += $(ACCESS_UNUSEDFILES)
2N/A
2N/A#override liblink
2N/AINS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
2N/A
2N/ACPPFLAGS += -I$(SRC)/lib/krb5 \
2N/A -I$(SRC)/lib/krb5/kdb \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
2N/A -I$(SRC)/uts/common/gssapi/include/ \
2N/A -I$(SRC)/uts/common/gssapi/mechs/krb5/include
2N/A
2N/A#gtbtmp183 ldap_pwd_policy.c
2N/ACFLAGS += -erroff=E_ARG_INCOMPATIBLE_WITH_ARG_L
2N/A
2N/ACFLAGS += $(CCVERBOSE) -I..
2N/ADYNFLAGS += $(KRUNPATH) $(KERBRUNPATH)
2N/ALDLIBS += $(KMECHLIB) -L $(LROOTLIBDIR) -lkadm5srv -lc -lnsl -lldap -lkdb
2N/A
2N/A$(PARFAIT_BUILD)__GNUC=
2N/A$(PARFAIT_BUILD)__GNUC64=
2N/A
2N/A# The LINTFLAGS line below suppresses lint warnings about unused lint keywords
2N/A# in header files. This happens to be the case for some krb headers.
2N/ALINTFLAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall: stub $(LIBS)
2N/A
2N/Alint: lintcheck
2N/A
2N/A# include library targets
2N/Ainclude $(SRC)/lib/krb5/Makefile.targ
2N/A
2N/AFRC:
2N/A
2N/Ageneric.po: FRC
2N/A $(RM) messages.po
2N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch]`
2N/A $(SED) "/^domain/d" messages.po > $@
2N/A $(RM) messages.po