8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / krb5 / kdestroy / Makefile
blobfe8cb0f0583e1c3b83df09139be9f8bea7cec181
2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
6 PROG= kdestroy
8 OBJS = kdestroy.o krpc_sys.o
10 SRCS = kdestroy.c krpc_sys.c
12 include ../../Makefile.cmd
13 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
15 CERRWARN += -_gcc=-Wno-implicit-function-declaration
16 CERRWARN += -_gcc=-Wno-parentheses
18 POFILE = kdestroy.po
19 POFILES = generic.po
21 CPPFLAGS += -I../../../lib/gss_mechs/mech_krb5/include \
22 -I$(SRC)/uts/common/gssapi/mechs/krb5/include
25 i386_CPPFLAGS =
26 sparc_CPPFLAGS += -D$(MACH)
28 LDFLAGS += $(KRUNPATH)
29 LDLIBS += $(KMECHLIB)
31 .KEEP_STATE:
32 all: $(PROG)
34 krpc_sys.o: krpc_sys.c
35 $(COMPILE.c) -o $@ krpc_sys.c
36 $(POST_PROCESS_O)
38 $(PROG): $(OBJS)
39 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
40 $(POST_PROCESS)
42 install: $(KRB5PROG)
44 clean:
45 $(RM) $(OBJS)
47 lint: lint_SRCS
49 include ../../Makefile.targ
51 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
52 $(RM) $@
53 $(CAT) $(POFILES) > $@
55 generic.po:
56 $(RM) messages.po
57 $(XGETTEXT) $(XGETFLAGS) `($(GREP) -l gettext *.[ch] || echo /dev/null)`
58 $(SED) "/^domain/d" messages.po > $@
59 $(RM) messages.po