Print this page
lib: move compat links from targetdirs to proper makefiles

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmd/amd64/Makefile
          +++ new/usr/src/lib/libmd/amd64/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  pics/sha1-ni.o.objcap           := CAPFILE = capabilities/sha.cap
  53   53  pics/sha256-ni.o.objcap         := CAPFILE = capabilities/sha.cap
  54   54  
  55   55  # This prevents <sys/asm_linkage.h> from including C source:
  56   56  AS_CPPFLAGS += -D_ASM
  57   57  
  58   58  .KEPP_STATE:
  59   59  
  60   60  all:            $(LIBS)
  61   61  
  62      -install:        all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
       62 +install:        all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64) $(ROOTCOMPATLINKS64)
  63   63  
  64   64  lint:           lintcheck
  65   65  
  66   66  pics/%.o: %.s
  67   67                  $(COMPILE.s) -o $@ ${@F:.o=.s}
  68   68                  $(POST_PROCESS_O)
  69   69  
  70   70  pics/%.o: $(SRC)/common/crypto/sha1/amd64/%.s
  71   71                  $(COMPILE.s) -o $@ $<
  72   72                  $(POST_PROCESS_O)
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX