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@
29 ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
30 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
32 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@
55 STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
56 STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
57 STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
58 STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
60 PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
61 PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
62 PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
63 PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
66 # Use these definitions is you use tools 2.x, x < 16
69 #JUMP_PREFIX=/usr/dll/jump/
72 # Use these definitions if you use tools 2.16 or above
75 JUMP_PREFIX=/usr/bin/jump
77 # An include directive pointing to a directory holding enough linux-like
78 # include files to satisfy some programs here
79 LINUX_INCLUDE=@LINUX_INCLUDE@
82 # A fast substitution command for fixing up man pages, shell scripts, etc.
84 SUBSTITUTE= $(top_builddir)/lib/substitute_sh
89 # Uncomment WFLAGS if you want really anal GCC warning messages
92 @W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
93 @W@ -Wall -Wwrite-strings -Wpointer-arith \
94 @W@ -Wcast-qual -Wenum-clash -Wcast-align -Wtraditional \
95 @W@ -Wstrict-prototypes -Wmissing-prototypes \
96 @W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
99 # Installation user and groups
117 # Make depend magic...
120 .depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
121 if test -n "$(SRCS)" ; then \
122 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
123 sed -f $(top_srcdir)/depfix.sed | \
124 sed -e 's; $(srcdir)/; $$(srcdir)/;g' | \
125 sed -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' | \
126 sed -e 's; $(top_builddir)/; $$(top_builddir)/;g' | \
127 sed -e 's; \./; ;g' | \
128 grep -v " \\\\$$" > .depend; \
132 if test -n "$(SRCS)" ; then \
133 sed -e '/^# +++ Dependency line eater +++/,$$d' \
134 < $(srcdir)/Makefile.in | cat - .depend \
135 > $(srcdir)/Makefile.in.new; \
136 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
137 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
144 # End of file MCONFIG