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= libdb2.a
2N/AVERS= .1
2N/A
2N/A# btree
2N/ABTREE_OBJS= \
2N/A bt_close.o \
2N/A bt_conv.o \
2N/A bt_delete.o \
2N/A bt_get.o \
2N/A bt_open.o \
2N/A bt_overflow.o \
2N/A bt_page.o \
2N/A bt_put.o \
2N/A bt_search.o \
2N/A bt_seq.o \
2N/A bt_split.o \
2N/A bt_utils.o
2N/A
2N/A# db
2N/ADB_OBJS= db.o
2N/A
2N/A# hash
2N/AHASH_OBJS= \
2N/A hash.o \
2N/A hash_bigkey.o \
2N/A hash_func.o \
2N/A hash_log2.o \
2N/A hash_page.o \
2N/A hsearch.o \
2N/A dbm.o
2N/A
2N/A# mpool
2N/AMPOOL_OBJS= mpool.o
2N/A
2N/A# recno
2N/ARECNO_OBJS= \
2N/A rec_close.o \
2N/A rec_delete.o \
2N/A rec_get.o \
2N/A rec_open.o \
2N/A rec_put.o \
2N/A rec_search.o \
2N/A rec_seq.o \
2N/A rec_utils.o
2N/A
2N/AOBJECTS= \
2N/A $(BTREE_OBJS) $(DB_OBJS) $(HASH_OBJS) $(MPOOL_OBJS) $(RECNO_OBJS)
2N/A
2N/A# include library definitions
2N/Ainclude $(SRC)/lib/krb5/Makefile.lib
2N/A
2N/ASRCS= $(BTREE_OBJS:%.o=../btree/%.c) \
2N/A $(DB_OBJS:%.o=../db/%.c) \
2N/A $(HASH_OBJS:%.o=../hash/%.c) \
2N/A $(MPOOL_OBJS:%.o=../mpool/%.c) \
2N/A $(RECNO_OBJS:%.o=../recno/%.c)
2N/A
2N/ALIBS= $(DYNLIB)
2N/A
2N/A# The following objects are unused. Refer to comments in Makefile.master.
2N/AUNUSEDBTOBJS = bt_debug.o
2N/AUNUSEDFILES = $(UNUSEDBTOBJS:%.o=../btree/%.c)
2N/APOST_PROCESS_SO += $(ACCESS_UNUSEDFILES)
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#override liblink
2N/AINS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
2N/A
2N/ACPPFLAGS += -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
2N/A -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
2N/A -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
2N/A -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
2N/A -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \
2N/A -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \
2N/A -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
2N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include #for db-ndbm.h
2N/A
2N/ACFLAGS += $(CCVERBOSE) -I..
2N/ALDLIBS += -lc
2N/A
2N/A# Identify that this library is an interposer (on dbm_ routines from libc.so.1).
2N/A# This identification insures runtime symbol lookup resolves to this library
2N/A# (before libc.so.1) regardless of dependency link order.
2N/ADYNFLAGS += $(ZINTERPOSE)
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall: $(LIBS)
2N/A
2N/Alint: lintcheck
2N/A
2N/A# include library targets
2N/Ainclude $(SRC)/lib/krb5/Makefile.targ
2N/A
2N/Apics/%.o: ../btree/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/Apics/%.o: ../db/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/Apics/%.o: ../hash/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/Apics/%.o: ../mpool/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/Apics/%.o: ../recno/%.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/AFRC:
2N/A
2N/Ageneric.po: FRC
2N/A $(RM) messages.po
2N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../hash/*.[ch]`
2N/A $(SED) "/^domain/d" messages.po > $@
2N/A $(RM) messages.po