File: MCONFIG.in

package info (click to toggle)
dump 0.4b41-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,356 kB
  • ctags: 1,987
  • sloc: ansic: 17,610; sh: 3,435; makefile: 213; sed: 5
file content (99 lines) | stat: -rw-r--r-- 2,588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
VERSION=	0.4b41
DATE=		January 2, 2006

AR=		@AR@
CC=		@CC@
INSTALL=	@INSTALL@
LD=		@LD@
LN_S=		@LN_S@
MV=		@MV@
RANLIB=		@RANLIB@
RM=		@RM@

BINOWNER=	@BINOWNER@
BINGRP=		@BINGRP@
BINMODE=	@BINMODE@
MANOWNER=	@MANOWNER@
MANGRP=		@MANGRP@
MANMODE=	@MANMODE@

INSTALLBIN=	$(INSTALL) -o $(BINOWNER) -g $(BINGRP) -m $(BINMODE)
INSTALLMAN=	$(INSTALL) -o $(MANOWNER) -g $(MANGRP) -m $(MANMODE)

prefix=		@prefix@
exec_prefix=	@exec_prefix@
SBINDIR=	@sbindir@
MANDIR=		@mandir@/man8

DUMPDATESPATH=	@DUMPDATESPATH@
#
# Global include directories
#
GINC=		-I$(top_builddir) -I$(top_srcdir)/compat/include
# indicate where the ext2fs library can be found (this is not needed if you
# have run `make install-libs' in the e2fsprogs source directory).
#GINC+=		-I/usr/src/e2fsprogs-0.5c/lib

#
# Global libraries
#
# indicate where the ext2fs library can be found (this is not needed if you
# have run `make install-libs' in the e2fsprogs source directory).
#GLIBDIR=	-L/usr/src/e2fsprogs-0.5c/lib
GLIBS=		$(GLIBDIR) -L../compat/lib -lcompat -lext2fs -lcom_err

#
# Definitions (don't change them unless you know what you are doing)
#
DEFS=		-DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"$(DUMPDATESPATH)\" -D_DUMP_VERSION=\"$(VERSION)\" @OPTDEFS@  

all::

#
# Autoconf magic
#

$(top_builddir)/config.status:	$(top_srcdir)/configure
	(cd $(top_builddir); ./config.status --recheck)

$(top_builddir)/MCONFIG:	$(top_srcdir)/MCONFIG.in \
				$(top_builddir)/config.status
	(cd $(top_builddir); ./config.status)

$(top_builddir)/config.h:	$(top_srcdir)/config.h.in \
				$(top_builddir)/config.status
	(cd $(top_builddir); ./config.status)

Makefile:			$(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
				$(top_builddir)/config.status
	(cd $(top_builddir); ./config.status)

$(top_srcdir)/configure:	$(top_srcdir)/configure.in
	cd $(top_srcdir) && autoconf

$(top_srcdir)/config.h.in:	$(top_srcdir)/configure.in
	cd $(top_srcdir) && autoheader

#
# Make depend magic
#

.depend:			Makefile $(SRCS) $(top_srcdir)/depfix.sed
	if test -n "$(SRCS)" ; then \
		$(CC) -M $(CFLAGS) $(SRCS) | \
			sed -f $(top_srcdir)/depfix.sed \
			    -e 's; $(srcdir)/; $$(srcdir)/;g' \
			    -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
			    -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
			    -e 's; \./; ;g' \
			    -e '/^ *\\$$/d' > .depend; \
	else :; fi

depend::			.depend
	if test -n "$(SRCS)" ; then \
		sed -e '/^# +++ Dependency line eater +++/,$$d' \
			< Makefile | cat - .depend \
			> Makefile.new; \
		$(MV) Makefile Makefile.old; \
		$(MV) Makefile.new Makefile; \
	else :; fi