Makefile.library revision c13351f6c53f175696044c0203bb3009af606c64
1all:: subdirs $(LIBRARY).a
2
3install-shlibs::
4
5uninstall-shlibs::
6
7real-subdirs::
8
9subdirs:: Makefile
10	$(Q) $(MAKE) -s real-subdirs
11	$(Q) touch subdirs
12
13clean::
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) $(LN) $@ ../$@
23
24$(LIB)/$(LIBRARY).a: $(LIBRARY).a
25