]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - debugfs/Makefile.in
e2fsprogs.lsm:
[thirdparty/e2fsprogs.git] / debugfs / Makefile.in
CommitLineData
50e1e10f
TT
1#
2# Standard e2fsprogs prologue....
3#
4
5srcdir = @srcdir@
6top_srcdir = @top_srcdir@
7VPATH = @srcdir@
8top_builddir = ..
fc6d9d51 9my_dir = debugfs
50e1e10f
TT
10INSTALL = @INSTALL@
11
12@MCONFIG@
13
14PROGS= debugfs
15MANPAGES= debugfs.8
16
17MK_CMDS= ../lib/ss/mk_cmds
18
521e3685 19DEBUG_OBJS= debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o lsdel.o dump.o
50e1e10f 20
521e3685 21SRCS= debug_cmds.c $(srcdir)/debugfs.c $(srcdir)/util.c $(srcdir)/ls.c \
50e1e10f
TT
22 $(srcdir)/ncheck.c $(srcdir)/icheck.c $(srcdir)/lsdel.c \
23 $(srcdir)/dump.c
24
d3aea7dc
TT
25LIBS= $(LIBEXT2FS) $(LIBE2P) $(LIBSS) $(LIBCOM_ERR) $(LIBUUID)
26DEPLIBS= $(LIBEXT2FS) $(LIBE2P) $(LIBSS) $(LIBCOM_ERR) $(LIBUUID)
50e1e10f
TT
27
28.c.o:
74becf3c 29 $(CC) -c $(ALL_CFLAGS) $< -o $@
50e1e10f 30
62c06f79 31all:: $(PROGS) $(MANPAGES)
50e1e10f
TT
32
33debugfs: $(DEBUG_OBJS) $(DEPLIBS)
74becf3c 34 $(CC) $(ALL_LDFLAGS) -o debugfs $(DEBUG_OBJS) $(LIBS)
50e1e10f
TT
35
36debug_cmds.c debug_cmds.h: debug_cmds.ct
37 $(MK_CMDS) $(srcdir)/debug_cmds.ct
38
44339bdf 39debugfs.8: $(DEP_SUBSTITUTE) $(srcdir)/debugfs.8.in
62c06f79
TT
40 $(SUBSTITUTE) $(srcdir)/debugfs.8.in debugfs.8
41
50e1e10f 42installdirs:
7e44f242
TT
43 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \
44 $(DESTDIR)$(man8dir)
50e1e10f
TT
45
46install: $(PROGS) $(MANPAGES) installdirs
47 for i in $(PROGS); do \
7e44f242
TT
48 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
49 $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
50e1e10f
TT
50 done
51 for i in $(MANPAGES); do \
74becf3c 52 $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
50e1e10f
TT
53 done
54
55uninstall:
56 for i in $(PROGS); do \
7e44f242 57 $(RM) -f $(DESTDIR)$(root_sbindir)/$$i; \
50e1e10f
TT
58 done
59 for i in $(MANPAGES); do \
7e44f242 60 $(RM) -f $(DESTDIR)$(man8dir)/$$i; \
50e1e10f
TT
61 done
62
63clean:
62c06f79
TT
64 $(RM) -f debugfs debugfs.8 \#* *.s *.o *.a *~ debug_cmds.c core
65
50e1e10f
TT
66mostlyclean: clean
67distclean: clean
68 $(RM) -f debug_cmds.c .depend Makefile
69
70# +++ Dependency line eater +++
71#
72# Makefile dependencies follow. This must be the last section in
73# the Makefile.in file
74#
21c84b71 75debug_cmds.o: debug_cmds.c $(top_srcdir)/lib/ss/ss.h \
d3aea7dc 76 $(top_builddir)/lib/ss/ss_err.h
62c06f79 77debugfs.o: $(srcdir)/debugfs.c $(top_srcdir)/lib/et/com_err.h \
d3aea7dc
TT
78 $(top_srcdir)/lib/ss/ss.h $(top_builddir)/lib/ss/ss_err.h \
79 $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
80 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
81 $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/uuid/uuid.h \
9094f284 82 $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/../version.h
dba838b0 83util.o: $(srcdir)/util.c $(srcdir)/debugfs.h \
62c06f79 84 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
d40259fd 85 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
62c06f79 86 $(top_srcdir)/lib/ext2fs/bitops.h
6c133523
TT
87ls.o: $(srcdir)/ls.c $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
88 $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
89 $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h
dba838b0
TT
90ncheck.o: $(srcdir)/ncheck.c $(srcdir)/debugfs.h \
91 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
d40259fd 92 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
2ecc6fef 93 $(top_srcdir)/lib/ext2fs/bitops.h
62c06f79
TT
94icheck.o: $(srcdir)/icheck.c $(srcdir)/debugfs.h \
95 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
d40259fd 96 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
62c06f79
TT
97 $(top_srcdir)/lib/ext2fs/bitops.h
98lsdel.o: $(srcdir)/lsdel.c $(srcdir)/debugfs.h \
99 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
d40259fd 100 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
62c06f79
TT
101 $(top_srcdir)/lib/ext2fs/bitops.h
102dump.o: $(srcdir)/dump.c $(srcdir)/debugfs.h \
103 $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
d40259fd 104 $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
62c06f79 105 $(top_srcdir)/lib/ext2fs/bitops.h