e2fsprogs/lib/Makefile.library
Theodore Ts'o 5aa6c3f61c Add configure options --enable-symlink-build and --enable-symlink-install
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>
2010-05-17 19:21:42 -04:00

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