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
101# The C code source files for this library.
102CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
103	   $(srcdir)/vi_mode.c $(srcdir)/parens.c $(srcdir)/rltty.c \
104	   $(srcdir)/complete.c $(srcdir)/bind.c $(srcdir)/isearch.c \
105	   $(srcdir)/display.c $(srcdir)/signals.c $(srcdir)/emacs_keymap.c \
106	   $(srcdir)/vi_keymap.c $(srcdir)/util.c $(srcdir)/kill.c \
107	   $(srcdir)/undo.c $(srcdir)/macro.c $(srcdir)/input.c \
108	   $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c \
109	   $(srcdir)/history.c $(srcdir)/histsearch.c $(srcdir)/histexpand.c \
110	   $(srcdir)/histfile.c $(srcdir)/nls.c $(srcdir)/search.c \
111	   $(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \
112	   $(srcdir)/text.c $(srcdir)/misc.c $(srcdir)/compat.c \
113	   $(srcdir)/mbutil.c
114
115# The header files for this library.
116HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h histlib.h \
117	   posixstat.h posixdir.h posixjmp.h tilde.h rlconf.h rltty.h \
118	   ansi_stdlib.h tcap.h rlstdc.h xmalloc.h rlprivate.h rlshell.h \
119	   rltypedefs.h rlmbutil.h
120
121HISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o
122TILDEOBJ = tilde.o
123OBJECTS = readline.o vi_mode.o funmap.o keymaps.o parens.o search.o \
124	  rltty.o complete.o bind.o isearch.o display.o signals.o \
125	  util.o kill.o undo.o macro.o input.o callback.o terminal.o \
126	  text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ)
127
128# The texinfo files which document this library.
129DOCSOURCE = doc/rlman.texinfo doc/rltech.texinfo doc/rluser.texinfo
130DOCOBJECT = doc/readline.dvi
131DOCSUPPORT = doc/Makefile
132DOCUMENTATION = $(DOCSOURCE) $(DOCOBJECT) $(DOCSUPPORT)
133
134CREATED_MAKEFILES = Makefile doc/Makefile examples/Makefile shlib/Makefile
135CREATED_CONFIGURE = config.status config.h config.cache config.log \
136		    stamp-config stamp-h
137CREATED_TAGS = TAGS tags
138
139INSTALLED_HEADERS = readline.h chardefs.h keymaps.h history.h tilde.h \
140		    rlstdc.h rlconf.h rltypedefs.h
141
142##########################################################################
143TARGETS = @STATIC_TARGET@ @SHARED_TARGET@
144INSTALL_TARGETS = @STATIC_INSTALL_TARGET@ @SHARED_INSTALL_TARGET@
145
146all: $(TARGETS)
147
148everything: all examples
149
150static: $(STATIC_LIBS)
151
152libreadline.a: $(OBJECTS)
153	$(RM) $@
154	$(AR) $(ARFLAGS) $@ $(OBJECTS)
155	-test -n "$(RANLIB)" && $(RANLIB) $@
156
157libhistory.a: $(HISTOBJ) xmalloc.o
158	$(RM) $@
159	$(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o
160	-test -n "$(RANLIB)" && $(RANLIB) $@
161
162# Since tilde.c is shared between readline and bash, make sure we compile
163# it with the right flags when it's built as part of readline
164tilde.o:	tilde.c
165	rm -f $@
166	$(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
167
168readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
169	$(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}
170
171lint:	force
172	$(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static
173
174Makefile makefile: config.status $(srcdir)/Makefile.in
175	CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
176
177Makefiles makefiles: config.status $(srcdir)/Makefile.in
178	@for mf in $(CREATED_MAKEFILES); do \
179		CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
180	done
181
182config.status: configure
183	$(SHELL) ./config.status --recheck
184
185config.h:	stamp-h
186
187stamp-h: config.status $(srcdir)/config.h.in
188	CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
189	echo > $@
190
191#$(srcdir)/configure: $(srcdir)/configure.in	## Comment-me-out in distribution
192#	cd $(srcdir) && autoconf	## Comment-me-out in distribution
193
194
195shared:	force
196	-test -d shlib || mkdir shlib
197	-( cd shlib ; ${MAKE} ${MFLAGS} all )
198
199documentation: force
200	-test -d doc || mkdir doc
201	-( cd doc && $(MAKE) $(MFLAGS) )
202
203examples: force
204	-test -d examples || mkdir examples
205	-(cd examples && ${MAKE} ${MFLAGS} all )
206
207force:
208
209install-headers: installdirs ${INSTALLED_HEADERS}
210	for f in ${INSTALLED_HEADERS}; do \
211		$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/readline ; \
212	done
213
214uninstall-headers:
215	-test -n "$(includedir)" && cd $(DESTDIR)$(includedir)/readline && \
216		${RM} ${INSTALLED_HEADERS}
217
218maybe-uninstall-headers: uninstall-headers
219
220install:	$(INSTALL_TARGETS)
221
222install-static: installdirs $(STATIC_LIBS) install-headers install-doc
223	-$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old
224	$(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a
225	-test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a
226	-$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old
227	$(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a
228	-test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.a
229
230installdirs: $(srcdir)/support/mkinstalldirs
231	-$(SHELL) $(srcdir)/support/mkinstalldirs $(DESTDIR)$(includedir) \
232		$(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) \
233		$(DESTDIR)$(infodir) $(DESTDIR)$(man3dir)
234
235uninstall: uninstall-headers uninstall-doc
236	-test -n "$(DESTDIR)$(libdir)" && cd $(DESTDIR)$(libdir) && \
237		${RM} libreadline.a libreadline.old libhistory.a libhistory.old $(SHARED_LIBS)
238	-( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
239
240install-shared: installdirs install-headers shared install-doc
241	-( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install )
242	
243uninstall-shared: maybe-uninstall-headers
244	-( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
245
246install-doc:	installdirs
247	-( if test -d doc ; then \
248		cd doc && \
249		${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} install; \
250	  fi )
251
252uninstall-doc:
253	-( if test -d doc ; then \
254		cd doc && \
255		${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} uninstall; \
256	  fi )
257
258TAGS:	force
259	$(ETAGS) $(CSOURCES) $(HSOURCES)
260
261tags:	force
262	$(CTAGS) $(CSOURCES) $(HSOURCES)
263
264clean:	force
265	$(RM) $(OBJECTS) $(STATIC_LIBS)
266	$(RM) readline readline.exe
267	-( cd shlib && $(MAKE) $(MFLAGS) $@ )
268	-( cd doc && $(MAKE) $(MFLAGS) $@ )
269	-( cd examples && $(MAKE) $(MFLAGS) $@ )
270
271mostlyclean: clean
272	-( cd shlib && $(MAKE) $(MFLAGS) $@ )
273	-( cd doc && $(MAKE) $(MFLAGS) $@ )
274	-( cd examples && $(MAKE) $(MFLAGS) $@ )
275
276distclean maintainer-clean: clean
277	-( cd shlib && $(MAKE) $(MFLAGS) $@ )
278	-( cd doc && $(MAKE) $(MFLAGS) $@ )
279	-( cd examples && $(MAKE) $(MFLAGS) $@ )
280	$(RM) Makefile
281	$(RM) $(CREATED_CONFIGURE)
282	$(RM) $(CREATED_TAGS)
283
284info dvi:
285	-( cd doc && $(MAKE) $(MFLAGS) $@ )
286
287install-info:
288check:
289installcheck:
290
291dist:   force
292	@echo Readline distributions are created using $(srcdir)/support/mkdist.
293	@echo Here is a sample of the necessary commands:
294	@echo bash $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r $(RL_LIBRARY_NAME) $(RL_LIBRARY_VERSION)
295	@echo tar cf $(RL_LIBRARY_NAME)-${RL_LIBRARY_VERSION}.tar ${RL_LIBRARY_NAME}-$(RL_LIBRARY_VERSION)
296	@echo gzip $(RL_LIBRARY_NAME)-$(RL_LIBRARY_VERSION).tar
297
298# Tell versions [3.59,3.63) of GNU make not to export all variables.
299# Otherwise a system limit (for SysV at least) may be exceeded.
300.NOEXPORT:
301
302# Dependencies
303bind.o: ansi_stdlib.h posixstat.h
304bind.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
305bind.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
306bind.o: history.h
307callback.o: rlconf.h
308callback.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
309callback.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
310compat.o: rlstdc.h
311complete.o: ansi_stdlib.h posixdir.h posixstat.h
312complete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
313complete.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
314display.o: ansi_stdlib.h posixstat.h
315display.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
316display.o: tcap.h
317display.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
318display.o: history.h rlstdc.h
319funmap.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
320funmap.o: rlconf.h ansi_stdlib.h rlstdc.h
321funmap.o: ${BUILD_DIR}/config.h
322histexpand.o: ansi_stdlib.h
323histexpand.o: history.h histlib.h rlstdc.h rltypedefs.h
324histexpand.o: ${BUILD_DIR}/config.h
325histfile.o: ansi_stdlib.h
326histfile.o: history.h histlib.h rlstdc.h rltypedefs.h
327histfile.o: ${BUILD_DIR}/config.h
328history.o: ansi_stdlib.h
329history.o: history.h histlib.h rlstdc.h rltypedefs.h
330history.o: ${BUILD_DIR}/config.h
331histsearch.o: ansi_stdlib.h
332histsearch.o: history.h histlib.h rlstdc.h rltypedefs.h
333histsearch.o: ${BUILD_DIR}/config.h
334input.o: ansi_stdlib.h
335input.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
336input.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
337isearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
338isearch.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
339isearch.o: ansi_stdlib.h history.h rlstdc.h
340keymaps.o: emacs_keymap.c vi_keymap.c
341keymaps.o: keymaps.h rltypedefs.h chardefs.h rlconf.h ansi_stdlib.h
342keymaps.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
343keymaps.o: ${BUILD_DIR}/config.h rlstdc.h
344kill.o: ansi_stdlib.h
345kill.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
346kill.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
347kill.o: history.h rlstdc.h
348macro.o: ansi_stdlib.h
349macro.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
350macro.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
351macro.o: history.h rlstdc.h
352mbutil.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
353mbutil.o: readline.h keymaps.h rltypedefs.h chardefs.h rlstdc.h
354misc.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
355misc.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
356misc.o: history.h rlstdc.h ansi_stdlib.h
357nls.o: ansi_stdlib.h
358nls.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
359nls.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h  
360nls.o: history.h rlstdc.h  
361parens.o: rlconf.h
362parens.o: ${BUILD_DIR}/config.h
363parens.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
364readline.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
365readline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
366readline.o: history.h rlstdc.h
367readline.o: posixstat.h ansi_stdlib.h posixjmp.h
368rltty.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
369rltty.o: rltty.h
370rltty.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
371search.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
372search.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
373search.o: ansi_stdlib.h history.h rlstdc.h
374shell.o: ${BUILD_DIR}/config.h
375shell.o: ansi_stdlib.h
376signals.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
377signals.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
378signals.o: history.h rlstdc.h
379terminal.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
380terminal.o: tcap.h
381terminal.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
382terminal.o: history.h rlstdc.h
383text.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
384text.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
385text.o: history.h rlstdc.h ansi_stdlib.h
386tilde.o: ansi_stdlib.h
387tilde.o: ${BUILD_DIR}/config.h
388tilde.o: tilde.h
389undo.o: ansi_stdlib.h
390undo.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
391undo.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
392undo.o: history.h rlstdc.h
393util.o: posixjmp.h ansi_stdlib.h
394util.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
395util.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h
396vi_mode.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
397vi_mode.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h
398vi_mode.o: history.h ansi_stdlib.h rlstdc.h
399xmalloc.o: ${BUILD_DIR}/config.h
400xmalloc.o: ansi_stdlib.h
401
402bind.o: rlshell.h
403histfile.o: rlshell.h
404nls.o: rlshell.h
405readline.o: rlshell.h
406shell.o: rlshell.h
407terminal.o: rlshell.h
408histexpand.o: rlshell.h
409
410bind.o: rlprivate.h
411callback.o: rlprivate.h
412complete.o: rlprivate.h
413display.o: rlprivate.h
414input.o: rlprivate.h
415isearch.o: rlprivate.h
416kill.o: rlprivate.h
417macro.o: rlprivate.h
418mbutil.o: rlprivate.h
419misc.o: rlprivate.h
420nls.o: rlprivate.h   
421parens.o: rlprivate.h
422readline.o: rlprivate.h
423rltty.o: rlprivate.h 
424search.o: rlprivate.h
425signals.o: rlprivate.h
426terminal.o: rlprivate.h
427text.o: rlprivate.h
428undo.o: rlprivate.h
429util.o: rlprivate.h
430vi_mode.o: rlprivate.h
431
432bind.o: xmalloc.h
433complete.o: xmalloc.h
434display.o: xmalloc.h
435funmap.o: xmalloc.h
436histexpand.o: xmalloc.h
437histfile.o: xmalloc.h
438history.o: xmalloc.h
439input.o: xmalloc.h
440isearch.o: xmalloc.h
441keymaps.o: xmalloc.h
442kill.o: xmalloc.h
443macro.o: xmalloc.h
444mbutil.o: xmalloc.h
445misc.o: xmalloc.h
446readline.o: xmalloc.h
447savestring.o: xmalloc.h
448search.o: xmalloc.h
449shell.o: xmalloc.h
450terminal.o: xmalloc.h
451text.o: xmalloc.h
452tilde.o: xmalloc.h
453undo.o: xmalloc.h
454util.o: xmalloc.h
455vi_mode.o: xmalloc.h
456xmalloc.o: xmalloc.h
457
458complete.o: rlmbutil.h
459display.o: rlmbutil.h
460histexpand.o: rlmbutil.h
461input.o: rlmbutil.h    
462isearch.o: rlmbutil.h
463mbutil.o: rlmbutil.h
464misc.o: rlmbutil.h
465readline.o: rlmbutil.h
466search.o: rlmbutil.h 
467text.o: rlmbutil.h
468vi_mode.o: rlmbutil.h
469
470bind.o: $(srcdir)/bind.c
471callback.o: $(srcdir)/callback.c
472compat.o: $(srcdir)/compat.c
473complete.o: $(srcdir)/complete.c
474display.o: $(srcdir)/display.c
475funmap.o: $(srcdir)/funmap.c
476input.o: $(srcdir)/input.c
477isearch.o: $(srcdir)/isearch.c
478keymaps.o: $(srcdir)/keymaps.c $(srcdir)/emacs_keymap.c $(srcdir)/vi_keymap.c
479kill.o: $(srcdir)/kill.c
480macro.o: $(srcdir)/macro.c
481mbutil.o: $(srcdir)/mbutil.c
482misc.o: $(srcdir)/misc.c
483nls.o: $(srcdir)/nls.c
484parens.o: $(srcdir)/parens.c
485readline.o: $(srcdir)/readline.c
486rltty.o: $(srcdir)/rltty.c
487savestring.o: $(srcdir)/savestring.c
488search.o: $(srcdir)/search.c
489shell.o: $(srcdir)/shell.c
490signals.o: $(srcdir)/signals.c
491terminal.o: $(srcdir)/terminal.c
492text.o: $(srcdir)/text.c
493tilde.o: $(srcdir)/tilde.c
494undo.o: $(srcdir)/undo.c
495util.o: $(srcdir)/util.c
496vi_mode.o: $(srcdir)/vi_mode.c
497xmalloc.o: $(srcdir)/xmalloc.c
498
499histexpand.o: $(srcdir)/histexpand.c
500histfile.o: $(srcdir)/histfile.c
501history.o: $(srcdir)/history.c
502histsearch.o: $(srcdir)/histsearch.c
503
504bind.o: bind.c
505callback.o: callback.c
506compat.o: compat.c
507complete.o: complete.c
508display.o: display.c
509funmap.o: funmap.c
510input.o: input.c
511isearch.o: isearch.c
512keymaps.o: keymaps.c emacs_keymap.c vi_keymap.c
513kill.o: kill.c
514macro.o: macro.c
515mbutil.o: mbutil.c
516misc.o: misc.c
517nls.o: nls.c
518parens.o: parens.c
519readline.o: readline.c
520rltty.o: rltty.c
521savestring.o: savestring.c
522search.o: search.c
523shell.o: shell.c
524signals.o: signals.c
525terminal.o: terminal.c
526text.o: text.c
527tilde.o: tilde.c
528undo.o: undo.c
529util.o: util.c
530vi_mode.o: vi_mode.c
531xmalloc.o: xmalloc.c
532
533histexpand.o: histexpand.c
534histfile.o: histfile.c
535history.o: history.c
536histsearch.o: histsearch.c
537