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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/sbin/dhcpagent/Makefile
          +++ new/usr/src/cmd/cmd-inet/sbin/dhcpagent/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  include ../../../Makefile.cmd
  36   36  
  37   37  SRCS    = $(OBJS:%.o=%.c)
  38   38  POFILES = $(OBJS:%.o=%.po)
  39   39  XGETFLAGS += -a -x dhcpagent.xcl
  40   40  
  41   41  CERRWARN += -_gcc=-Wno-switch
  42   42  CERRWARN += -_gcc=-Wno-parentheses
  43   43  
  44      -#
  45      -# to compile a debug version, do a `make COPTFLAG="-g -XO0"'
  46      -#
  47      -
  48   44  CPPFLAGS  += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
  49   45  LDLIBS    += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \
  50   46          -ldlpi -lresolv -lsocket -lipadm
  51   47  
  52   48  # Disable warnings that affect all XPG applications.
  53   49  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
  54   50  
  55   51  .KEEP_STATE:
  56   52  
  57   53  all:            $(ROOTFS_PROG)
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX