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
23 INSTALL_PROGRAM = @INSTALL_PROGRAM@
24 INSTALL_DATA = @INSTALL_DATA@
28 ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
29 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
31 ALL_LDFLAGS = $(LDFLAGS)
49 LIB = $(top_builddir)/lib
50 LIBSS = $(LIB)/libss@LIB_EXT@
51 LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
52 LIBE2P = $(LIB)/libe2p@LIB_EXT@
53 LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
54 LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
56 STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
57 STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
58 STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
59 STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
60 STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
62 PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
63 PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
64 PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
65 PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
66 PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
69 # Use these definitions is you use tools 2.x, x < 16
72 #JUMP_PREFIX=/usr/dll/jump/
75 # Use these definitions if you use tools 2.16 or above
78 JUMP_PREFIX=/usr/bin/jump
80 # An include directive pointing to a directory holding enough linux-like
81 # include files to satisfy some programs here
82 LINUX_INCLUDE=@LINUX_INCLUDE@
85 # A fast substitution command for fixing up man pages, shell scripts, etc.
87 SUBSTITUTE= $(top_builddir)/lib/substitute_sh
92 # Uncomment WFLAGS if you want really anal GCC warning messages
95 @W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
96 @W@ -Wall -Wwrite-strings -Wpointer-arith \
97 @W@ -Wcast-qual -Wcast-align -Wtraditional \
98 @W@ -Wstrict-prototypes -Wmissing-prototypes \
99 @W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
102 # Installation user and groups
123 $(top_builddir)/config.status: $(top_srcdir)/configure
124 (cd $(top_builddir); ./config.status --recheck)
126 $(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
127 (cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status)
129 $(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
130 $(top_builddir)/config.status
131 (cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status)
133 Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
134 $(top_builddir)/config.status
135 (cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status)
137 $(top_srcdir)/configure: $(top_srcdir)/configure.in
138 cd $(top_srcdir) && autoconf
141 # Make depend magic...
144 .depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
145 if test -n "$(SRCS)" ; then \
146 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
147 sed -f $(top_srcdir)/depfix.sed \
148 -e 's; $(srcdir)/; $$(srcdir)/;g' \
149 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
150 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
152 -e '/^ *\\$$/d' > .depend; \
156 if test -n "$(SRCS)" ; then \
157 sed -e '/^# +++ Dependency line eater +++/,$$d' \
158 < $(srcdir)/Makefile.in | cat - .depend \
159 > $(srcdir)/Makefile.in.new; \
160 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
161 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
168 # End of file MCONFIG