You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
503 B
28 lines
503 B
4 months ago
|
all:: subdirs $(LIBRARY).a
|
||
|
|
||
|
install-shlibs-strip::
|
||
|
|
||
|
install-shlibs::
|
||
|
|
||
|
uninstall-shlibs::
|
||
|
|
||
|
real-subdirs::
|
||
|
|
||
|
subdirs:: Makefile
|
||
|
$(Q) $(MAKE) -s real-subdirs
|
||
|
$(Q) touch subdirs
|
||
|
|
||
|
clean::
|
||
|
$(Q) $(RM) -f subdirs
|
||
|
|
||
|
$(LIBRARY).a: $(OBJS)
|
||
|
$(E) " GEN_LIB $@"
|
||
|
$(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
|
||
|
$(Q) $(ARGEN) $@ $(OBJS)
|
||
|
-@$(RANLIB) $@
|
||
|
$(Q) $(RM) -f ../$@
|
||
|
$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
|
||
|
`echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)
|
||
|
|
||
|
$(LIB)/$(LIBRARY).a: $(LIBRARY).a
|