X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lib%2FMakefile.profile;h=180f5bcfab83fe9edc4af00bf6ac590d042aaabe;hb=0e660ee14592d2e893522f2ccc836c011ca4f383;hp=ad0f1df004de2767e7feca6bc2102af445595601;hpb=02ef19621032044c1488931b3f970e11dca0afe0;p=tools%2Fe2fsprogs.git diff --git a/lib/Makefile.profile b/lib/Makefile.profile index ad0f1df..180f5bc 100644 --- a/lib/Makefile.profile +++ b/lib/Makefile.profile @@ -1,26 +1,27 @@ -all:: profiled $(LIBRARY)_p.a +all:: $(LIBRARY)_p.a -subdirs:: Makefile - @echo " MKDIR $@" - @mkdir -p profiled +real-subdirs:: Makefile + $(E) " MKDIR profiled" + $(Q) mkdir -p profiled clean:: $(RM) -rf profiled $(RM) -f $(LIBRARY)_p.a ../$(LIBRARY)_p.a $(LIBRARY)_p.a: $(OBJS) - @echo " GEN_PROFILED_LIB $(ELF_LIB)" - @(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) - @(cd profiled; $(ARUPD) ../$@ $(OBJS)) - -@$(RANLIB) $@ - @$(RM) -f ../$@ - @$(LN) $@ ../$@ + $(E) " GEN_PROFILED_LIB $(ELF_LIB)" + $(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) + $(Q) (cd profiled; $(ARUPD) ../$@ $(OBJS)) + -$(Q) $(RANLIB) $@ + $(Q) $(RM) -f ../$@ + $(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \ + `echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@) install:: $(LIBRARY)_p.a installdirs - @echo " INSTALL_DATA $(libdir)/$(LIBRARY)_p.a" - @$(INSTALL_DATA) $(LIBRARY)_p.a $(DESTDIR)$(libdir)/$(LIBRARY)_p.a - @-$(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a - @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a + $(E) " INSTALL_DATA $(libdir)/$(LIBRARY)_p.a" + $(Q) $(INSTALL_DATA) $(LIBRARY)_p.a $(DESTDIR)$(libdir)/$(LIBRARY)_p.a + -$(Q) $(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a + $(Q) $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY)_p.a uninstall:: $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)_p.a