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