Print this page
6117 Many small bugs prevent a clean build on SPARC

@@ -17,14 +17,14 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
+# Copyright 2015 Gary Mills
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
 #
 
 $(PROG): objs .WAIT $(POBJS)
         $(LINK.c) $(POBJS) -o $@ $(LDLIBS)
         $(POST_PROCESS)

@@ -87,19 +87,11 @@
         $(INS.liblink)
 
 clean:
         $(RM) $(POBJS) $(OBJS) $(PICS) $(CLEANFILES)
 
-lint: $(LINTPOUT) $(LINTLIB)
+$(LINTLIB): $$(SRCS) 
+        $(LINT.c) -o $(LIBNAME) $(SRCS) > $(LINTOUT) 2>&1 
 
-LINT_HDR=       perl ../../tools/lint_hdr.pl
+lintcheck: $$(SRCS)
+        $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS)
 
-$(LINTPOUT): $(SRCS)
-        $(LINT_HDR) $(PROG)                      > $(LINTPOUT)
-        $(LINT_HDR) -s lex                      >> $(LINTPOUT)
-        $(LINT.c) $(MACHSRCS) $(LDLIBS)         2>&1 | tee -a $(LINTPOUT)
-
-        $(LINT_HDR) -s libl.so.1                >> $(LINTPOUT)
-        $(LINT.c) $(LIBSRCS)  $(LDLIBS)         2>&1 | tee -a $(LINTPOUT)
-
-$(LINTLIB): $(LINTSRCS)
-        $(LINT.c) -o $(LIBNAME) $(LINTSRCS)