Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-crypto/tpmadm/Makefile
          +++ new/usr/src/cmd/cmd-crypto/tpmadm/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  include ../../Makefile.cmd
  31   31  
  32   32  SRCS =  $(OBJS:%.o=%.c)
  33   33  POFILES = $(OBJS:%.o=%.po)
  34   34  POFILE = $(PROG)_msg.po
  35   35  MSGFILES=$(SRCS:%.c=%.i)
  36   36  
  37   37  CPPFLAGS += -xCC
  38   38  LINTFLAGS += -XCC  -L$(ADJUNCT_PROTO)/usr/lib
  39   39  LDLIBS += -ltspi -luuid
       40 +ADJUNCT_LIBS = libtspi.so
  40   41  
  41   42  CLOBBERFILES = C.ln $(POFILE) $(POFILES)
  42   43  
  43   44  .KEEP_STATE:
  44   45  
  45   46  all : $(PROG)
  46   47  
  47   48  $(PROG) : $(OBJS)
  48   49          $(LINK.c) -o $@ $(OBJS) $(DYNFLAGS) $(LDLIBS)
  49   50          $(POST_PROCESS)
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX