]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - lib/Makefile.library
libext2fs: teach e2image imager to handle bigalloc file systems
[thirdparty/e2fsprogs.git] / lib / Makefile.library
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