tests: update expect file for u_direct_io
[e2fsprogs.git] / util / Makefile.in
blob7ad18c0aa0b5088f8eebf7d99b465546eea9131c
2 # Standard e2fsprogs prologue....
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7 VPATH = @srcdir@
8 top_builddir = ..
9 my_dir = util
10 INSTALL = @INSTALL@
11 MKDIR_P = @MKDIR_P@
13 SRCS = $(srcdir)/subst.c $(srcdir)/mkutf8data.c
15 @MCONFIG@
17 .c.o:
18 $(E) " CC $<"
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
27 dirpaths.h:
28 $(E) " CREATE dirpaths.h"
29 $(Q) echo "/* fake dirpaths.h for config.h */" > dirpaths.h
31 subst.o: dirpaths.h
33 subst: subst.o
34 $(E) " LD $@"
35 $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o subst subst.o
37 mkutf8data: mkutf8data.o
38 $(E) " LD $@"
39 $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o mkutf8data mkutf8data.o
41 copy_sparse: copy_sparse.o
42 $(E) " LD $@"
43 $(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o copy_sparse copy_sparse.o
45 symlinks: symlinks.o
46 $(E) " LD $@"
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
54 tarballs: gen-tarball
55 sh gen-tarball debian
56 sh gen-tarball all
57 sh gen-tarball subset
59 clean::
60 $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
61 copy-sparse dirpaths.h install-symlink mkutf8data
63 mostlyclean: clean
65 distclean: clean
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