4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
73 $(BTREE_OBJS) $(DB_OBJS) $(HASH_OBJS) $(MPOOL_OBJS) $(RECNO_OBJS)
75 # include library definitions
76 include $(SRC)/lib/krb5/Makefile.lib
78 SRCS= $(BTREE_OBJS:%.o=../btree/%.c) \
79 $(DB_OBJS:%.o=../db/%.c) \
80 $(HASH_OBJS:%.o=../hash/%.c) \
81 $(MPOOL_OBJS:%.o=../mpool/%.c) \
82 $(RECNO_OBJS:%.o=../recno/%.c)
86 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
88 POFILE = $(LIBRARY:%.a=%.po)
92 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
94 CPPFLAGS += -DHAVE_CONFIG_H \
95 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/mpool \
96 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/db \
97 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/hash \
98 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/btree \
99 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/recno \
100 -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \
101 -I$(SRC)/lib/gss_mechs/mech_krb5/include #for db-ndbm.h
103 CFLAGS += $(CCVERBOSE) -I..
104 CERRWARN += -_gcc=-Wno-uninitialized
107 # Identify that this library is an interposer (on dbm_ routines from libc.so.1).
108 # This identification insures runtime symbol lookup resolves to this library
109 # (before libc.so.1) regardless of dependency link order.
110 DYNFLAGS += $(ZINTERPOSE)
118 # include library targets
119 include $(SRC)/lib/krb5/Makefile.targ
121 pics/%.o: ../btree/%.c
122 $(COMPILE.c) -o $@ $<
126 $(COMPILE.c) -o $@ $<
129 pics/%.o: ../hash/%.c
130 $(COMPILE.c) -o $@ $<
133 pics/%.o: ../mpool/%.c
134 $(COMPILE.c) -o $@ $<
137 pics/%.o: ../recno/%.c
138 $(COMPILE.c) -o $@ $<
145 $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../hash/*.[ch]`
146 $(SED) "/^domain/d" messages.po > $@