14960Swillf# 24960Swillf# CDDL HEADER START 34960Swillf# 44960Swillf# The contents of this file are subject to the terms of the 54960Swillf# Common Development and Distribution License (the "License"). 64960Swillf# You may not use this file except in compliance with the License. 74960Swillf# 84960Swillf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94960Swillf# or http://www.opensolaris.org/os/licensing. 104960Swillf# See the License for the specific language governing permissions 114960Swillf# and limitations under the License. 124960Swillf# 134960Swillf# When distributing Covered Code, include this CDDL HEADER in each 144960Swillf# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154960Swillf# If applicable, add the following below this CDDL HEADER, with the 164960Swillf# fields enclosed by brackets "[]" replaced with your own identifying 174960Swillf# information: Portions Copyright [yyyy] [name of copyright owner] 184960Swillf# 194960Swillf# CDDL HEADER END 204960Swillf# 214960Swillf# 225916Swillf# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 234960Swillf# Use is subject to license terms. 244960Swillf# 254960Swillf# ident "%Z%%M% %I% %E% SMI" 264960Swillf# 274960Swillf 284960SwillfLIBRARY= db2.a 294960SwillfVERS= .1 304960Swillf 314960Swillf# XXX need to set the install path to plugin dir 324960Swillf 334960Swillf# db2 plugin objects 344960SwillfDB2_OBJS= \ 354960Swillf adb_openclose.o \ 364960Swillf adb_policy.o \ 374960Swillf db2_exp.o \ 384960Swillf kdb_db2.o \ 394960Swillf kdb_xdr.o \ 404960Swillf pol_xdr.o 414960Swillf 424960SwillfOBJECTS= $(DB2_OBJS) 434960Swillf 444960Swillf# include library definitions 454960Swillfinclude $(SRC)/lib/krb5/Makefile.lib 464960Swillf 474960SwillfLIBS= $(DYNLIB) 484960SwillfSRCS= $(DB2_OBJS:%.o=../%.c) 494960Swillf 504960Swillfinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 514960Swillf 524960SwillfPOFILE = $(LIBRARY:%.a=%.po) 534960SwillfPOFILES = generic.po 544960Swillf 554960Swillf#override liblink 564960SwillfINS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 574960Swillf 585916SwillfCPPFLAGS += -DHAVE_CONFIG_H -DHAVE_BT_RSEQ \ 594960Swillf -I$(SRC)/cmd/krb5/iprop \ 604960Swillf -I$(SRC)/lib/krb5 \ 614960Swillf -I$(SRC)/lib/krb5/kdb \ 624960Swillf -I$(SRC)/lib/gss_mechs/mech_krb5/include \ 634960Swillf -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \ 644960Swillf -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \ 654960Swillf -I$(SRC)/uts/common/gssapi/include/ \ 664960Swillf -I$(SRC)/uts/common/gssapi/mechs/krb5/include 674960Swillf 684960SwillfCFLAGS += $(CCVERBOSE) 694960Swillf 70*6543SrieDYNFLAGS += $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB) 714960SwillfLDLIBS += -L $(ROOTLIBDIR) -ldb2 -lkdb -lkadm5srv -lc -lnsl 724960Swillf 734960Swillf.KEEP_STATE: 744960Swillf 754960Swillfall: $(LIBS) 764960Swillf 774960Swillflint: lintcheck 784960Swillf 794960Swillf# include library targets 804960Swillfinclude $(SRC)/lib/krb5/Makefile.targ 814960Swillf 824960SwillfFRC: 834960Swillf 844960Swillfgeneric.po: FRC 854960Swillf $(RM) messages.po 864960Swillf $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch]` 874960Swillf $(SED) "/^domain/d" messages.po > $@ 884960Swillf $(RM) messages.po 89