2 # Standard e2fsprogs prologue....
6 top_srcdir = @top_srcdir@
12 SRCS = $(srcdir)/subst.c
18 $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $< -o $@
22 all:: $(PROGS) gen-tarball
26 $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o subst subst.o
28 copy_sparse: copy_sparse.o
30 $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o copy_sparse copy_sparse.o
32 gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status
33 $(E) " CONFIG.STATUS $@"
34 $(Q) cd $(top_builddir); CONFIG_FILES=util/gen-tarball ./config.status
35 $(Q) chmod +x gen-tarball
43 $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
49 $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
51 # +++ Dependency line eater +++
53 # Makefile dependencies follow. This must be the last section in
54 # the Makefile.in file
56 subst.o: $(srcdir)/subst.c