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