Print this page
don't pass in lint libraries which no longer exist
gag lint errors that stem from lint libraries that the omnios build system does not build

@@ -23,13 +23,18 @@
 #
 
 include ../Makefile.com
 
 PROG=           p12split
-LDLIBS +=       -lwanboot -linetutil -lwanbootutil -lcrypto
+LDLIBS +=       -lwanboot -linetutil -lwanbootutil
 CPPFLAGS +=     -I$(CMNCRYPTDIR)
 
+# libcrypto has no lint library, so we can only include this while building
+$(PROG) := LDLIBS += -lcrypto
+
+LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
+
 all:            $(PROG)
 
 install:        all $(ROOTCMD)
 
 clean: