Print this page
6648 illumos build should be explicit about C standards

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/awk/Makefile
          +++ new/usr/src/cmd/awk/Makefile
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  
  71   71  $(POFILE):  y.tab.h $(POFILES)
  72   72          $(RM) $@
  73   73          cat $(POFILES) > $@
  74   74  #
  75   75  
  76   76  proctab.c: maketab
  77   77          rm -f $@; ./maketab > $@
  78   78  
  79   79  maketab: maketab.c
  80      -        $(NATIVECC) -O maketab.c -o $@ $(LDLIBS)
       80 +        $(NATIVECC) $(NATIVE_CFLAGS) maketab.c -o $@ $(LDLIBS)
  81   81  
  82   82  install: all $(ROOTPROG) $(ROOTLINK)
  83   83  
  84   84  clean:
  85   85          $(RM) $(OBJS) $(CLEANFILES)
  86   86  
  87   87  lint: awk.g.c lint_SRCS
  88   88  
  89   89  awk.g.c + y.tab.h: awk.g.y
  90   90  
  91   91  awk.g.o: awk.g.c
  92   92  
  93   93  awk.lx.c: awk.lx.l
  94   94  
  95   95  proctab.o: proctab.c
  96   96          $(COMPILE.c) proctab.c
  97   97          $(POST_PROCESS_O)
  98   98  
  99   99  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX