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