Commit | Line | Data |
---|---|---|
d60d9f65 SS |
1 | ## -*- text -*- ## |
2 | # Master Makefile for the GNU readline library. | |
5bdf8622 | 3 | # Copyright (C) 1994-2004 Free Software Foundation, Inc. |
d60d9f65 SS |
4 | |
5 | # This program is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 2, or (at your option) | |
8 | # any later version. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | ||
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with this program; if not, write to the Free Software | |
1b17e766 | 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. |
d60d9f65 SS |
18 | RL_LIBRARY_VERSION = @LIBVERSION@ |
19 | RL_LIBRARY_NAME = readline | |
20 | ||
5bdf8622 DJ |
21 | PACKAGE = @PACKAGE_NAME@ |
22 | VERSION = @PACKAGE_VERSION@ | |
23 | ||
24 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
25 | PACKAGE_NAME = @PACKAGE_NAME@ | |
26 | PACKAGE_STRING = @PACKAGE_STRING@ | |
27 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
28 | ||
d60d9f65 | 29 | srcdir = @srcdir@ |
771578d1 | 30 | VPATH = @srcdir@ |
d60d9f65 SS |
31 | top_srcdir = @top_srcdir@ |
32 | BUILD_DIR = @BUILD_DIR@ | |
33 | ||
34 | INSTALL = @INSTALL@ | |
35 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
36 | INSTALL_DATA = @INSTALL_DATA@ | |
37 | ||
38 | CC = @CC@ | |
d60d9f65 | 39 | RANLIB = @RANLIB@ |
c862e87b JM |
40 | AR = @AR@ |
41 | ARFLAGS = @ARFLAGS@ | |
d60d9f65 SS |
42 | RM = rm -f |
43 | CP = cp | |
44 | MV = mv | |
45 | ||
5bdf8622 DJ |
46 | PURIFY = @PURIFY@ |
47 | ||
9255ee31 | 48 | @SET_MAKE@ |
c862e87b JM |
49 | SHELL = @MAKE_SHELL@ |
50 | ||
d60d9f65 SS |
51 | prefix = @prefix@ |
52 | exec_prefix = @exec_prefix@ | |
53 | ||
54 | bindir = @bindir@ | |
55 | libdir = @libdir@ | |
56 | mandir = @mandir@ | |
57 | includedir = @includedir@ | |
5bdf8622 DJ |
58 | datadir = @datadir@ |
59 | localedir = $(datadir)/locale | |
d60d9f65 SS |
60 | |
61 | infodir = @infodir@ | |
62 | ||
63 | man3dir = $(mandir)/man3 | |
64 | ||
9255ee31 EZ |
65 | # Support an alternate destination root directory for package building |
66 | DESTDIR = | |
67 | ||
d60d9f65 SS |
68 | # Programs to make tags files. |
69 | ETAGS = etags -tw | |
70 | CTAGS = ctags -tw | |
71 | ||
72 | CFLAGS = @CFLAGS@ | |
73 | LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' | |
74 | CPPFLAGS = @CPPFLAGS@ | |
d60d9f65 | 75 | |
5bdf8622 | 76 | DEFS = @DEFS@ @CROSS_COMPILE@ |
d60d9f65 SS |
77 | LOCAL_DEFS = @LOCAL_DEFS@ |
78 | ||
1b17e766 EZ |
79 | TERMCAP_LIB = @TERMCAP_LIB@ |
80 | ||
d60d9f65 | 81 | # For libraries which include headers from other libraries. |
9255ee31 EZ |
82 | INCLUDES = -I. -I$(srcdir) |
83 | ||
84 | XCCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES) | |
85 | CCFLAGS = $(XCCFLAGS) $(LOCAL_CFLAGS) $(CFLAGS) | |
d60d9f65 | 86 | |
9255ee31 EZ |
87 | # could add -Werror here |
88 | GCC_LINT_FLAGS = -ansi -Wall -Wshadow -Wpointer-arith -Wcast-qual \ | |
89 | -Wwrite-strings -Wstrict-prototypes \ | |
90 | -Wmissing-prototypes -Wno-implicit -pedantic | |
91 | GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT_FLAGS) @CFLAGS@ @LOCAL_CFLAGS@ | |
d60d9f65 | 92 | |
d60d9f65 | 93 | .c.o: |
c862e87b | 94 | ${RM} $@ |
d60d9f65 SS |
95 | $(CC) -c $(CCFLAGS) $< |
96 | ||
d60d9f65 SS |
97 | # The name of the main library target. |
98 | LIBRARY_NAME = libreadline.a | |
99 | STATIC_LIBS = libreadline.a libhistory.a | |
100 | ||
25ed0b71 KW |
101 | WCWIDTH_OBJ = @WCWIDTH_OBJ@ |
102 | ||
d60d9f65 SS |
103 | # The C code source files for this library. |
104 | CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \ | |
105 | $(srcdir)/vi_mode.c $(srcdir)/parens.c $(srcdir)/rltty.c \ | |
106 | $(srcdir)/complete.c $(srcdir)/bind.c $(srcdir)/isearch.c \ | |
107 | $(srcdir)/display.c $(srcdir)/signals.c $(srcdir)/emacs_keymap.c \ | |
108 | $(srcdir)/vi_keymap.c $(srcdir)/util.c $(srcdir)/kill.c \ | |
109 | $(srcdir)/undo.c $(srcdir)/macro.c $(srcdir)/input.c \ | |
110 | $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c \ | |
111 | $(srcdir)/history.c $(srcdir)/histsearch.c $(srcdir)/histexpand.c \ | |
112 | $(srcdir)/histfile.c $(srcdir)/nls.c $(srcdir)/search.c \ | |
9255ee31 EZ |
113 | $(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \ |
114 | $(srcdir)/text.c $(srcdir)/misc.c $(srcdir)/compat.c \ | |
25ed0b71 | 115 | $(srcdir)/mbutil.c $(srcdir)/support/wcwidth.c |
d60d9f65 SS |
116 | |
117 | # The header files for this library. | |
118 | HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h histlib.h \ | |
119 | posixstat.h posixdir.h posixjmp.h tilde.h rlconf.h rltty.h \ | |
9255ee31 EZ |
120 | ansi_stdlib.h tcap.h rlstdc.h xmalloc.h rlprivate.h rlshell.h \ |
121 | rltypedefs.h rlmbutil.h | |
d60d9f65 | 122 | |
9255ee31 | 123 | HISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o |
d60d9f65 SS |
124 | TILDEOBJ = tilde.o |
125 | OBJECTS = readline.o vi_mode.o funmap.o keymaps.o parens.o search.o \ | |
126 | rltty.o complete.o bind.o isearch.o display.o signals.o \ | |
127 | util.o kill.o undo.o macro.o input.o callback.o terminal.o \ | |
25ed0b71 KW |
128 | text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ) \ |
129 | $(WCWIDTH_OBJ) | |
d60d9f65 | 130 | |
d60d9f65 SS |
131 | # The texinfo files which document this library. |
132 | DOCSOURCE = doc/rlman.texinfo doc/rltech.texinfo doc/rluser.texinfo | |
133 | DOCOBJECT = doc/readline.dvi | |
134 | DOCSUPPORT = doc/Makefile | |
135 | DOCUMENTATION = $(DOCSOURCE) $(DOCOBJECT) $(DOCSUPPORT) | |
136 | ||
c862e87b | 137 | CREATED_MAKEFILES = Makefile doc/Makefile examples/Makefile shlib/Makefile |
d60d9f65 SS |
138 | CREATED_CONFIGURE = config.status config.h config.cache config.log \ |
139 | stamp-config stamp-h | |
140 | CREATED_TAGS = TAGS tags | |
141 | ||
c862e87b | 142 | INSTALLED_HEADERS = readline.h chardefs.h keymaps.h history.h tilde.h \ |
9255ee31 | 143 | rlstdc.h rlconf.h rltypedefs.h |
d60d9f65 SS |
144 | |
145 | ########################################################################## | |
9255ee31 EZ |
146 | TARGETS = @STATIC_TARGET@ @SHARED_TARGET@ |
147 | INSTALL_TARGETS = @STATIC_INSTALL_TARGET@ @SHARED_INSTALL_TARGET@ | |
d60d9f65 | 148 | |
9255ee31 | 149 | all: $(TARGETS) |
d60d9f65 | 150 | |
9255ee31 | 151 | everything: all examples |
1b17e766 | 152 | |
d60d9f65 | 153 | static: $(STATIC_LIBS) |
d60d9f65 SS |
154 | |
155 | libreadline.a: $(OBJECTS) | |
156 | $(RM) $@ | |
c862e87b | 157 | $(AR) $(ARFLAGS) $@ $(OBJECTS) |
d60d9f65 SS |
158 | -test -n "$(RANLIB)" && $(RANLIB) $@ |
159 | ||
160 | libhistory.a: $(HISTOBJ) xmalloc.o | |
161 | $(RM) $@ | |
c862e87b | 162 | $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o |
d60d9f65 SS |
163 | -test -n "$(RANLIB)" && $(RANLIB) $@ |
164 | ||
25ed0b71 KW |
165 | wcwidth.o: $(srcdir)/support/wcwidth.c |
166 | $(RM) $@ | |
167 | $(CC) $(CCFLAGS) -c $(srcdir)/support/wcwidth.c | |
168 | ||
9255ee31 EZ |
169 | # Since tilde.c is shared between readline and bash, make sure we compile |
170 | # it with the right flags when it's built as part of readline | |
171 | tilde.o: tilde.c | |
172 | rm -f $@ | |
173 | $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c | |
174 | ||
1b17e766 EZ |
175 | readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a |
176 | $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB} | |
d60d9f65 | 177 | |
9255ee31 EZ |
178 | lint: force |
179 | $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static | |
180 | ||
d60d9f65 SS |
181 | Makefile makefile: config.status $(srcdir)/Makefile.in |
182 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
183 | ||
184 | Makefiles makefiles: config.status $(srcdir)/Makefile.in | |
185 | @for mf in $(CREATED_MAKEFILES); do \ | |
186 | CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \ | |
187 | done | |
188 | ||
189 | config.status: configure | |
190 | $(SHELL) ./config.status --recheck | |
191 | ||
192 | config.h: stamp-h | |
193 | ||
194 | stamp-h: config.status $(srcdir)/config.h.in | |
195 | CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status | |
196 | echo > $@ | |
197 | ||
1b17e766 EZ |
198 | #$(srcdir)/configure: $(srcdir)/configure.in ## Comment-me-out in distribution |
199 | # cd $(srcdir) && autoconf ## Comment-me-out in distribution | |
d60d9f65 | 200 | |
c862e87b JM |
201 | shared: force |
202 | -test -d shlib || mkdir shlib | |
203 | -( cd shlib ; ${MAKE} ${MFLAGS} all ) | |
204 | ||
d60d9f65 SS |
205 | documentation: force |
206 | -test -d doc || mkdir doc | |
207 | -( cd doc && $(MAKE) $(MFLAGS) ) | |
208 | ||
209 | examples: force | |
210 | -test -d examples || mkdir examples | |
211 | -(cd examples && ${MAKE} ${MFLAGS} all ) | |
212 | ||
213 | force: | |
214 | ||
1b17e766 EZ |
215 | install-headers: installdirs ${INSTALLED_HEADERS} |
216 | for f in ${INSTALLED_HEADERS}; do \ | |
9255ee31 | 217 | $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/readline ; \ |
1b17e766 EZ |
218 | done |
219 | ||
220 | uninstall-headers: | |
9255ee31 | 221 | -test -n "$(includedir)" && cd $(DESTDIR)$(includedir)/readline && \ |
1b17e766 EZ |
222 | ${RM} ${INSTALLED_HEADERS} |
223 | ||
224 | maybe-uninstall-headers: uninstall-headers | |
225 | ||
5bdf8622 | 226 | ## GDB LOCAL |
771578d1 SS |
227 | ## Don't mess with people's installed readline's. |
228 | ## This tries to install this version of readline over whatever | |
229 | ## version is already installed on the system (which could be a | |
230 | ## newer version). There is no real reason for us to install | |
231 | ## readline along with GDB. GDB links statically against readline, | |
232 | ## so it doesn't depend on us installing it on the system. | |
233 | ||
234 | install: | |
235 | ||
9255ee31 EZ |
236 | #install: $(INSTALL_TARGETS) |
237 | ||
5bdf8622 | 238 | install-static: installdirs $(STATIC_LIBS) install-headers install-doc |
9255ee31 EZ |
239 | -$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old |
240 | $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a | |
241 | -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a | |
242 | -$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old | |
243 | $(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a | |
244 | -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.a | |
d60d9f65 | 245 | |
5bdf8622 DJ |
246 | installdirs: $(srcdir)/support/mkinstalldirs |
247 | -$(SHELL) $(srcdir)/support/mkinstalldirs $(DESTDIR)$(includedir) \ | |
9255ee31 EZ |
248 | $(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) \ |
249 | $(DESTDIR)$(infodir) $(DESTDIR)$(man3dir) | |
d60d9f65 | 250 | |
5bdf8622 | 251 | uninstall: uninstall-headers uninstall-doc |
9255ee31 | 252 | -test -n "$(DESTDIR)$(libdir)" && cd $(DESTDIR)$(libdir) && \ |
d60d9f65 | 253 | ${RM} libreadline.a libreadline.old libhistory.a libhistory.old $(SHARED_LIBS) |
9255ee31 | 254 | -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) |
d60d9f65 | 255 | |
5bdf8622 | 256 | install-shared: installdirs install-headers shared install-doc |
9255ee31 | 257 | -( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) |
5bdf8622 | 258 | |
1b17e766 | 259 | uninstall-shared: maybe-uninstall-headers |
9255ee31 | 260 | -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) |
d60d9f65 | 261 | |
5bdf8622 DJ |
262 | install-doc: installdirs |
263 | -( if test -d doc ; then \ | |
264 | cd doc && \ | |
265 | ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} install; \ | |
266 | fi ) | |
267 | ||
268 | uninstall-doc: | |
269 | -( if test -d doc ; then \ | |
270 | cd doc && \ | |
271 | ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} uninstall; \ | |
272 | fi ) | |
273 | ||
d60d9f65 SS |
274 | TAGS: force |
275 | $(ETAGS) $(CSOURCES) $(HSOURCES) | |
276 | ||
277 | tags: force | |
278 | $(CTAGS) $(CSOURCES) $(HSOURCES) | |
279 | ||
280 | clean: force | |
281 | $(RM) $(OBJECTS) $(STATIC_LIBS) | |
1b17e766 | 282 | $(RM) readline readline.exe |
c862e87b | 283 | -( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
284 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
285 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
286 | ||
287 | mostlyclean: clean | |
c862e87b | 288 | -( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
289 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
290 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
291 | ||
292 | distclean maintainer-clean: clean | |
c862e87b | 293 | -( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
294 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
295 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
296 | $(RM) Makefile | |
297 | $(RM) $(CREATED_CONFIGURE) | |
298 | $(RM) $(CREATED_TAGS) | |
299 | ||
9453113a | 300 | info dvi pdf: |
d60d9f65 SS |
301 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
302 | ||
303 | install-info: | |
304 | check: | |
305 | installcheck: | |
306 | ||
307 | dist: force | |
308 | @echo Readline distributions are created using $(srcdir)/support/mkdist. | |
309 | @echo Here is a sample of the necessary commands: | |
1b17e766 | 310 | @echo bash $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r $(RL_LIBRARY_NAME) $(RL_LIBRARY_VERSION) |
d60d9f65 SS |
311 | @echo tar cf $(RL_LIBRARY_NAME)-${RL_LIBRARY_VERSION}.tar ${RL_LIBRARY_NAME}-$(RL_LIBRARY_VERSION) |
312 | @echo gzip $(RL_LIBRARY_NAME)-$(RL_LIBRARY_VERSION).tar | |
313 | ||
314 | # Tell versions [3.59,3.63) of GNU make not to export all variables. | |
315 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
316 | .NOEXPORT: | |
317 | ||
318 | # Dependencies | |
319 | bind.o: ansi_stdlib.h posixstat.h | |
320 | bind.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 321 | bind.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 SS |
322 | bind.o: history.h |
323 | callback.o: rlconf.h | |
324 | callback.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 EZ |
325 | callback.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
326 | compat.o: rlstdc.h | |
d60d9f65 SS |
327 | complete.o: ansi_stdlib.h posixdir.h posixstat.h |
328 | complete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 329 | complete.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 SS |
330 | display.o: ansi_stdlib.h posixstat.h |
331 | display.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
332 | display.o: tcap.h | |
9255ee31 | 333 | display.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 334 | display.o: history.h rlstdc.h |
9255ee31 | 335 | funmap.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 336 | funmap.o: rlconf.h ansi_stdlib.h rlstdc.h |
d60d9f65 SS |
337 | funmap.o: ${BUILD_DIR}/config.h |
338 | histexpand.o: ansi_stdlib.h | |
9255ee31 | 339 | histexpand.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
340 | histexpand.o: ${BUILD_DIR}/config.h |
341 | histfile.o: ansi_stdlib.h | |
9255ee31 | 342 | histfile.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
343 | histfile.o: ${BUILD_DIR}/config.h |
344 | history.o: ansi_stdlib.h | |
9255ee31 | 345 | history.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
346 | history.o: ${BUILD_DIR}/config.h |
347 | histsearch.o: ansi_stdlib.h | |
9255ee31 | 348 | histsearch.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
349 | histsearch.o: ${BUILD_DIR}/config.h |
350 | input.o: ansi_stdlib.h | |
351 | input.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 352 | input.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 | 353 | isearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 354 | isearch.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 355 | isearch.o: ansi_stdlib.h history.h rlstdc.h |
d60d9f65 | 356 | keymaps.o: emacs_keymap.c vi_keymap.c |
9255ee31 EZ |
357 | keymaps.o: keymaps.h rltypedefs.h chardefs.h rlconf.h ansi_stdlib.h |
358 | keymaps.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h | |
c862e87b | 359 | keymaps.o: ${BUILD_DIR}/config.h rlstdc.h |
d60d9f65 SS |
360 | kill.o: ansi_stdlib.h |
361 | kill.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 362 | kill.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 363 | kill.o: history.h rlstdc.h |
d60d9f65 SS |
364 | macro.o: ansi_stdlib.h |
365 | macro.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 366 | macro.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 367 | macro.o: history.h rlstdc.h |
9255ee31 EZ |
368 | mbutil.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
369 | mbutil.o: readline.h keymaps.h rltypedefs.h chardefs.h rlstdc.h | |
370 | misc.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h | |
371 | misc.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
372 | misc.o: history.h rlstdc.h ansi_stdlib.h | |
d60d9f65 SS |
373 | nls.o: ansi_stdlib.h |
374 | nls.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 375 | nls.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
1b17e766 | 376 | nls.o: history.h rlstdc.h |
d60d9f65 SS |
377 | parens.o: rlconf.h |
378 | parens.o: ${BUILD_DIR}/config.h | |
9255ee31 EZ |
379 | parens.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
380 | readline.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h | |
d60d9f65 | 381 | readline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
c862e87b | 382 | readline.o: history.h rlstdc.h |
d60d9f65 SS |
383 | readline.o: posixstat.h ansi_stdlib.h posixjmp.h |
384 | rltty.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
385 | rltty.o: rltty.h | |
9255ee31 | 386 | rltty.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 | 387 | search.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 388 | search.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 389 | search.o: ansi_stdlib.h history.h rlstdc.h |
d60d9f65 SS |
390 | shell.o: ${BUILD_DIR}/config.h |
391 | shell.o: ansi_stdlib.h | |
392 | signals.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 393 | signals.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 394 | signals.o: history.h rlstdc.h |
d60d9f65 SS |
395 | terminal.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
396 | terminal.o: tcap.h | |
9255ee31 | 397 | terminal.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 398 | terminal.o: history.h rlstdc.h |
9255ee31 EZ |
399 | text.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
400 | text.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
401 | text.o: history.h rlstdc.h ansi_stdlib.h | |
d60d9f65 SS |
402 | tilde.o: ansi_stdlib.h |
403 | tilde.o: ${BUILD_DIR}/config.h | |
404 | tilde.o: tilde.h | |
405 | undo.o: ansi_stdlib.h | |
406 | undo.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 407 | undo.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 408 | undo.o: history.h rlstdc.h |
d60d9f65 SS |
409 | util.o: posixjmp.h ansi_stdlib.h |
410 | util.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 411 | util.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 | 412 | vi_mode.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 413 | vi_mode.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 414 | vi_mode.o: history.h ansi_stdlib.h rlstdc.h |
d60d9f65 SS |
415 | xmalloc.o: ${BUILD_DIR}/config.h |
416 | xmalloc.o: ansi_stdlib.h | |
417 | ||
1b17e766 EZ |
418 | bind.o: rlshell.h |
419 | histfile.o: rlshell.h | |
420 | nls.o: rlshell.h | |
421 | readline.o: rlshell.h | |
422 | shell.o: rlshell.h | |
423 | terminal.o: rlshell.h | |
424 | histexpand.o: rlshell.h | |
425 | ||
426 | bind.o: rlprivate.h | |
427 | callback.o: rlprivate.h | |
428 | complete.o: rlprivate.h | |
429 | display.o: rlprivate.h | |
430 | input.o: rlprivate.h | |
431 | isearch.o: rlprivate.h | |
432 | kill.o: rlprivate.h | |
433 | macro.o: rlprivate.h | |
9255ee31 EZ |
434 | mbutil.o: rlprivate.h |
435 | misc.o: rlprivate.h | |
1b17e766 EZ |
436 | nls.o: rlprivate.h |
437 | parens.o: rlprivate.h | |
438 | readline.o: rlprivate.h | |
439 | rltty.o: rlprivate.h | |
440 | search.o: rlprivate.h | |
441 | signals.o: rlprivate.h | |
442 | terminal.o: rlprivate.h | |
9255ee31 | 443 | text.o: rlprivate.h |
1b17e766 EZ |
444 | undo.o: rlprivate.h |
445 | util.o: rlprivate.h | |
446 | vi_mode.o: rlprivate.h | |
447 | ||
448 | bind.o: xmalloc.h | |
0b7b5a97 | 449 | callback.o: xmalloc.h |
1b17e766 EZ |
450 | complete.o: xmalloc.h |
451 | display.o: xmalloc.h | |
452 | funmap.o: xmalloc.h | |
453 | histexpand.o: xmalloc.h | |
454 | histfile.o: xmalloc.h | |
455 | history.o: xmalloc.h | |
456 | input.o: xmalloc.h | |
457 | isearch.o: xmalloc.h | |
458 | keymaps.o: xmalloc.h | |
459 | kill.o: xmalloc.h | |
460 | macro.o: xmalloc.h | |
9255ee31 EZ |
461 | mbutil.o: xmalloc.h |
462 | misc.o: xmalloc.h | |
1b17e766 EZ |
463 | readline.o: xmalloc.h |
464 | savestring.o: xmalloc.h | |
465 | search.o: xmalloc.h | |
466 | shell.o: xmalloc.h | |
9255ee31 EZ |
467 | terminal.o: xmalloc.h |
468 | text.o: xmalloc.h | |
1b17e766 | 469 | tilde.o: xmalloc.h |
9255ee31 | 470 | undo.o: xmalloc.h |
1b17e766 EZ |
471 | util.o: xmalloc.h |
472 | vi_mode.o: xmalloc.h | |
9255ee31 EZ |
473 | xmalloc.o: xmalloc.h |
474 | ||
475 | complete.o: rlmbutil.h | |
476 | display.o: rlmbutil.h | |
477 | histexpand.o: rlmbutil.h | |
478 | input.o: rlmbutil.h | |
479 | isearch.o: rlmbutil.h | |
480 | mbutil.o: rlmbutil.h | |
481 | misc.o: rlmbutil.h | |
482 | readline.o: rlmbutil.h | |
483 | search.o: rlmbutil.h | |
484 | text.o: rlmbutil.h | |
485 | vi_mode.o: rlmbutil.h | |
1b17e766 | 486 | |
d60d9f65 | 487 | bind.o: $(srcdir)/bind.c |
9255ee31 EZ |
488 | callback.o: $(srcdir)/callback.c |
489 | compat.o: $(srcdir)/compat.c | |
490 | complete.o: $(srcdir)/complete.c | |
d60d9f65 | 491 | display.o: $(srcdir)/display.c |
9255ee31 EZ |
492 | funmap.o: $(srcdir)/funmap.c |
493 | input.o: $(srcdir)/input.c | |
494 | isearch.o: $(srcdir)/isearch.c | |
495 | keymaps.o: $(srcdir)/keymaps.c $(srcdir)/emacs_keymap.c $(srcdir)/vi_keymap.c | |
d60d9f65 | 496 | kill.o: $(srcdir)/kill.c |
d60d9f65 | 497 | macro.o: $(srcdir)/macro.c |
9255ee31 EZ |
498 | mbutil.o: $(srcdir)/mbutil.c |
499 | misc.o: $(srcdir)/misc.c | |
d60d9f65 | 500 | nls.o: $(srcdir)/nls.c |
9255ee31 EZ |
501 | parens.o: $(srcdir)/parens.c |
502 | readline.o: $(srcdir)/readline.c | |
503 | rltty.o: $(srcdir)/rltty.c | |
504 | savestring.o: $(srcdir)/savestring.c | |
505 | search.o: $(srcdir)/search.c | |
506 | shell.o: $(srcdir)/shell.c | |
507 | signals.o: $(srcdir)/signals.c | |
508 | terminal.o: $(srcdir)/terminal.c | |
509 | text.o: $(srcdir)/text.c | |
510 | tilde.o: $(srcdir)/tilde.c | |
511 | undo.o: $(srcdir)/undo.c | |
512 | util.o: $(srcdir)/util.c | |
513 | vi_mode.o: $(srcdir)/vi_mode.c | |
d60d9f65 | 514 | xmalloc.o: $(srcdir)/xmalloc.c |
9255ee31 | 515 | |
d60d9f65 SS |
516 | histexpand.o: $(srcdir)/histexpand.c |
517 | histfile.o: $(srcdir)/histfile.c | |
9255ee31 | 518 | history.o: $(srcdir)/history.c |
d60d9f65 | 519 | histsearch.o: $(srcdir)/histsearch.c |
d60d9f65 | 520 | |
d60d9f65 | 521 | bind.o: bind.c |
9255ee31 EZ |
522 | callback.o: callback.c |
523 | compat.o: compat.c | |
524 | complete.o: complete.c | |
d60d9f65 | 525 | display.o: display.c |
9255ee31 EZ |
526 | funmap.o: funmap.c |
527 | input.o: input.c | |
528 | isearch.o: isearch.c | |
529 | keymaps.o: keymaps.c emacs_keymap.c vi_keymap.c | |
d60d9f65 | 530 | kill.o: kill.c |
d60d9f65 | 531 | macro.o: macro.c |
9255ee31 EZ |
532 | mbutil.o: mbutil.c |
533 | misc.o: misc.c | |
d60d9f65 | 534 | nls.o: nls.c |
9255ee31 EZ |
535 | parens.o: parens.c |
536 | readline.o: readline.c | |
537 | rltty.o: rltty.c | |
538 | savestring.o: savestring.c | |
539 | search.o: search.c | |
540 | shell.o: shell.c | |
541 | signals.o: signals.c | |
542 | terminal.o: terminal.c | |
543 | text.o: text.c | |
544 | tilde.o: tilde.c | |
545 | undo.o: undo.c | |
546 | util.o: util.c | |
547 | vi_mode.o: vi_mode.c | |
d60d9f65 | 548 | xmalloc.o: xmalloc.c |
9255ee31 | 549 | |
d60d9f65 SS |
550 | histexpand.o: histexpand.c |
551 | histfile.o: histfile.c | |
9255ee31 | 552 | history.o: history.c |
d60d9f65 | 553 | histsearch.o: histsearch.c |