]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - MCONFIG.in
ChangeLog, pass3.c:
[thirdparty/e2fsprogs.git] / MCONFIG.in
CommitLineData
50e1e10f
TT
1# Beginning of file MCONFIG
2
ef8901be
TT
3all::
4
50e1e10f
TT
5SHELL = /bin/sh
6
7prefix = @prefix@
a4b2d3ce 8root_prefix = @root_prefix@
50e1e10f 9exec_prefix = @exec_prefix@
a4b2d3ce
TT
10root_bindir = $(root_prefix)/bin
11root_sbindir = $(root_prefix)/sbin
12root_libdir = $(root_prefix)/lib
13bindir = @bindir@
14sbindir = @sbindir@
15libdir = @libdir@
16includedir = @includedir@
17mandir = @mandir@
a4bf69d9
TT
18man1dir = $(mandir)/man1
19man3dir = $(mandir)/man3
20man8dir = $(mandir)/man8
a4b2d3ce
TT
21infodir = @infodir@
22datadir = @datadir@
50e1e10f
TT
23
24@SET_MAKE@
25
26INSTALL_PROGRAM = @INSTALL_PROGRAM@
27INSTALL_DATA = @INSTALL_DATA@
28CC = @CC@
29DEFS = @DEFS@
74becf3c
TT
30CFLAGS = @CFLAGS@
31ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
50e1e10f
TT
32 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
33LDFLAGS = @LDFLAGS@
74becf3c 34ALL_LDFLAGS = $(LDFLAGS)
50e1e10f
TT
35RM = @RM@
36LN = @LN@
fc6d9d51 37LN_S = @LN_S@
50e1e10f
TT
38MV = @MV@
39CP = @CP@
40CHMOD = @CHMOD@
41AR = @AR@
42AWK = @AWK@
43SED = @SED@
44RANLIB = @RANLIB@
45STRIP = @STRIP@
46LD = $(PURE) @CC@
47ARUPD = $(AR) r
48
a4d09610
TT
49#
50# Library definitions
51#
52LIB = $(top_builddir)/lib
53LIBSS = $(LIB)/libss@LIB_EXT@
54LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
55LIBE2P = $(LIB)/libe2p@LIB_EXT@
56LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
fc6d9d51 57LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
a4d09610
TT
58
59STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
60STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
61STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
62STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
fc6d9d51 63STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
a4d09610
TT
64
65PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
66PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
67PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
68PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
fc6d9d51 69PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
a4d09610 70
50e1e10f
TT
71#
72# Use these definitions is you use tools 2.x, x < 16
73#
74#DLL_BIN=/usr/dll/bin
75#JUMP_PREFIX=/usr/dll/jump/
76
77#
78# Use these definitions if you use tools 2.16 or above
79#
80DLL_BIN=/usr/bin
81JUMP_PREFIX=/usr/bin/jump
82
83# An include directive pointing to a directory holding enough linux-like
84# include files to satisfy some programs here
85LINUX_INCLUDE=@LINUX_INCLUDE@
86
a4d09610
TT
87#
88# A fast substitution command for fixing up man pages, shell scripts, etc.
89#
44339bdf
TT
90SUBST_CONF=$(top_builddir)/util/subst.conf
91SUBSTITUTE= $(top_builddir)/util/subst -f $(SUBST_CONF)
92DEP_SUBSTITUTE= $(top_builddir)/util/subst $(SUBST_CONF)
a4d09610 93
ef8901be
TT
94$(top_builddir)/util/subst:
95 $(MAKE) -C $(top_builddir)/util subst
96
50e1e10f
TT
97#
98# Warning flags
99#
100# Uncomment WFLAGS if you want really anal GCC warning messages
101#
102#
103@W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
104@W@ -Wall -Wwrite-strings -Wpointer-arith \
fc6d9d51 105@W@ -Wcast-qual -Wcast-align -Wtraditional \
50e1e10f
TT
106@W@ -Wstrict-prototypes -Wmissing-prototypes \
107@W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
108
109#
110# Installation user and groups
111#
112BINGRP= bin
113BINOWN= bin
114BINMODE= 555
115INCGRP= bin
116INCOWN= bin
117INCMODE= 444
118LIBOWN= bin
119LIBGRP= bin
120LIBMODE= 444
121MANGRP= bin
122MANOWN= bin
123MANMODE= 444
124
fc6d9d51
TT
125#
126# Autoconf magic...
127#
128
a4b2d3ce
TT
129DEP_LIB_MAKEFILES = $(top_srcdir)/lib/Makefile.elf-lib \
130 $(top_srcdir)/lib/Makefile.dll-lib $(top_srcdir)/lib/Makefile.bsd-lib \
131 $(top_srcdir)/lib/Makefile.checker $(top_srcdir)/lib/Makefile.profile
132
fc6d9d51
TT
133$(top_builddir)/config.status: $(top_srcdir)/configure
134 (cd $(top_builddir); ./config.status --recheck)
135
136$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
137 (cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status)
138
139$(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
140 $(top_builddir)/config.status
141 (cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status)
142
bf2602be
TT
143$(top_builddir)/util/subst.conf: $(top_srcdir)/util/subst.conf.in \
144 $(top_builddir)/config.status
145 (cd $(top_builddir); CONFIG_FILES=util/subst.conf ./config.status)
146
fc6d9d51 147Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
a4b2d3ce 148 $(DEP_MAKEFILE) $(top_builddir)/config.status
fc6d9d51
TT
149 (cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status)
150
151$(top_srcdir)/configure: $(top_srcdir)/configure.in
152 cd $(top_srcdir) && autoconf
153
50e1e10f
TT
154#
155# Make depend magic...
156#
157
158.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
159 if test -n "$(SRCS)" ; then \
74becf3c 160 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
fc6d9d51
TT
161 sed -f $(top_srcdir)/depfix.sed \
162 -e 's; $(srcdir)/; $$(srcdir)/;g' \
163 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
164 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
165 -e 's; \./; ;g' \
166 -e '/^ *\\$$/d' > .depend; \
50e1e10f
TT
167 else :; fi
168
169depend:: .depend
170 if test -n "$(SRCS)" ; then \
171 sed -e '/^# +++ Dependency line eater +++/,$$d' \
172 < $(srcdir)/Makefile.in | cat - .depend \
173 > $(srcdir)/Makefile.in.new; \
174 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
175 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
176 else :; fi
177
50e1e10f 178# End of file MCONFIG