diff options
author | John Levon <john.levon@joyent.com> | 2018-12-17 21:44:38 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2019-01-14 18:34:56 +0000 |
commit | 05ede3db5e3b7d540afbccdc872c735770e82ef3 (patch) | |
tree | 48e8ef98653eb259c6a4ed19a6fafa66f2a209f5 /usr/src/lib/libresolv2 | |
parent | cadd68ea0014761eda6a293664086dfa80686d85 (diff) | |
download | illumos-joyent-05ede3db5e3b7d540afbccdc872c735770e82ef3.tar.gz |
10079 smatch Makefile changes for usr/src/lib
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libresolv2')
-rw-r--r-- | usr/src/lib/libresolv2/Makefile.com | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr/src/lib/libresolv2/Makefile.com b/usr/src/lib/libresolv2/Makefile.com index 942d2a69b8..35e1eca77c 100644 --- a/usr/src/lib/libresolv2/Makefile.com +++ b/usr/src/lib/libresolv2/Makefile.com @@ -22,7 +22,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# +# Copyright (c) 2018, Joyent, Inc. LIBRARY= libresolv.a VERS= .2 @@ -32,16 +32,16 @@ BSDOBJS= putenv.o strcasecmp.o strsep.o \ gettimeofday.o setenv.o strerror.o utimes.o \ mktemp.o setitimer.o strpbrk.o writev.o -DSTOBJS= dst_api.o support.o hmac_link.o +DSTOBJS= dst_api.o support.o hmac_link.o -# inet_addr, inet_pton, inet_ntop, and inet_ntoa removed due to overlap with +# inet_addr, inet_pton, inet_ntop, and inet_ntoa removed due to overlap with # libnsl INETOBJS= inet_net_pton.o inet_neta.o inet_lnaof.o \ inet_netof.o nsap_addr.o inet_makeaddr.o \ inet_network.o inet_net_ntop.o inet_cidr_ntop.o \ inet_cidr_pton.o inet_data.o -# build only the IRS objects that the ISC libbind's make would +# build only the IRS objects that the ISC libbind's make would IRSTHROBJS= gethostent_r.o getnetent_r.o getnetgrent_r.o \ getprotoent_r.o getservent_r.o IRSOBJS= ${IRSTHROBJS} \ @@ -108,10 +108,13 @@ LOCFLAGS += $(CRYPTFLAGS) LOCFLAGS += -D_SYS_STREAM_H -D_REENTRANT -DSVR4 -DSUNW_OPTIONS \ $(SOLCOMPAT) -I../include -I../../common/inc -CPPFLAGS += $(LOCFLAGS) +CPPFLAGS += $(LOCFLAGS) CERRWARN += -_gcc=-Wno-implicit-function-declaration +# not linted +SMATCH=off + DYNFLAGS += $(ZNODELETE) LDLIBS += -lsocket -lnsl -lc -lmd |