Print this page
don't pass in lint libraries which no longer exist
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ssh/libssh/Makefile.com
+++ new/usr/src/cmd/ssh/libssh/Makefile.com
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 (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 22 # Use is subject to license terms.
23 23 #
24 24
25 25 LIBRARY = libssh.a
26 26 VERS = .1
27 27
28 28 OBJECTS = \
29 29 addrmatch.o \
30 30 atomicio.o \
31 31 authfd.o \
32 32 authfile.o \
33 33 bufaux.o \
34 34 buffer.o \
35 35 canohost.o \
36 36 channels.o \
37 37 cipher.o \
38 38 cipher-ctr.o \
39 39 compat.o \
40 40 compress.o \
41 41 crc32.o \
42 42 deattack.o \
43 43 dh.o \
44 44 dispatch.o \
45 45 engine.o \
46 46 entropy.o \
47 47 fatal.o \
48 48 g11n.o \
49 49 hostfile.o \
50 50 key.o \
51 51 kex.o \
52 52 kexdh.o \
53 53 kexdhc.o \
54 54 kexdhs.o \
55 55 kexgex.o \
56 56 kexgexc.o \
57 57 kexgexs.o \
58 58 kexgssc.o \
59 59 kexgsss.o \
60 60 log.o \
61 61 mac.o \
62 62 match.o \
63 63 misc.o \
64 64 mpaux.o \
65 65 msg.o \
66 66 nchan.o \
67 67 packet.o \
68 68 progressmeter.o \
69 69 proxy-io.o \
70 70 radix.o \
71 71 readconf.o \
72 72 readpass.o \
73 73 rsa.o \
74 74 sftp-common.o \
75 75 ssh-dss.o \
76 76 ssh-gss.o \
77 77 ssh-rsa.o \
78 78 tildexpand.o \
79 79 ttymodes.o \
80 80 uidswap.o \
81 81 uuencode.o \
82 82 xlist.o \
83 83 xmalloc.o
84 84
85 85 include $(SRC)/lib/Makefile.lib
86 86
↓ open down ↓ |
86 lines elided |
↑ open up ↑ |
87 87 BUILD.AR = $(RM) $@ ; $(AR) $(ARFLAGS) $@ $(AROBJS)
88 88
89 89 SRCDIR = ../common
90 90 SRCS = $(OBJECTS:%.o=../common/%.c)
91 91
92 92 LIBS = $(LIBRARY) $(LINTLIB)
93 93
94 94 # Define LDLIBS conditionally for lintcheck, rather than in general, since
95 95 # we're building an archive library which itself links to nothing, we just
96 96 # want lint to know about these libraries.
97 -lintcheck := LDLIBS += -lcrypto -lz -lsocket -lnsl -lc
97 +lintcheck := LDLIBS += -lsocket -lnsl -lc
98 98 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
99 99
100 100 POFILE_DIR = ../..
101 101
102 102 .KEEP_STATE:
103 103
104 104 all: $(LIBS)
105 105
106 106 # lint requires the (not installed) lint library
107 107 lint: $(LINTLIB) .WAIT lintcheck
108 108
109 109 include $(SRC)/lib/Makefile.targ
110 110
111 111 objs/%.o: $(SRCDIR)/%.c
112 112 $(COMPILE.c) -o $@ $<
113 113 $(POST_PROCESS_O)
114 114
115 115 include ../../Makefile.ssh-common
116 116 include ../../Makefile.msg.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX