From: Theodore Ts'o Date: Sat, 22 Feb 2025 05:14:24 +0000 (-0500) Subject: Teach the makefile to build all of the programs in the util directory X-Git-Tag: v1.47.3-rc1~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1fcc0ed4cea828dad8b252293f47d822569b85;p=thirdparty%2Fe2fsprogs.git Teach the makefile to build all of the programs in the util directory Signed-off-by: Theodore Ts'o --- diff --git a/util/Makefile.in b/util/Makefile.in index 7ad18c0a..f26b04e4 100644 --- a/util/Makefile.in +++ b/util/Makefile.in @@ -20,7 +20,7 @@ SRCS = $(srcdir)/subst.c $(srcdir)/mkutf8data.c $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $< $(Q) $(CPPCHECK_CMD) $(CPPFLAGS) $< -PROGS= subst symlinks mkutf8data +PROGS= copy_sparse gen-tarball install-symlink mkutf8data subst symlinks all:: $(PROGS) gen-tarball @@ -34,6 +34,10 @@ subst: subst.o $(E) " LD $@" $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o subst subst.o +install-symlink: install-symlink.in $(top_builddir)/config.status + cd $(top_builddir); CONFIG_FILES=util/install-symlink ./config.status + chmod +x $(top_builddir)/util/install-symlink + mkutf8data: mkutf8data.o $(E) " LD $@" $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o mkutf8data mkutf8data.o @@ -57,8 +61,7 @@ tarballs: gen-tarball sh gen-tarball subset clean:: - $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \ - copy-sparse dirpaths.h install-symlink mkutf8data + $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz dirpaths.h mostlyclean: clean