Whamcloud - gitweb
Add support to e2fsck to reindex directories to use hash trees.
[tools/e2fsprogs.git] / lib / Makefile.profile
1 all:: profiled $(LIBRARY)_p.a
2
3 subdirs:: profiled
4
5 profiled:
6         mkdir profiled
7
8 clean::
9         $(RM) -rf profiled
10         $(RM) -f $(LIBRARY)_p.a ../$(LIBRARY)_p.a
11
12 $(LIBRARY)_p.a: $(OBJS)
13         (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
14         (cd profiled; $(ARUPD) ../$@ $(OBJS))
15         -$(RANLIB) $@
16         $(RM) -f ../$@
17         $(LN) $@ ../$@
18
19 install:: $(LIBRARY)_p.a installdirs
20         $(INSTALL_DATA) $(LIBRARY)_p.a $(DESTDIR)$(libdir)/$(LIBRARY)_p.a
21         $(CHMOD) 644 $(DESTDIR)$(libdir)/$(LIBRARY)_p.a
22         -$(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a
23         $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a
24
25 uninstall::
26         $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)_p.a