Makefile revision 54925bf60766fbb4f1f2d7c843721406a7b7a3fb
5255N/A#
5255N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
5255N/A# Use is subject to license terms.
5255N/A#
5255N/A# ident "%Z%%M% %I% %E% SMI"
5255N/A#
5255N/A
5255N/APROG= kdb5_util
5255N/A
5255N/AOBJS = kdb5_util.o \
5255N/A kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
5255N/A kdb5_destroy.o ovload.o strtok.o dump.o
5255N/A
5255N/ASRCS = $(OBJS:.o=.c)
5255N/A
5255N/ACLOBBERFILES += $(TESTPROG)
5255N/A
5255N/AISRCHDR= iprop.h
5255N/AKRB5IPROPDIR= $(SRC)/cmd/krb5/iprop
5255N/A
5255N/Ainclude ../../../Makefile.cmd
5255N/Ainclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
5255N/A
5255N/APOFILE = $(PROG).po
5680N/APOFILES = generic.po
6035N/A
6035N/ACPPFLAGS += -I. -I$(SRC)/lib/gss_mechs/mech_krb5/include/kerberosIV \
6035N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include \
5255N/A -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
5255N/A -I$(SRC)/lib/krb5 \
5680N/A -I$(SRC)/uts/common/gssapi/include \
5255N/A -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
5255N/A -I$(KRB5IPROPDIR) \
5837N/A -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_GETCWD=1 \
5837N/A -DHAVE_STRSTR=1 -DHAVE_COMPILE=1 -DHAVE_STEP=1 \
5837N/A -DHAVE_KRB_DB_H=1 -DHAVE_KDC_H=1 -DKDB4_DISABLE \
5837N/A -DUSE_KADM5_API_VERSION=2
5255N/ACOPTFLAG += $(XESS) #-I$(KINCDIR)
5255N/A
5255N/ALDFLAGS += $(KRUNPATH)
5384N/ALDLIBS += -L $(ROOT_KLIBDIR) -L $(KRB5LIB) -lkadm5srv -lkdb \
5384N/A -lmech_krb5 -lnsl
5384N/A
5384N/A.KEEP_STATE:
5384N/A
5384N/Aall: $(PROG)
5384N/A
5680N/A# Rpcgen-erate iprop.h from the iprop.x spec file
5680N/A$(ISRCHDR): $(KRB5IPROPDIR)/iprop.x
5255N/A $(RM) $@
5680N/A $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
5255N/A
5255N/A# Explicitly state the dependency on iprop.h
5680N/A$(OBJS): $(ISRCHDR)
5255N/A
5255N/A$(PROG): $(OBJS)
5680N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
5255N/A $(POST_PROCESS)
5255N/A
5332N/Ainstall: $(KRB5SBINPROG)
5255N/A
5255N/Aclean:
5255N/A $(RM) $(OBJS) $(ISRCHDR)
5255N/A
5255N/Alint: lint_SRCS
5255N/A
5255N/Ainclude ../../../Makefile.targ
5255N/A
5255N/A$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
5255N/A $(RM) $@
5255N/A $(CAT) $(POFILES) > $@
5255N/A
6035N/Ageneric.po: FRC
6035N/A $(RM) messages.po
6035N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]`
5255N/A $(SED) "/^domain/d" messages.po > $@
5255N/A $(RM) messages.po
5255N/A
5255N/AFRC:
5255N/A