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
) $<
23 all:: $(PROGS
) gen-tarball
26 $(E
) " CREATE dirpaths.h"
27 $(Q
) echo
"/* fake dirpaths.h for config.h */" > dirpaths.h
33 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o
subst subst.o
35 copy_sparse
: copy_sparse.o
37 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o copy_sparse copy_sparse.o
41 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o symlinks symlinks.o
43 gen-tarball
: $(srcdir)/gen-tarball.in
$(top_builddir
)/config.status
44 $(E
) " CONFIG.STATUS $@"
45 $(Q
) cd
$(top_builddir
); CONFIG_FILES
=util
/gen-tarball .
/config.status
46 $(Q
) chmod
+x gen-tarball
54 $(RM
) -f
$(PROGS
) \
#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
55 copy-sparse dirpaths.h
60 $(RM
) -f .depend Makefile
$(srcdir)/TAGS
$(srcdir)/Makefile.in.old
62 # +++ Dependency line eater +++
64 # Makefile dependencies follow. This must be the last section in
65 # the Makefile.in file
67 subst.o
: $(srcdir)/subst.c
$(top_builddir
)/lib
/config.h dirpaths.h