Lines Matching defs:mklibs
31 define mklibs
32 rm -rf $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-out
33 # first find all programs and add them to the mklibs list
36 awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs
40 awk ' /shared object/ { print $$1 }' > $(TMP_DIR)/mklibs-libs
41 mkdir -p $(TMP_DIR)/mklibs-out
42 $(STAGING_DIR_HOST)/bin/mklibs -D \
43 -d $(TMP_DIR)/mklibs-out \
45 `cat $(TMP_DIR)/mklibs-libs | sed 's:/*[^/]\+/*$$::' | uniq | sed 's:^$(STAGING_DIR_ROOT):-L :'` \
51 `cat $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-libs` 2>&1
52 $(RSTRIP) $(TMP_DIR)/mklibs-out
53 for lib in `ls $(TMP_DIR)/mklibs-out/*.so.* 2>/dev/null`; do \
131 $(call mklibs)