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