Makefile.in revision e0ed7404719a9ddd2ba427a80db5365c8bad18c0
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	$(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
20
21PROGS=		subst symlinks
22
23all:: $(PROGS) gen-tarball
24
25subst: subst.o
26	$(E) "	LD $@"
27	$(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o subst subst.o
28
29copy_sparse: copy_sparse.o
30	$(E) "	LD $@"
31	$(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o copy_sparse copy_sparse.o
32
33symlinks: symlinks.o
34	$(E) "	LD $@"
35	$(Q) $(BUILD_CC) $(BUILD_LDFLAGS) -o symlinks symlinks.o
36
37gen-tarball: $(srcdir)/gen-tarball.in $(top_builddir)/config.status
38	$(E) "	CONFIG.STATUS $@"
39	$(Q) cd $(top_builddir); CONFIG_FILES=util/gen-tarball ./config.status
40	$(Q) chmod +x gen-tarball
41
42tarballs: gen-tarball
43	sh gen-tarball debian
44	sh gen-tarball all
45	sh gen-tarball subset
46
47clean:
48	$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
49		copy-sparse
50
51mostlyclean: clean
52
53distclean: clean
54	$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old
55
56# +++ Dependency line eater +++
57# 
58# Makefile dependencies follow.  This must be the last section in
59# the Makefile.in file
60#
61subst.o: $(srcdir)/subst.c
62