1 # Beginning of file MCONFIG
6 exec_prefix = @exec_prefix@
7 usr_prefix = @usr_prefix@
8 bindir = $(exec_prefix)/bin
9 ubindir = $(usr_prefix)/bin
10 sbindir = $(exec_prefix)/sbin
11 usbindir = $(usr_prefix)/sbin
12 libdir = $(exec_prefix)/lib
13 ulibdir = $(usr_prefix)/lib
14 includedir = $(usr_prefix)/include
15 mandir = $(usr_prefix)/man
16 man1dir = $(usr_prefix)/man/man1
17 man8dir = $(usr_prefix)/man/man8
18 cat1dir = $(usr_prefix)/man/cat1
19 cat8dir = $(usr_prefix)/man/cat8
20 infodir = $(usr_prefix)/info
24 INSTALL_PROGRAM = @INSTALL_PROGRAM@
25 INSTALL_DATA = @INSTALL_DATA@
29 ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
30 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
32 ALL_LDFLAGS = $(LDFLAGS)
50 LIB = $(top_builddir)/lib
51 LIBSS = $(LIB)/libss@LIB_EXT@
52 LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
53 LIBE2P = $(LIB)/libe2p@LIB_EXT@
54 LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
55 LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
57 STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
58 STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
59 STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
60 STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
61 STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
63 PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
64 PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
65 PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
66 PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
67 PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
70 # Use these definitions is you use tools 2.x, x < 16
73 #JUMP_PREFIX=/usr/dll/jump/
76 # Use these definitions if you use tools 2.16 or above
79 JUMP_PREFIX=/usr/bin/jump
81 # An include directive pointing to a directory holding enough linux-like
82 # include files to satisfy some programs here
83 LINUX_INCLUDE=@LINUX_INCLUDE@
86 # A fast substitution command for fixing up man pages, shell scripts, etc.
88 SUBST_CONF=$(top_builddir)/util/subst.conf
89 SUBSTITUTE= $(top_builddir)/util/subst -f $(SUBST_CONF)
90 DEP_SUBSTITUTE= $(top_builddir)/util/subst $(SUBST_CONF)
95 # Uncomment WFLAGS if you want really anal GCC warning messages
98 @W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
99 @W@ -Wall -Wwrite-strings -Wpointer-arith \
100 @W@ -Wcast-qual -Wcast-align -Wtraditional \
101 @W@ -Wstrict-prototypes -Wmissing-prototypes \
102 @W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
105 # Installation user and groups
126 $(top_builddir)/config.status: $(top_srcdir)/configure
127 (cd $(top_builddir); ./config.status --recheck)
129 $(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
130 (cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status)
132 $(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
133 $(top_builddir)/config.status
134 (cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status)
136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
137 $(top_builddir)/config.status
138 (cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status)
140 $(top_srcdir)/configure: $(top_srcdir)/configure.in
141 cd $(top_srcdir) && autoconf
144 # Make depend magic...
147 .depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
148 if test -n "$(SRCS)" ; then \
149 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
150 sed -f $(top_srcdir)/depfix.sed \
151 -e 's; $(srcdir)/; $$(srcdir)/;g' \
152 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
153 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
155 -e '/^ *\\$$/d' > .depend; \
159 if test -n "$(SRCS)" ; then \
160 sed -e '/^# +++ Dependency line eater +++/,$$d' \
161 < $(srcdir)/Makefile.in | cat - .depend \
162 > $(srcdir)/Makefile.in.new; \
163 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
164 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
167 # End of file MCONFIG