2 # Standard e2fsprogs prologue....
6 top_srcdir
= @top_srcdir@
12 SRCS
= $(srcdir)/subst.c
18 $(Q
) $(BUILD_CC
) -c
$(BUILD_CFLAGS
) $< -o
$@
19 $(Q
) $(CHECK_CMD
) $(ALL_CFLAGS
) $<
20 $(Q
) $(CPPCHECK_CMD
) $<
24 all:: $(PROGS
) gen-tarball
27 $(E
) " CREATE dirpaths.h"
28 $(Q
) echo
"/* fake dirpaths.h for config.h */" > dirpaths.h
34 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o
subst subst.o
36 copy_sparse
: copy_sparse.o
38 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o copy_sparse copy_sparse.o
42 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o symlinks symlinks.o
44 gen-tarball
: $(srcdir)/gen-tarball.in
$(top_builddir
)/config.status
45 $(E
) " CONFIG.STATUS $@"
46 $(Q
) cd
$(top_builddir
); CONFIG_FILES
=util
/gen-tarball .
/config.status
47 $(Q
) chmod
+x gen-tarball
55 $(RM
) -f
$(PROGS
) \
#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
56 copy-sparse dirpaths.h
61 $(RM
) -f .depend Makefile
$(srcdir)/TAGS
$(srcdir)/Makefile.in.old
63 # +++ Dependency line eater +++
65 # Makefile dependencies follow. This must be the last section in
66 # the Makefile.in file
68 subst.o
: $(srcdir)/subst.c
$(top_builddir
)/lib
/config.h dirpaths.h