lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | all:: subdirs $(LIBRARY).a |
| 2 | |
| 3 | install-shlibs:: |
| 4 | |
| 5 | uninstall-shlibs:: |
| 6 | |
| 7 | real-subdirs:: |
| 8 | |
| 9 | subdirs:: Makefile |
| 10 | $(Q) $(MAKE) -s real-subdirs |
| 11 | $(Q) touch subdirs |
| 12 | |
| 13 | clean:: |
| 14 | $(Q) $(RM) -f subdirs |
| 15 | |
| 16 | $(LIBRARY).a: $(OBJS) |
| 17 | $(E) " GEN_LIB $@" |
| 18 | $(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) |
| 19 | $(Q) $(ARGEN) $@ $(OBJS) |
| 20 | -@$(RANLIB) $@ |
| 21 | $(Q) $(RM) -f ../$@ |
| 22 | $(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \ |
| 23 | `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@) |
| 24 | |
| 25 | $(LIB)/$(LIBRARY).a: $(LIBRARY).a |