Makefile.library revision a4b69b7f1809898c87bdc11502ca258a8f16a220
1all:: subdirs $(LIBRARY).a
2
3install-shlibs::
4
5uninstall-shlibs::
6
7real-subdirs::
8
9subdirs:: Makefile
10	@$(MAKE) -s real-subdirs
11	@touch subdirs
12
13clean::
14	@$(RM) -f subdirs
15
16$(LIB)/$(LIBRARY).a $(LIBRARY).a: $(OBJS)
17	@echo "	GEN_LIB $@"
18	@(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
19	@$(ARGEN) $@ $(OBJS)
20	-@$(RANLIB) $@
21	@$(RM) -f ../$@
22	@$(LN) $@ ../$@
23
24