]> git.wh0rd.org - dump.git/blame - MCONFIG.in
Fix bug which caused the highest number inode to not be dumped.
[dump.git] / MCONFIG.in
CommitLineData
1227625a
SP
1VPATH= $(srcdir)
2
3top_builddir= @top_builddir@
4
bf8ee3da
SP
5VERSION= 0.4b25
6DATE= November 17, 2001
8d4197bb 7
1227625a
SP
8AR= @AR@
9CC= @CC@
10INSTALL= @INSTALL@
11LD= @LD@
12LN_S= @LN_S@
13MV= @MV@
14RANLIB= @RANLIB@
15RM= @RM@
16
17BINOWNER= @BINOWNER@
18BINGRP= @BINGRP@
19BINMODE= @BINMODE@
20MANOWNER= @MANOWNER@
21MANGRP= @MANGRP@
22MANMODE= @MANMODE@
23
24INSTALLBIN= $(INSTALL) -o $(BINOWNER) -g $(BINGRP) -m $(BINMODE)
25INSTALLMAN= $(INSTALL) -o $(MANOWNER) -g $(MANGRP) -m $(MANMODE)
26
60d46c35
SP
27prefix= @prefix@
28exec_prefix= @exec_prefix@
29SBINDIR= @sbindir@
30MANDIR= @mandir@/man8
1227625a 31
8d4197bb 32DUMPDATESPATH= @DUMPDATESPATH@
1227625a
SP
33#
34# Global include directories
35#
ddd2ef55 36GINC= -I$(top_builddir) -I$(top_srcdir)/compat/include
1227625a
SP
37# indicate where the ext2fs library can be found (this is not needed if you
38# have run `make install-libs' in the e2fsprogs source directory).
39#GINC+= -I/usr/src/e2fsprogs-0.5c/lib
40
41#
42# Global libraries
43#
44# indicate where the ext2fs library can be found (this is not needed if you
45# have run `make install-libs' in the e2fsprogs source directory).
46#GLIBDIR= -L/usr/src/e2fsprogs-0.5c/lib
ddd2ef55 47GLIBS= $(GLIBDIR) -L../compat/lib -lcompat -lext2fs -lcom_err
1227625a
SP
48
49#
50# Definitions (don't change them unless you know what you are doing)
51#
2ed89fda 52DEFS= -DRDUMP -DRRESTORE -D_BSD_SOURCE -D_USE_BSD_SIGNAL -DLINUX_FORK_BUG -D_PATH_DUMPDATES=\"$(DUMPDATESPATH)\" -D_DUMP_VERSION=\"$(VERSION)\" @OPTDEFS@
1227625a
SP
53
54all::
55
56#
57# Autoconf magic
58#
59
60$(top_builddir)/config.status: $(top_srcdir)/configure
61 (cd $(top_builddir); ./config.status --recheck)
62
63$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in \
64 $(top_builddir)/config.status
65 (cd $(top_builddir); ./config.status)
66
67$(top_builddir)/config.h: $(top_srcdir)/config.h.in \
68 $(top_builddir)/config.status
69 (cd $(top_builddir); ./config.status)
70
71Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
72 $(top_builddir)/config.status
73 (cd $(top_builddir); ./config.status)
74
75$(top_srcdir)/configure: $(top_srcdir)/configure.in
76 cd $(top_srcdir) && autoconf
77
78$(top_srcdir)/config.h.in: $(top_srcdir)/configure.in
79 cd $(top_srcdir) && autoheader
80
81#
82# Make depend magic
83#
84
85.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
86 if test -n "$(SRCS)" ; then \
87 $(CC) -M $(CFLAGS) $(SRCS) | \
88 sed -f $(top_srcdir)/depfix.sed \
89 -e 's; $(srcdir)/; $$(srcdir)/;g' \
90 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
91 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
92 -e 's; \./; ;g' \
93 -e '/^ *\\$$/d' > .depend; \
94 else :; fi
95
96depend:: .depend
97 if test -n "$(SRCS)" ; then \
98 sed -e '/^# +++ Dependency line eater +++/,$$d' \
99 < Makefile | cat - .depend \
100 > Makefile.new; \
101 $(MV) Makefile Makefile.old; \
102 $(MV) Makefile.new Makefile; \
103 else :; fi