2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
8 OBJS
= tty_kpasswd.o kpasswd.o
11 CLOBBERFILES
+= $(TESTPROG
)
13 include ..
/..
/..
/Makefile.cmd
14 include $(SRC
)/lib
/gss_mechs
/mech_krb5
/Makefile.mech_krb5
22 KRB5LIBDIR
= $(ROOT
)$(KERBLIBDIR
)
24 CPPFLAGS
+= -I
$(SRC
)/lib
/gss_mechs
/mech_krb5
/include \
25 -I
$(SRC
)/uts
/common
/gssapi
/include/ \
26 -I
$(SRC
)/uts
/common
/gssapi
/mechs
/krb5
/include \
28 -DHAVE_LIBSOCKET
=1 -DHAVE_LIBNSL
=1 -DHAVE_UNISTD_H
=1 \
29 -DHAVE_SYS_TIMEB_H
=1 -DHAVE_ALLOCA_H
=1 -DHAVE_FTIME
=1 \
30 -DHAVE_TIMEZONE
-DUSE_KADM5_API_VERSION
=2
32 COPTFLAG
+= #-I$(KINCDIR)
34 CERRWARN
+= -Wno-parentheses
35 CERRWARN
+= -Wno-unused-variable
36 CERRWARN
+= -Wno-unused-function
38 LDFLAGS
+= $(KRUNPATH
) $(KERBRUNPATH
)
39 LDLIBS
+= -L
$(KRB5LIBDIR
)
40 LDLIBS
+= $(KMECHLIB
) $(KCLNTLIB
)
47 $(LINK.c
) $(OBJS
) -o
$@
$(LDLIBS
)
56 include ..
/..
/..
/Makefile.targ
58 $(POFILE
): $(DERIVED_FILES
) .WAIT
$(POFILES
)
60 $(CAT
) $(POFILES
) > $@
65 $(XGETTEXT
) $(XGETFLAGS
) `$(GREP) -l gettext *.[ch]`
66 $(SED
) "/^domain/d" messages.po
> $@