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