Print this page
10051 cw(1) shouldn't have to translate -g

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/svccfg/Makefile
          +++ new/usr/src/cmd/svc/svccfg/Makefile
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40                  manifest_hash.ln
  41   41  
  42   42  MYOBJS =        $(SRCS:%.c=%.o) \
  43   43                  svccfg_grammar.o \
  44   44                  svccfg_lex.o \
  45   45                  manifest_find.o \
  46   46                  manifest_hash.o \
  47   47                  notify_params.o
  48   48  OBJS =          $(MYOBJS)
  49   49  
  50      -POFILES =       $(SRCS:%.c=%.po) \
       50 +POFILES =       $(SRCS:%.c=%.po) \
  51   51                  svccfg_grammar.po \
  52   52                  svccfg_lex.po \
  53   53                  ../common/manifest_find.po \
  54   54                  ../common/manifest_hash.po
  55   55  
  56   56  include ../../Makefile.cmd
  57   57  include ../../Makefile.ctf
  58   58  
  59   59  POFILE =        $(PROG)_all.po
  60   60  
↓ open down ↓ 25 lines elided ↑ open up ↑
  86   86  
  87   87  CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
  88   88      $(MYPROG:%=%-native)
  89   89  
  90   90  SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair
  91   91  $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla
  92   92  
  93   93  LIBSCF          = $(SRC)/lib/libscf
  94   94  LIBTECLA        = $(SRC)/lib/libtecla           # just for the header
  95   95  LIBUUTIL        = $(SRC)/lib/libuutil
  96      -
  97      -debug := COPTFLAG = -g
  98   96  
  99   97  lint := LINTFLAGS = -mux
 100   98  lint := SVCCFG_EXTRA_LIBS = -lscf -ll -luutil -lumem -lmd5 -lnvpair
 101   99  
 102  100  LDLIBS += $(SVCCFG_EXTRA_LIBS)
 103  101  
 104  102  $(NATIVE_BUILD)CC =     $(NATIVECC)
 105  103  $(NATIVE_BUILD)LD =     $(NATIVELD)
 106  104  $(NATIVE_BUILD)CFLAGS = $(NATIVE_CFLAGS)
 107  105  $(NATIVE_BUILD)CPPFLAGS = \
↓ open down ↓ 72 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX