Print this page
12312 fix unused lib dependencies

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2020 Joyent, Inc.
 
 NETYPPROG =     rpc.yppasswdd
 DEFAULTFILES =  yppasswdd.dfl
 PROG =          $(NETYPPROG)
 

@@ -43,10 +43,12 @@
 #LDLIBS +=      -lrpcsvc -lnsl -lcrypt -lintl -lgen
 LDLIBS +=       -lnsl -lnisdb -lc
 MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
 LDFLAGS +=      $(MAPFILES:%=-M%)
 
+ZGUIDANCE =     -zguidance=nounused
+
 # Pick up includes from library
 CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
 
 # This file is now in the $(SRC)/head/rpcsvc directory.
 #HDRFILE= yppasswd.h

@@ -101,12 +103,10 @@
         $(INS.file)
 
 clean:
         $(RM) $(OBJS)
 
-lint:   lint_SRCS
-
 check: $(CHKMANIFEST)
 
 cstyle:
         ${CSTYLE} ${SRCS}