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