dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / krb5 / kadmin / ktutil / Makefile
blobe585234f0a61b4d597d277e3c3fc06e107d6ed6d
2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
6 PROG= ktutil
8 OBJS = ktutil.o ktutil_ct.o ktutil_funcs.o
9 SRCS = $(OBJS:.o=.c)
11 CLOBBERFILES += $(TESTPROG)
13 include ../../../Makefile.cmd
14 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
16 POFILE = $(PROG).po
17 POFILES = generic.po
19 CPPFLAGS += -I$(SRC)/uts/common/gssapi/include \
20 -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
21 -I$(SRC)/uts/common/gssapi/include \
22 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
23 -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_UNISTD_H=1 \
24 -DHAVE_SYS_TIMEB_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_FTIME=1 \
25 -DHAVE_TIMEZONE
26 COPTFLAG += #-I$(KINCDIR)
28 CERRWARN += -Wno-implicit-function-declaration
29 CERRWARN += -Wno-unused-function
31 LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
32 LDLIBS += $(KMECHLIB) $(ROOT)$(KERBLIBDIR)/libss.so
34 .KEEP_STATE:
36 all: $(PROG)
38 ktutil: $(OBJS)
39 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
40 $(POST_PROCESS)
42 install: $(KRB5PROG)
44 clean:
45 $(RM) $(OBJS)
48 include ../../../Makefile.targ
50 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
51 $(RM) $@
52 $(CAT) $(POFILES) > $@
53 $(RM) generic.po
55 generic.po:
56 $(RM) messages.po
57 $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]`
58 $(SED) "/^domain/d" messages.po > $@
59 $(RM) messages.po