1# 2# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# ident "%Z%%M% %I% %E% SMI" 6# 7 8PROG= kdestroy 9 10OBJS = kdestroy.o krpc_sys.o 11 12SRCS = kdestroy.c krpc_sys.c 13 14include ../../Makefile.cmd 15include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 16 17POFILE = kdestroy.po 18POFILES = generic.po 19 20CPPFLAGS += -I../../../lib/gss_mechs/mech_krb5/include \ 21 -I$(SRC)/uts/common/gssapi/mechs/krb5/include 22 23 24i386_CPPFLAGS = 25sparc_CPPFLAGS += -D$(MACH) 26 27LDFLAGS += $(KRUNPATH) 28LDLIBS += $(KMECHLIB) 29 30.KEEP_STATE: 31all: $(PROG) 32 33krpc_sys.o: krpc_sys.c 34 $(COMPILE.c) -o $@ krpc_sys.c 35 $(POST_PROCESS_O) 36 37$(PROG): $(OBJS) 38 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 39 $(POST_PROCESS) 40 41install: $(KRB5PROG) 42 43clean: 44 $(RM) $(OBJS) 45 46lint: lint_SRCS 47 48include ../../Makefile.targ 49 50$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES) 51 $(RM) $@ 52 $(CAT) $(POFILES) > $@ 53 54generic.po: 55 $(RM) messages.po 56 $(XGETTEXT) $(XGETFLAGS) `($(GREP) -l gettext *.[ch] || echo /dev/null)` 57 $(SED) "/^domain/d" messages.po > $@ 58 $(RM) messages.po 59 60