Regenerate configure.
[dump.git] / MCONFIG.in
1 VERSION= 0.4b44
2 DATE= June 10, 2011
3
4 AR= @AR@
5 CC= @CC@
6 INSTALL= @INSTALL@
7 LD= @LD@
8 LN_S= @LN_S@
9 MV= @MV@
10 RANLIB= @RANLIB@
11 RM= @RM@
12
13 BINOWNER= @BINOWNER@
14 BINGRP= @BINGRP@
15 BINMODE= @BINMODE@
16 MANOWNER= @MANOWNER@
17 MANGRP= @MANGRP@
18 MANMODE= @MANMODE@
19
20 INSTALLBIN= $(INSTALL) -o $(BINOWNER) -g $(BINGRP) -m $(BINMODE)
21 INSTALLMAN= $(INSTALL) -o $(MANOWNER) -g $(MANGRP) -m $(MANMODE)
22
23 prefix= @prefix@
24 exec_prefix= @exec_prefix@
25 SBINDIR= @sbindir@
26 MANDIR= @mandir@/man8
27
28 DUMPDATESPATH= @DUMPDATESPATH@
29 #
30 # Global include directories
31 #
32 GINC= -I$(top_builddir) -I$(top_srcdir)/compat/include
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).
35 GINC+= @EXT2FS_CFLAGS@
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
43 GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@
44
45 #
46 # Definitions (don't change them unless you know what you are doing)
47 #
48 DEFS= -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"$(DUMPDATESPATH)\" -D_DUMP_VERSION=\"$(VERSION)\" @OPTDEFS@
49
50 all::
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
67 Makefile: $(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
92 depend:: .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