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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/lex/Makefile.com
          +++ new/usr/src/cmd/sgs/lex/Makefile.com
↓ 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   26  
  26   27  PROG=           lex
  27   28  
  28   29  MACHOBJS=       main.o sub1.o sub2.o sub3.o header.o parser.o
  29   30  POBJECTS=       $(MACHOBJS)
  30   31  POBJS=          $(POBJECTS:%=objs/%)
  31   32  
↓ open down ↓ 37 lines elided ↑ open up ↑
  69   70  #$(LIBOBJS_W):= DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  70   71  objs/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  71   72  pics/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  72   73  
  73   74  #$(LIBOBJS_E):= DEFLIST = -DEUC -DJLSLEX  -DEOPTION -D$*=$*_e
  74   75  objs/%_e.o:=    DEFLIST = -DEUC -DJLSLEX  -DEOPTION -D$*=$*_e
  75   76  pics/%_e.o:=    DEFLIST = -DEUC -DJLSLEX  -DEOPTION -D$*=$*_e
  76   77  
  77   78  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
  78   79  BUILD.AR=       $(AR) $(ARFLAGS) $@ `$(LORDER) $(OBJS) | $(TSORT)`
  79      -LINTFLAGS=      -amux
       80 +LINTFLAGS=      -nuaxm
       81 +LINTFLAGS64=    -nuaxm -m64
  80   82  LINTPOUT=       lint.out
  81   83  
  82      -$(LINTLIB):=    LINTFLAGS = -nvx
  83   84  $(ROOTPROG):=   FILEMODE = 0555
  84   85  
  85   86  ROOTFORMS=      $(FORMS:%=$(ROOTSHLIBCCS)/%)
  86   87  
  87   88  ROOTLINTDIR=    $(ROOTLIBDIR)
  88   89  ROOTLINT=       $(LINTSRCS:../common/%=$(ROOTLINTDIR)/%)
  89   90  
  90   91  DYNLINKLIBDIR=  $(ROOTLIBDIR)
  91   92  DYNLINKLIB=     $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
  92   93  
  93   94  # Need to make sure lib-make's are warning free
  94   95  $(DYNLIB) :=    CFLAGS += $(CCVERBOSE)
  95   96  $(DYNLIB) :=    CFLAGS64 += $(CCVERBOSE)
  96   97  
  97   98  $(DYNLIB) :=    LDLIBS += -lc
  98   99  
  99  100  CLEANFILES +=   ../common/parser.c $(LINTPOUT)
 100  101  CLOBBERFILES += $(LIBS) $(LIBRARY)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX