Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/krb5/klist/Makefile
+++ new/usr/src/cmd/krb5/klist/Makefile
1 1 #
2 2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 3 # Use is subject to license terms.
4 4 #
5 -#
5 +# Copyright (c) 2018, Joyent, Inc.
6 6
7 7 PROG= klist
8 8
9 9 OUTPUT_OPTION = -I.
10 10
11 11 OBJS = klist.o
12 12 SRCS = $(OBJS:.o=.c)
13 13
14 14 include ../../Makefile.cmd
15 15 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
16 16
17 17 TEXT_DOMAIN = SUNW_OST_OSCMD
18 18 POFILE = klist.po
19 19 POFILES = generic.po
20 20
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
21 21 DEFS = -DHAVE_GETIPNODEBYADDR=1 -DHAVE_INET_NTOP=1
22 22
23 23 CPPFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
24 24 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
25 25 $(DEFS)
26 26
27 27 LDFLAGS += $(KRUNPATH)
28 28 LDLIBS += $(KMECHLIB)
29 29 CERRWARN += -_gcc=-Wno-unused-function
30 30
31 +# not linted
32 +SMATCH=off
33 +
31 34 $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50
32 35
33 36 .KEEP_STATE:
34 37
35 38 all: $(PROG)
36 39
37 40 $(PROG): $(OBJS)
38 41 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
39 42 $(POST_PROCESS)
40 43
41 44 install: $(KRB5PROG)
42 45
43 46 install_h:
44 47
45 48 clean:
46 49 $(RM) $(OBJS)
47 50
48 51 lint: lint_SRCS
49 52
50 53 include ../../Makefile.targ
51 54
52 55 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
53 56 $(RM) $@
54 57 $(CAT) $(POFILES) > $@
55 58
56 59 generic.po:
57 60 $(RM) messages.po
58 61 $(XGETTEXT) $(XGETFLAGS) `($(GREP) -l gettext *.[ch] || echo /dev/null)`
59 62 $(SED) "/^domain/d" messages.po > $@
60 63 $(RM) messages.po
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX