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)
@@ -83,21 +83,11 @@
$(INS.liblink)
clean:
$(RM) $(POBJS) $(OBJS) $(PICS) $(CLEANFILES)
-lint: $(LINTPOUT) $(LINTLIB)
+$(LINTLIB): $$(SRCS)
+ $(LINT.c) -o $(LIBNAME) $(SRCS) > $(LINTOUT) 2>&1
+lintcheck: $$(SRCS)
+ $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS)
-LINT_HDR= perl ../../tools/lint_hdr.pl
-
-$(LINTPOUT): $(SRCS)
- $(LINT_HDR) $(PROG) > $(LINTPOUT)
- $(LINT_HDR) -s yacc >> $(LINTPOUT)
- $(LINT.c) $(COMSRCS) $(LDLIBS) 2>&1 | tee -a $(LINTPOUT)
-
- $(LINT_HDR) -s liby.so.1 >> $(LINTPOUT)
- $(LINT.c) $(LIBSRCS) $(LDLIBS) 2>&1 | tee -a $(LINTPOUT)
-
-
-$(LINTLIB): $(LINTSRCS)
- $(LINT.c) -o $(LIBNAME) $(LINTSRCS)