Whamcloud - gitweb
libext2fs: verify the block numbers for the allocation bitmaps are valid
[tools/e2fsprogs.git] / lib / Makefile.library
1 all:: subdirs $(LIBRARY).a
2
3 install-shlibs-strip::
4
5 install-shlibs::
6
7 uninstall-shlibs::
8
9 real-subdirs::
10
11 subdirs:: Makefile
12         $(Q) $(MAKE) -s real-subdirs
13         $(Q) touch subdirs
14
15 clean::
16         $(Q) $(RM) -f subdirs
17
18 $(LIBRARY).a: $(OBJS)
19         $(E) "  GEN_LIB $@"
20         $(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
21         $(Q) $(ARGEN) $@ $(OBJS)
22         -@$(RANLIB) $@
23         $(Q) $(RM) -f ../$@
24         $(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
25                 `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)
26
27 $(LIB)/$(LIBRARY).a: $(LIBRARY).a