]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - MCONFIG.in
debugfs.c (kill_file_by_inode): Only iterate over the inode to
[thirdparty/e2fsprogs.git] / MCONFIG.in
CommitLineData
50e1e10f
TT
1# Beginning of file MCONFIG
2
ef8901be
TT
3all::
4
3e377db2
TT
5check::
6
50e1e10f
TT
7SHELL = /bin/sh
8
482afc44
TT
9COMPRESS_EXT = gz bz2 bz Z
10
50e1e10f 11prefix = @prefix@
a4b2d3ce 12root_prefix = @root_prefix@
50e1e10f 13exec_prefix = @exec_prefix@
b5ffeade
TT
14root_bindir = @root_bindir@
15root_sbindir = @root_sbindir@
16root_libdir = @root_libdir@
a4b2d3ce
TT
17bindir = @bindir@
18sbindir = @sbindir@
19libdir = @libdir@
b5ffeade 20datadir= @datadir@
a04eba3f 21localedir = $(datadir)/locale
b5ffeade 22root_sysconfdir= @root_sysconfdir@
a4b2d3ce
TT
23includedir = @includedir@
24mandir = @mandir@
a4bf69d9
TT
25man1dir = $(mandir)/man1
26man3dir = $(mandir)/man3
27man8dir = $(mandir)/man8
a4b2d3ce
TT
28infodir = @infodir@
29datadir = @datadir@
50e1e10f
TT
30
31@SET_MAKE@
32
33INSTALL_PROGRAM = @INSTALL_PROGRAM@
34INSTALL_DATA = @INSTALL_DATA@
35CC = @CC@
6c133523 36BUILD_CC = @BUILD_CC@
a04eba3f 37DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
74becf3c 38CFLAGS = @CFLAGS@
e8aed8c8 39CPPFLAGS = @CPPFLAGS@
c6f35b8a 40INTL_FLAGS = @INTL_FLAGS@
4d0f3e17 41ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
c6f35b8a
TT
42 $(INTL_FLAGS) -I$(top_builddir)/lib -I$(top_srcdir)/lib \
43 $(LINUX_INCLUDE)
50e1e10f 44LDFLAGS = @LDFLAGS@
74becf3c 45ALL_LDFLAGS = $(LDFLAGS)
50e1e10f
TT
46RM = @RM@
47LN = @LN@
fc6d9d51 48LN_S = @LN_S@
50e1e10f
TT
49MV = @MV@
50CP = @CP@
51CHMOD = @CHMOD@
52AR = @AR@
53AWK = @AWK@
54SED = @SED@
9d564f73 55PERL = @PERL@
50e1e10f
TT
56RANLIB = @RANLIB@
57STRIP = @STRIP@
58LD = $(PURE) @CC@
59ARUPD = $(AR) r
250f79f0 60LDCONFIG = @LDCONFIG@
50e1e10f 61
a4d09610
TT
62#
63# Library definitions
64#
65LIB = $(top_builddir)/lib
66LIBSS = $(LIB)/libss@LIB_EXT@
67LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
68LIBE2P = $(LIB)/libe2p@LIB_EXT@
69LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
fc6d9d51 70LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
e12f2ae7 71LIBBLKID = $(LIB)/libblkid@LIB_EXT@
a04eba3f 72LIBINTL = @LIBINTL@
77200f4e 73DEPLIBUUID = $(LIB)/libuuid@LIB_EXT@
a4d09610
TT
74
75STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
76STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
77STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
78STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
fc6d9d51 79STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
e12f2ae7 80STATIC_LIBBLKID = $(LIB)/libblkid@STATIC_LIB_EXT@
77200f4e 81DEPSTATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@
a4d09610
TT
82
83PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
84PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
85PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
86PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
fc6d9d51 87PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
e12f2ae7 88PROFILED_LIBBLKID = $(LIB)/libblkid@PROFILED_LIB_EXT@
77200f4e 89DEPPROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@
a4d09610 90
50e1e10f
TT
91#
92# Use these definitions is you use tools 2.x, x < 16
93#
94#DLL_BIN=/usr/dll/bin
95#JUMP_PREFIX=/usr/dll/jump/
96
97#
98# Use these definitions if you use tools 2.16 or above
99#
100DLL_BIN=/usr/bin
101JUMP_PREFIX=/usr/bin/jump
102
103# An include directive pointing to a directory holding enough linux-like
104# include files to satisfy some programs here
105LINUX_INCLUDE=@LINUX_INCLUDE@
106
a4d09610
TT
107#
108# A fast substitution command for fixing up man pages, shell scripts, etc.
109#
44339bdf
TT
110SUBST_CONF=$(top_builddir)/util/subst.conf
111SUBSTITUTE= $(top_builddir)/util/subst -f $(SUBST_CONF)
dd607056 112SUBSTITUTE_UPTIME= $(top_builddir)/util/subst -t -f $(SUBST_CONF)
44339bdf 113DEP_SUBSTITUTE= $(top_builddir)/util/subst $(SUBST_CONF)
a4d09610 114
ef8901be 115$(top_builddir)/util/subst:
e8aed8c8 116 cd $(top_builddir)/util ; $(MAKE) subst
ef8901be 117
50e1e10f
TT
118#
119# Warning flags
120#
4d0f3e17 121# Run make gcc-wall to do a build with warning messages.
50e1e10f
TT
122#
123#
48e6e813 124WFLAGS= -ansi -D_POSIX_SOURCE -pedantic $(WFLAGS_EXTRA) \
032a763f 125 -Wall -W -Wwrite-strings -Wpointer-arith \
48e6e813 126 -Wcast-qual -Wcast-align \
4d0f3e17 127 -Wstrict-prototypes -Wmissing-prototypes \
48e6e813
TT
128 -Wformat-security -Wformat-nonliteral \
129 -Wmissing-format-attribute \
032a763f
TT
130 -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
131 -UENABLE_NLS
4d0f3e17 132
c8c071a0
TT
133gcc-wall-new:
134 (make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup
135
4d0f3e17
TT
136gcc-wall:
137 make clean > /dev/null
c8c071a0 138 make gcc-wall-new
50e1e10f
TT
139
140#
141# Installation user and groups
142#
143BINGRP= bin
144BINOWN= bin
145BINMODE= 555
146INCGRP= bin
147INCOWN= bin
148INCMODE= 444
149LIBOWN= bin
150LIBGRP= bin
151LIBMODE= 444
152MANGRP= bin
153MANOWN= bin
154MANMODE= 444
155
fc6d9d51
TT
156#
157# Autoconf magic...
158#
159
a4b2d3ce
TT
160DEP_LIB_MAKEFILES = $(top_srcdir)/lib/Makefile.elf-lib \
161 $(top_srcdir)/lib/Makefile.dll-lib $(top_srcdir)/lib/Makefile.bsd-lib \
162 $(top_srcdir)/lib/Makefile.checker $(top_srcdir)/lib/Makefile.profile
163
fc6d9d51 164$(top_builddir)/config.status: $(top_srcdir)/configure
e8aed8c8 165 cd $(top_builddir); ./config.status --recheck
fc6d9d51
TT
166
167$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
e8aed8c8 168 cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status
fc6d9d51
TT
169
170$(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
171 $(top_builddir)/config.status
e8aed8c8 172 cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status
fc6d9d51 173
bf2602be
TT
174$(top_builddir)/util/subst.conf: $(top_srcdir)/util/subst.conf.in \
175 $(top_builddir)/config.status
e8aed8c8 176 cd $(top_builddir); CONFIG_FILES=util/subst.conf ./config.status
bf2602be 177
fc6d9d51 178Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
a4b2d3ce 179 $(DEP_MAKEFILE) $(top_builddir)/config.status
e8aed8c8 180 cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status
fc6d9d51
TT
181
182$(top_srcdir)/configure: $(top_srcdir)/configure.in
183 cd $(top_srcdir) && autoconf
184
50e1e10f
TT
185#
186# Make depend magic...
187#
188
9d564f73 189.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed $(top_srcdir)/wordwrap.pl
50e1e10f 190 if test -n "$(SRCS)" ; then \
74becf3c 191 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
9d564f73 192 $(SED) -f $(top_srcdir)/depfix.sed \
fc6d9d51
TT
193 -e 's; $(srcdir)/; $$(srcdir)/;g' \
194 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
195 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
196 -e 's; \./; ;g' \
9d564f73
TT
197 -e '/^ *\\$$/d' | \
198 $(PERL) $(top_srcdir)/wordwrap.pl > .depend; \
50e1e10f
TT
199 else :; fi
200
201depend:: .depend
202 if test -n "$(SRCS)" ; then \
203 sed -e '/^# +++ Dependency line eater +++/,$$d' \
204 < $(srcdir)/Makefile.in | cat - .depend \
205 > $(srcdir)/Makefile.in.new; \
9d564f73
TT
206 if cmp -s $(srcdir)/Makefile.in $(srcdir)/Makefile.in.new ; then \
207 $(RM) $(srcdir)/Makefile.in.new ; \
208 else \
209 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
210 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
211 fi ; else :; fi
50e1e10f 212
50e1e10f 213# End of file MCONFIG