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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/yacc/Makefile.targ
          +++ new/usr/src/cmd/sgs/yacc/Makefile.targ
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
       22 +# Copyright 2015 Gary Mills
  22   23  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   24  # Use is subject to license terms.
  24   25  #
  25      -# ident "%Z%%M% %I%     %E% SMI"
  26   26  #
  27   27  
  28   28  $(PROG): objs .WAIT $(POBJS)
  29   29          $(LINK.c) $(POBJS) -o $@ $(LDLIBS)
  30   30          $(POST_PROCESS)
  31   31  
  32   32  # conditional assignment of default permissions for the installed
  33   33  # DYNLIB/DYNLIBCCC.  Set here and in Makefile.mach, instead of Makefile.lib,
  34   34  # because ROOTLIBDIR may be changed in the including makefile after it has
  35   35  # included Makefile.lib.
↓ open down ↓ 42 lines elided ↑ open up ↑
  78   78  # install rule for lint library target
  79   79  $(ROOTLINTDIR)/%: ../common/%
  80   80          $(INS.file)
  81   81  
  82   82  $(DYNLINKLIBDIR)/%: %$(VERS)
  83   83          $(INS.liblink)
  84   84  
  85   85  clean:
  86   86                  $(RM) $(POBJS) $(OBJS) $(PICS) $(CLEANFILES)
  87   87  
  88      -lint:           $(LINTPOUT) $(LINTLIB)
       88 +$(LINTLIB): $$(SRCS) 
       89 +        $(LINT.c) -o $(LIBNAME) $(SRCS) > $(LINTOUT) 2>&1 
  89   90  
       91 +lintcheck: $$(SRCS)
       92 +        $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS)
  90   93  
  91      -LINT_HDR=       perl ../../tools/lint_hdr.pl
  92      -
  93      -$(LINTPOUT):    $(SRCS)
  94      -        $(LINT_HDR) $(PROG)                      > $(LINTPOUT)
  95      -        $(LINT_HDR) -s yacc                     >> $(LINTPOUT)
  96      -        $(LINT.c) $(COMSRCS) $(LDLIBS)          2>&1 | tee -a $(LINTPOUT)
  97      -
  98      -        $(LINT_HDR) -s liby.so.1                >> $(LINTPOUT)
  99      -        $(LINT.c) $(LIBSRCS) $(LDLIBS)          2>&1 | tee -a $(LINTPOUT)
 100      -
 101      -
 102      -$(LINTLIB):     $(LINTSRCS)
 103      -                $(LINT.c) -o $(LIBNAME) $(LINTSRCS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX