mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-25 18:04:02 +08:00
522798d342
Use Linux-kernel-style makefile output for "make install" Update intl/Makefile.in to version from gettext 0.14.1
29 lines
702 B
Makefile
29 lines
702 B
Makefile
all:: profiled $(LIBRARY)_p.a
|
|
|
|
subdirs:: profiled
|
|
|
|
profiled:
|
|
@echo " MKDIR $@"
|
|
@mkdir 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) $@ ../$@
|
|
|
|
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
|
|
|
|
uninstall::
|
|
$(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)_p.a
|