20 INSTALLBIN= $(INSTALL) -o $(BINOWNER) -g $(BINGRP) -m $(BINMODE)
21 INSTALLMAN= $(INSTALL) -o $(MANOWNER) -g $(MANGRP) -m $(MANMODE)
24 exec_prefix= @exec_prefix@
28 DUMPDATESPATH= @DUMPDATESPATH@
30 # Global include directories
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+= -I/usr/src/e2fsprogs-0.5c/lib
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 -lext2fs -lcom_err
46 # Definitions (don't change them unless you know what you are doing)
48 DEFS= -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"$(DUMPDATESPATH)\" -D_DUMP_VERSION=\"$(VERSION)\" @OPTDEFS@
56 $(top_builddir)/config.status: $(top_srcdir)/configure
57 (cd $(top_builddir); ./config.status --recheck)
59 $(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in \
60 $(top_builddir)/config.status
61 (cd $(top_builddir); ./config.status)
63 $(top_builddir)/config.h: $(top_srcdir)/config.h.in \
64 $(top_builddir)/config.status
65 (cd $(top_builddir); ./config.status)
67 Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
68 $(top_builddir)/config.status
69 (cd $(top_builddir); ./config.status)
71 $(top_srcdir)/configure: $(top_srcdir)/configure.in
72 cd $(top_srcdir) && autoconf
74 $(top_srcdir)/config.h.in: $(top_srcdir)/configure.in
75 cd $(top_srcdir) && autoheader
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' \
89 -e '/^ *\\$$/d' > .depend; \
93 if test -n "$(SRCS)" ; then \
94 sed -e '/^# +++ Dependency line eater +++/,$$d' \
95 < Makefile | cat - .depend \
97 $(MV) Makefile Makefile.old; \
98 $(MV) Makefile.new Makefile; \