8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / krb5 / klist / Makefile
blob4485ade1557635b1cc1b5871987a81e594aeabd6
2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
7 PROG= klist
9 OUTPUT_OPTION = -I.
11 OBJS = klist.o
12 SRCS = $(OBJS:.o=.c)
14 include ../../Makefile.cmd
15 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
17 TEXT_DOMAIN = SUNW_OST_OSCMD
18 POFILE = klist.po
19 POFILES = generic.po
21 DEFS = -DHAVE_GETIPNODEBYADDR=1 -DHAVE_INET_NTOP=1
23 CPPFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
24 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
25 $(DEFS)
27 LDFLAGS += $(KRUNPATH)
28 LDLIBS += $(KMECHLIB)
29 CERRWARN += -_gcc=-Wno-unused-function
31 $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50
33 .KEEP_STATE:
35 all: $(PROG)
37 $(PROG): $(OBJS)
38 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
39 $(POST_PROCESS)
41 install: $(KRB5PROG)
43 install_h:
45 clean:
46 $(RM) $(OBJS)
48 lint: lint_SRCS
50 include ../../Makefile.targ
52 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
53 $(RM) $@
54 $(CAT) $(POFILES) > $@
56 generic.po:
57 $(RM) messages.po
58 $(XGETTEXT) $(XGETFLAGS) `($(GREP) -l gettext *.[ch] || echo /dev/null)`
59 $(SED) "/^domain/d" messages.po > $@
60 $(RM) messages.po