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