Makefile.in revision 65f0aab98b20b5994a726ab90d355248bcddfffd
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
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
32gen-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
36
37tarballs: gen-tarball
38	sh gen-tarball debian
39	sh gen-tarball all
40	sh gen-tarball subset
41
42clean:
43	$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
44		copy-sparse
45
46mostlyclean: clean
47
48distclean: 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#
56subst.o: $(srcdir)/subst.c
57