blob: f01e4e2f83ca3cee819f5a43103b3457f44728a6 [file] [log] [blame]
Theodore Ts'o50e1e101997-04-26 13:58:21 +00001# 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
Theodore Ts'o21c84b71997-04-29 16:15:03 +000020infodir = $(usr_prefix)/info
Theodore Ts'o50e1e101997-04-26 13:58:21 +000021
22@SET_MAKE@
23
24INSTALL_PROGRAM = @INSTALL_PROGRAM@
25INSTALL_DATA = @INSTALL_DATA@
26CC = @CC@
27DEFS = @DEFS@
Theodore Ts'o74becf31997-04-26 14:37:06 +000028CFLAGS = @CFLAGS@
29ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000030 -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
31LDFLAGS = @LDFLAGS@
Theodore Ts'o74becf31997-04-26 14:37:06 +000032ALL_LDFLAGS = $(LDFLAGS)
Theodore Ts'o50e1e101997-04-26 13:58:21 +000033RM = @RM@
34LN = @LN@
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +000035LN_S = @LN_S@
Theodore Ts'o50e1e101997-04-26 13:58:21 +000036MV = @MV@
37CP = @CP@
38CHMOD = @CHMOD@
39AR = @AR@
40AWK = @AWK@
41SED = @SED@
42RANLIB = @RANLIB@
43STRIP = @STRIP@
44LD = $(PURE) @CC@
45ARUPD = $(AR) r
46
47#
Theodore Ts'oa4d09611997-04-29 14:28:00 +000048# Library definitions
49#
50LIB = $(top_builddir)/lib
51LIBSS = $(LIB)/libss@LIB_EXT@
52LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
53LIBE2P = $(LIB)/libe2p@LIB_EXT@
54LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +000055LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
Theodore Ts'oa4d09611997-04-29 14:28:00 +000056
57STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
58STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
59STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
60STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +000061STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
Theodore Ts'oa4d09611997-04-29 14:28:00 +000062
63PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
64PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
65PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
66PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +000067PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
Theodore Ts'oa4d09611997-04-29 14:28:00 +000068
69#
Theodore Ts'o50e1e101997-04-26 13:58:21 +000070# Use these definitions is you use tools 2.x, x < 16
71#
72#DLL_BIN=/usr/dll/bin
73#JUMP_PREFIX=/usr/dll/jump/
74
75#
76# Use these definitions if you use tools 2.16 or above
77#
78DLL_BIN=/usr/bin
79JUMP_PREFIX=/usr/bin/jump
80
81# An include directive pointing to a directory holding enough linux-like
82# include files to satisfy some programs here
83LINUX_INCLUDE=@LINUX_INCLUDE@
84
85#
Theodore Ts'oa4d09611997-04-29 14:28:00 +000086# A fast substitution command for fixing up man pages, shell scripts, etc.
87#
88SUBSTITUTE= $(top_builddir)/lib/substitute_sh
89
90#
Theodore Ts'o50e1e101997-04-26 13:58:21 +000091# Warning flags
92#
93# Uncomment WFLAGS if you want really anal GCC warning messages
94#
95#
96@W@WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
97@W@ -Wall -Wwrite-strings -Wpointer-arith \
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +000098@W@ -Wcast-qual -Wcast-align -Wtraditional \
Theodore Ts'o50e1e101997-04-26 13:58:21 +000099@W@ -Wstrict-prototypes -Wmissing-prototypes \
100@W@ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
101
102#
103# Installation user and groups
104#
105BINGRP= bin
106BINOWN= bin
107BINMODE= 555
108INCGRP= bin
109INCOWN= bin
110INCMODE= 444
111LIBOWN= bin
112LIBGRP= bin
113LIBMODE= 444
114MANGRP= bin
115MANOWN= bin
116MANMODE= 444
117
118all::
119
120#
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000121# Autoconf magic...
122#
123
124$(top_builddir)/config.status: $(top_srcdir)/configure
125 (cd $(top_builddir); ./config.status --recheck)
126
127$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
128 (cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status)
129
130$(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
131 $(top_builddir)/config.status
132 (cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status)
133
134Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
135 $(top_builddir)/config.status
136 (cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status)
137
138$(top_srcdir)/configure: $(top_srcdir)/configure.in
139 cd $(top_srcdir) && autoconf
140
141#
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000142# Make depend magic...
143#
144
145.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed
146 if test -n "$(SRCS)" ; then \
Theodore Ts'o74becf31997-04-26 14:37:06 +0000147 $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
Theodore Ts'ofc6d9d51997-04-29 14:51:31 +0000148 sed -f $(top_srcdir)/depfix.sed \
149 -e 's; $(srcdir)/; $$(srcdir)/;g' \
150 -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
151 -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
152 -e 's; \./; ;g' \
153 -e '/^ *\\$$/d' > .depend; \
Theodore Ts'o50e1e101997-04-26 13:58:21 +0000154 else :; fi
155
156depend:: .depend
157 if test -n "$(SRCS)" ; then \
158 sed -e '/^# +++ Dependency line eater +++/,$$d' \
159 < $(srcdir)/Makefile.in | cat - .depend \
160 > $(srcdir)/Makefile.in.new; \
161 $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
162 $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
163 else :; fi
164
165
166
167
168
169# End of file MCONFIG