17c478bd9Sstevel@tonic-gate# 2*c2785286Sgtb# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 37c478bd9Sstevel@tonic-gate# Use is subject to license terms. 47c478bd9Sstevel@tonic-gate# 57c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 67c478bd9Sstevel@tonic-gate# 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gatePROG= kdestroy 97c478bd9Sstevel@tonic-gate 10*c2785286SgtbOBJS = kdestroy.o krpc_sys.o 117c478bd9Sstevel@tonic-gate 12*c2785286SgtbSRCS = kdestroy.c krpc_sys.c 137c478bd9Sstevel@tonic-gate 147c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd 157c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 167c478bd9Sstevel@tonic-gate 177c478bd9Sstevel@tonic-gatePOFILE = kdestroy.po 187c478bd9Sstevel@tonic-gatePOFILES = generic.po 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gateCPPFLAGS += -I../../../lib/gss_mechs/mech_krb5/include \ 21*c2785286Sgtb -I$(SRC)/uts/common/gssapi/mechs/krb5/include 22*c2785286Sgtb 237c478bd9Sstevel@tonic-gate 247c478bd9Sstevel@tonic-gatei386_CPPFLAGS = 257c478bd9Sstevel@tonic-gatesparc_CPPFLAGS += -D$(MACH) 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gateLDFLAGS += $(KRUNPATH) 28*c2785286SgtbLDLIBS += $(KMECHLIB) 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gate.KEEP_STATE: 317c478bd9Sstevel@tonic-gateall: $(PROG) 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gatekrpc_sys.o: krpc_sys.c 347c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ krpc_sys.c 357c478bd9Sstevel@tonic-gate $(POST_PROCESS_O) 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gate$(PROG): $(OBJS) 387c478bd9Sstevel@tonic-gate $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 397c478bd9Sstevel@tonic-gate $(POST_PROCESS) 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gateinstall: $(KRB5PROG) 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gateclean: 447c478bd9Sstevel@tonic-gate $(RM) $(OBJS) 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gatelint: lint_SRCS 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES) 517c478bd9Sstevel@tonic-gate $(RM) $@ 527c478bd9Sstevel@tonic-gate $(CAT) $(POFILES) > $@ 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gategeneric.po: 557c478bd9Sstevel@tonic-gate $(RM) messages.po 567c478bd9Sstevel@tonic-gate $(XGETTEXT) $(XGETFLAGS) `($(GREP) -l gettext *.[ch] || echo /dev/null)` 577c478bd9Sstevel@tonic-gate $(SED) "/^domain/d" messages.po > $@ 587c478bd9Sstevel@tonic-gate $(RM) messages.po 597c478bd9Sstevel@tonic-gate 60