Whamcloud - gitweb
Update after "make depend".
[tools/e2fsprogs.git] / debugfs / 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 = debugfs
10 INSTALL = @INSTALL@
11 DLOPEN_LIB = @DLOPEN_LIB@
12
13 @MCONFIG@
14
15 PROGS=          debugfs
16 MANPAGES=       debugfs.8
17
18 MK_CMDS=        _SS_DIR_OVERRIDE=../lib/ss ../lib/ss/mk_cmds
19
20 DEBUG_OBJS= debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o \
21         lsdel.o dump.o setsuper.o logdump.o htree.o
22
23 SRCS= debug_cmds.c $(srcdir)/debugfs.c $(srcdir)/util.c $(srcdir)/ls.c \
24         $(srcdir)/ncheck.c $(srcdir)/icheck.c $(srcdir)/lsdel.c \
25         $(srcdir)/dump.c $(srcdir)/setsuper.c ${srcdir}/logdump.c \
26         $(srcdir)/htree.c
27
28 LIBS= $(LIBEXT2FS) $(LIBE2P) $(LIBSS) $(LIBCOM_ERR) $(LIBBLKID) \
29         $(LIBUUID) $(DLOPEN_LIB)
30 DEPLIBS= $(LIBEXT2FS) $(LIBE2P) $(LIBSS) $(LIBCOM_ERR) $(LIBBLKID) $(DEPLIBUUID)
31
32 .c.o:
33         $(CC) -c $(ALL_CFLAGS) $< -o $@
34
35 all:: $(PROGS) $(MANPAGES)
36
37 debugfs: $(DEBUG_OBJS) $(DEPLIBS)
38         $(CC) $(ALL_LDFLAGS) -o debugfs $(DEBUG_OBJS) $(LIBS)
39
40 debug_cmds.c debug_cmds.h: debug_cmds.ct
41         $(MK_CMDS) $(srcdir)/debug_cmds.ct
42
43 debugfs.8: $(DEP_SUBSTITUTE) $(srcdir)/debugfs.8.in
44         $(SUBSTITUTE) $(srcdir)/debugfs.8.in debugfs.8
45
46 installdirs:
47         $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
48                 $(DESTDIR)$(man8dir)
49
50 install: $(PROGS) $(MANPAGES) installdirs
51         for i in $(PROGS); do \
52                 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
53                 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
54         done
55         for i in $(MANPAGES); do \
56                 for j in $(COMPRESS_EXT); do \
57                         $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
58                 done; \
59                 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
60         done
61
62 uninstall:
63         for i in $(PROGS); do \
64                 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
65         done
66         for i in $(MANPAGES); do \
67                 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
68         done
69
70 clean:
71         $(RM) -f debugfs debugfs.8 \#* *.s *.o *.a *~ debug_cmds.c core
72
73 mostlyclean: clean
74 distclean: clean
75         $(RM) -f debug_cmds.c .depend Makefile $(srcdir)/TAGS \
76                 $(srcdir)/Makefile.in.old
77
78 # +++ Dependency line eater +++
79
80 # Makefile dependencies follow.  This must be the last section in
81 # the Makefile.in file
82 #
83 debug_cmds.o: debug_cmds.c $(top_srcdir)/lib/ss/ss.h \
84  $(top_builddir)/lib/ss/ss_err.h $(top_srcdir)/lib/et/com_err.h
85 debugfs.o: $(srcdir)/debugfs.c $(top_srcdir)/lib/et/com_err.h \
86  $(top_srcdir)/lib/ss/ss.h $(top_builddir)/lib/ss/ss_err.h \
87  $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
88  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
89  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
90  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/uuid/uuid.h \
91  $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/version.h
92 util.o: $(srcdir)/util.c $(srcdir)/debugfs.h \
93  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
94  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
95  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
96  $(top_srcdir)/lib/ext2fs/bitops.h
97 ls.o: $(srcdir)/ls.c $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
98  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
99  $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
100  $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h
101 ncheck.o: $(srcdir)/ncheck.c $(srcdir)/debugfs.h \
102  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
103  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
104  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
105  $(top_srcdir)/lib/ext2fs/bitops.h
106 icheck.o: $(srcdir)/icheck.c $(srcdir)/debugfs.h \
107  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
108  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
109  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
110  $(top_srcdir)/lib/ext2fs/bitops.h
111 lsdel.o: $(srcdir)/lsdel.c $(srcdir)/debugfs.h \
112  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
113  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
114  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
115  $(top_srcdir)/lib/ext2fs/bitops.h
116 dump.o: $(srcdir)/dump.c $(srcdir)/debugfs.h \
117  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
118  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
119  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
120  $(top_srcdir)/lib/ext2fs/bitops.h
121 setsuper.o: $(srcdir)/setsuper.c $(srcdir)/debugfs.h \
122  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
123  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
124  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
125  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/uuid/uuid.h \
126  $(top_srcdir)/lib/e2p/e2p.h
127 logdump.o: $(srcdir)/logdump.c $(srcdir)/debugfs.h \
128  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
129  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
130  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
131  $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/blkid/blkid.h \
132  $(top_builddir)/lib/blkid/blkid_types.h $(srcdir)/jfs_user.h \
133  $(top_srcdir)/lib/ext2fs/kernel-jbd.h $(top_srcdir)/lib/ext2fs/jfs_compat.h \
134  $(top_srcdir)/lib/ext2fs/kernel-list.h $(top_srcdir)/lib/uuid/uuid.h
135 htree.o: $(srcdir)/htree.c $(srcdir)/debugfs.h \
136  $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
137  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
138  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
139  $(top_srcdir)/lib/ext2fs/bitops.h