mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-18 06:21:56 +08:00
5aa6c3f61c
These options allow e2fsprogs to be built using symlinks instead of hard links, and to be installed using symlinks instead of hard links, respectively. Addresses-Sourceforge-Bug: #1436294 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
26 lines
479 B
Makefile
26 lines
479 B
Makefile
all:: subdirs $(LIBRARY).a
|
|
|
|
install-shlibs::
|
|
|
|
uninstall-shlibs::
|
|
|
|
real-subdirs::
|
|
|
|
subdirs:: Makefile
|
|
$(Q) $(MAKE) -s real-subdirs
|
|
$(Q) touch subdirs
|
|
|
|
clean::
|
|
$(Q) $(RM) -f subdirs
|
|
|
|
$(LIBRARY).a: $(OBJS)
|
|
$(E) " GEN_LIB $@"
|
|
$(Q) (if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
|
|
$(Q) $(ARGEN) $@ $(OBJS)
|
|
-@$(RANLIB) $@
|
|
$(Q) $(RM) -f ../$@
|
|
$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
|
|
`echo $(my_dir) | sed -e 's;lib/;;'`/$@ $@)
|
|
|
|
$(LIB)/$(LIBRARY).a: $(LIBRARY).a
|