Print this page
7945 simplify bootadm_digest.c
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/boot/bootadm/Makefile
          +++ new/usr/src/cmd/boot/bootadm/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  SRCS = $(OBJS:.o=.c)
  36   36  POFILES= $(OBJS:%.o=%.po)
  37   37  
  38   38  include ../Makefile.com
  39   39  
  40   40  POFILE= bootadm_cmd.po
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  LDLIBS_i386= -lfdisk
  45      -LDLIBS += -lficl-sys -lpkcs11 -lcryptoutil -lnvpair -lgen -ladm -lefi
       45 +LDLIBS += -lficl-sys -lmd -lcryptoutil -lnvpair -lgen -ladm -lefi
  46   46  LDLIBS += -lz -lbe -lzfs $(LDLIBS_$(MACH))
  47   47  
  48   48  # Writing into string literals is incorrect.  We need to match gcc's
  49   49  # behavior, which causes us to take SIGSEGV on such a write.
  50   50  CFLAGS +=       $(XSTRCONST)
  51   51  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  52   52  CPPFLAGS +=     -I$(SRC)/uts/common -I$(SRC)/common -I$(SRC)/common/ficl
  53   53  
  54   54  C99MODE=        $(C99_ENABLE)
  55   55  
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX