2 # Standard e2fsprogs prologue....
6 top_srcdir
= @top_srcdir@
13 SRCS
= $(srcdir)/subst.c
$(srcdir)/mkutf8data.c
19 $(Q
) $(BUILD_CC
) -c
$(BUILD_CFLAGS
) $< -o
$@
20 $(Q
) $(CHECK_CMD
) $(ALL_CFLAGS
) $<
21 $(Q
) $(CPPCHECK_CMD
) $(CPPFLAGS
) $<
23 PROGS
= subst symlinks mkutf8data
25 all:: $(PROGS
) gen-tarball
28 $(E
) " CREATE dirpaths.h"
29 $(Q
) echo
"/* fake dirpaths.h for config.h */" > dirpaths.h
35 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o
subst subst.o
37 mkutf8data
: mkutf8data.o
39 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o mkutf8data mkutf8data.o
41 copy_sparse
: copy_sparse.o
43 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o copy_sparse copy_sparse.o
47 $(Q
) $(BUILD_CC
) $(BUILD_LDFLAGS
) -o symlinks symlinks.o
49 gen-tarball
: $(srcdir)/gen-tarball.in
$(top_builddir
)/config.status
50 $(E
) " CONFIG.STATUS $@"
51 $(Q
) cd
$(top_builddir
); CONFIG_FILES
=util
/gen-tarball .
/config.status
52 $(Q
) chmod
+x gen-tarball
60 $(RM
) -f
$(PROGS
) \
#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
61 copy-sparse dirpaths.h install-symlink mkutf8data
66 $(RM
) -f .depend Makefile
$(srcdir)/TAGS
$(srcdir)/Makefile.in.old
68 # +++ Dependency line eater +++
70 # Makefile dependencies follow. This must be the last section in
71 # the Makefile.in file
73 subst.o
: $(srcdir)/subst.c
$(top_builddir
)/lib
/config.h dirpaths.h
74 mkutf8data.o
: $(srcdir)/mkutf8data.c