Whamcloud - gitweb
Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1
[tools/e2fsprogs.git] / util / Makefile.in
1 #
2 # Standard e2fsprogs prologue....
3 #
4
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7 VPATH = @srcdir@
8 top_builddir = ..
9 my_dir = util
10 INSTALL = @INSTALL@
11
12 SRCS = $(srcdir)/subst.c
13
14 @MCONFIG@
15
16 .c.o:
17         @echo " CC $<"
18         @$(BUILD_CC) -c $(BUILD_CFLAGS) $< -o $@
19
20 PROGS=          subst
21
22 all:: $(PROGS) gen-tarball
23
24 subst: subst.o
25         @echo " LD $@"
26         @$(BUILD_CC) $(BUILD_LDFLAGS) -o subst subst.o
27
28 copy_sparse: copy_sparse.o
29         @echo " LD $@"
30         @$(BUILD_CC) $(BUILD_LDFLAGS) -o copy_sparse copy_sparse.o
31
32 gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status
33         @echo " CONFIG.STATUS $@"
34         @cd $(top_builddir); CONFIG_FILES=util/gen-tarball ./config.status
35         @chmod +x gen-tarball
36
37 tarballs: gen-tarball
38         sh gen-tarball debian
39         sh gen-tarball all
40         sh gen-tarball subset
41
42 clean:
43         $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
44                 copy-sparse
45
46 mostlyclean: clean
47
48 distclean: clean
49         $(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
50
51 # +++ Dependency line eater +++
52
53 # Makefile dependencies follow.  This must be the last section in
54 # the Makefile.in file
55 #
56 subst.o: $(srcdir)/subst.c