2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # Copyright (c) 2018, Joyent, Inc.
9 OBJS
= kdestroy.o krpc_sys.o
11 SRCS
= kdestroy.c krpc_sys.c
13 include ..
/..
/Makefile.cmd
14 include $(SRC
)/lib
/gss_mechs
/mech_krb5
/Makefile.mech_krb5
16 CERRWARN
+= -Wno-implicit-function-declaration
17 CERRWARN
+= -Wno-parentheses
25 CPPFLAGS
+= -I..
/..
/..
/lib
/gss_mechs
/mech_krb5
/include \
26 -I
$(SRC
)/uts
/common
/gssapi
/mechs
/krb5
/include
30 sparc_CPPFLAGS
+= -D
$(MACH
)
32 LDFLAGS
+= $(KRUNPATH
)
38 krpc_sys.o
: krpc_sys.c
39 $(COMPILE.c
) -o
$@ krpc_sys.c
43 $(LINK.c
) $(OBJS
) -o
$@
$(LDLIBS
)
52 include ..
/..
/Makefile.targ
54 $(POFILE
): $(DERIVED_FILES
) .WAIT
$(POFILES
)
56 $(CAT
) $(POFILES
) > $@
60 $(XGETTEXT
) $(XGETFLAGS
) `($(GREP) -l gettext *.[ch] || echo /dev/null)`
61 $(SED
) "/^domain/d" messages.po
> $@