Print this page
5468 Missing dependencies in lib/Makefile
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/cmd-inet/usr.bin/nca/Makefile
+++ new/usr/src/cmd/cmd-inet/usr.bin/nca/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 #
23 23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 +#
26 +# Copyright 2015 RackTop Systems.
25 27 #
26 28
27 29 PROG= ncab2clf
28 30 OBJS= ncab2clf.o
29 31 SRCS= $(OBJS:%.o=%.c)
30 32
31 33 include ../../../Makefile.cmd
32 34
33 35 #
34 36 # Message catalog
35 37 #
36 38 POFILE= ncab2clf.po
37 39 #
38 40
39 41 # these #defines are required to use UNIX 98 interfaces
40 42 _EXTN= -D_REENTRANT
41 43
42 44 $(OBJS) := CPPFLAGS += $(_EXTN)
43 45
44 46 LINTFLAGS += $(_EXTN)
45 47
46 48 INC_PATH += ../../../../uts/common/inet/nca -I.
47 49 CFLAGS += $(CCVERBOSE)
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
48 50 CERRWARN += -_gcc=-Wno-parentheses
49 51 CPPFLAGS += -I$(INC_PATH)
50 52
51 53 .KEEP_STATE:
52 54
53 55 .PARALLEL: $(OBJS)
54 56
55 57 all: $(PROG)
56 58
57 59 $(PROG): $(OBJS)
58 - $(LINK.c) $(OBJS) -o $@
60 + $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
59 61 $(POST_PROCESS)
60 62
61 63 #
62 64 # Message catalog
63 65 #
64 66 _msg: $(POFILE)
65 67
66 68 $(POFILE): $(SRCS)
67 69 $(RM) ncab2clf.po
68 70 $(COMPILE.cpp) $(SRCS) > $(POFILE).i
69 71 $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
70 72 sed "/^domain/d" messages.po > $@
71 73 $(RM) messages.po $(POFILE).i
72 74
73 75 #
74 76 install: all $(ROOTPROG)
75 77
76 78 clean:
77 79 $(RM) $(OBJS)
78 80
79 81 lint: lint_SRCS
80 82
81 83 include ../../../Makefile.targ
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX