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