Commit | Line | Data |
---|---|---|
d60d9f65 SS |
1 | ## -*- text -*- ## |
2 | # Master Makefile for the GNU readline library. | |
cb41b9e7 | 3 | # Copyright (C) 1994-2018 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 | ||
775e241e TT |
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 | ||
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 | 60 | datadir = @datadir@ |
cc88a640 | 61 | localedir = @localedir@ |
cb41b9e7 | 62 | pkgconfigdir = ${libdir}/pkgconfig |
d60d9f65 SS |
63 | |
64 | infodir = @infodir@ | |
65 | ||
775e241e TT |
66 | docdir = @docdir@ |
67 | ||
d60d9f65 SS |
68 | man3dir = $(mandir)/man3 |
69 | ||
9255ee31 EZ |
70 | # Support an alternate destination root directory for package building |
71 | DESTDIR = | |
72 | ||
d60d9f65 | 73 | # Programs to make tags files. |
cc88a640 | 74 | ETAGS = etags |
d60d9f65 SS |
75 | CTAGS = ctags -tw |
76 | ||
77 | CFLAGS = @CFLAGS@ | |
78 | LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' | |
79 | CPPFLAGS = @CPPFLAGS@ | |
d60d9f65 | 80 | |
5bdf8622 | 81 | DEFS = @DEFS@ @CROSS_COMPILE@ |
d60d9f65 SS |
82 | LOCAL_DEFS = @LOCAL_DEFS@ |
83 | ||
1b17e766 EZ |
84 | TERMCAP_LIB = @TERMCAP_LIB@ |
85 | ||
d60d9f65 | 86 | # For libraries which include headers from other libraries. |
9255ee31 EZ |
87 | INCLUDES = -I. -I$(srcdir) |
88 | ||
cb41b9e7 | 89 | XCCFLAGS = $(ASAN_CFLAGS) $(DEFS) $(LOCAL_DEFS) $(INCLUDES) $(CPPFLAGS) |
9255ee31 | 90 | CCFLAGS = $(XCCFLAGS) $(LOCAL_CFLAGS) $(CFLAGS) |
d60d9f65 | 91 | |
9255ee31 EZ |
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@ | |
d60d9f65 | 97 | |
cb41b9e7 TT |
98 | ASAN_XCFLAGS = -fsanitize=address -fno-omit-frame-pointer |
99 | ASAN_XLDFLAGS = -fsanitize=address | |
100 | ||
101 | install_examples = @EXAMPLES_INSTALL_TARGET@ | |
102 | ||
d60d9f65 | 103 | .c.o: |
c862e87b | 104 | ${RM} $@ |
d60d9f65 SS |
105 | $(CC) -c $(CCFLAGS) $< |
106 | ||
d60d9f65 SS |
107 | # The name of the main library target. |
108 | LIBRARY_NAME = libreadline.a | |
109 | STATIC_LIBS = libreadline.a libhistory.a | |
110 | ||
d60d9f65 SS |
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 \ | |
cc88a640 | 118 | $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c $(srcdir)/xfree.c \ |
d60d9f65 SS |
119 | $(srcdir)/history.c $(srcdir)/histsearch.c $(srcdir)/histexpand.c \ |
120 | $(srcdir)/histfile.c $(srcdir)/nls.c $(srcdir)/search.c \ | |
9255ee31 EZ |
121 | $(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \ |
122 | $(srcdir)/text.c $(srcdir)/misc.c $(srcdir)/compat.c \ | |
5836a818 | 123 | $(srcdir)/mbutil.c |
d60d9f65 SS |
124 | |
125 | # The header files for this library. | |
cc88a640 JK |
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 \ | |
775e241e TT |
132 | $(srcdir)/rltypedefs.h $(srcdir)/rlmbutil.h \ |
133 | $(srcdir)/colors.h $(srcdir)/parse-colors.h | |
d60d9f65 | 134 | |
9255ee31 | 135 | HISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o |
d60d9f65 | 136 | TILDEOBJ = tilde.o |
775e241e | 137 | COLORSOBJ = colors.o parse-colors.o |
d60d9f65 SS |
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 \ | |
775e241e TT |
141 | text.o nls.o misc.o $(HISTOBJ) $(TILDEOBJ) $(COLORSOBJ) \ |
142 | xmalloc.o xfree.o compat.o | |
d60d9f65 | 143 | |
d60d9f65 SS |
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 | ||
c862e87b | 150 | CREATED_MAKEFILES = Makefile doc/Makefile examples/Makefile shlib/Makefile |
d60d9f65 | 151 | CREATED_CONFIGURE = config.status config.h config.cache config.log \ |
775e241e | 152 | stamp-config stamp-h readline.pc |
d60d9f65 SS |
153 | CREATED_TAGS = TAGS tags |
154 | ||
c862e87b | 155 | INSTALLED_HEADERS = readline.h chardefs.h keymaps.h history.h tilde.h \ |
9255ee31 | 156 | rlstdc.h rlconf.h rltypedefs.h |
d60d9f65 | 157 | |
775e241e TT |
158 | OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/INSTALL $(srcdir)/README |
159 | OTHER_INSTALLED_DOCS = CHANGES INSTALL README | |
160 | ||
d60d9f65 | 161 | ########################################################################## |
9255ee31 EZ |
162 | TARGETS = @STATIC_TARGET@ @SHARED_TARGET@ |
163 | INSTALL_TARGETS = @STATIC_INSTALL_TARGET@ @SHARED_INSTALL_TARGET@ | |
d60d9f65 | 164 | |
9255ee31 | 165 | all: $(TARGETS) |
d60d9f65 | 166 | |
9255ee31 | 167 | everything: all examples |
1b17e766 | 168 | |
cb41b9e7 TT |
169 | asan: |
170 | ${MAKE} ${MFLAGS} ASAN_CFLAGS='${ASAN_XCFLAGS}' ASAN_LDFLAGS='${ASAN_XLDFLAGS}' everything | |
171 | ||
d60d9f65 | 172 | static: $(STATIC_LIBS) |
d60d9f65 SS |
173 | |
174 | libreadline.a: $(OBJECTS) | |
175 | $(RM) $@ | |
c862e87b | 176 | $(AR) $(ARFLAGS) $@ $(OBJECTS) |
d60d9f65 SS |
177 | -test -n "$(RANLIB)" && $(RANLIB) $@ |
178 | ||
cc88a640 | 179 | libhistory.a: $(HISTOBJ) xmalloc.o xfree.o |
d60d9f65 | 180 | $(RM) $@ |
cc88a640 | 181 | $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o xfree.o |
d60d9f65 SS |
182 | -test -n "$(RANLIB)" && $(RANLIB) $@ |
183 | ||
9255ee31 EZ |
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 | ||
1b17e766 | 190 | readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a |
cc88a640 | 191 | $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -o $@ $(top_srcdir)/examples/rl.c ./libreadline.a ${TERMCAP_LIB} |
d60d9f65 | 192 | |
9255ee31 EZ |
193 | lint: force |
194 | $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static | |
195 | ||
d60d9f65 SS |
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 | ||
775e241e | 213 | #$(srcdir)/configure: $(srcdir)/configure.ac ## Comment-me-out in distribution |
1b17e766 | 214 | # cd $(srcdir) && autoconf ## Comment-me-out in distribution |
d60d9f65 | 215 | |
cc88a640 | 216 | |
c862e87b JM |
217 | shared: force |
218 | -test -d shlib || mkdir shlib | |
775e241e | 219 | ( cd shlib ; ${MAKE} ${MFLAGS} all ) |
c862e87b | 220 | |
d60d9f65 SS |
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 | ||
5836a818 PP |
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) | |
9255ee31 | 242 | |
cc88a640 JK |
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 | ||
cb41b9e7 TT |
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 | |
9255ee31 EZ |
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 | |
d60d9f65 | 270 | |
5bdf8622 DJ |
271 | installdirs: $(srcdir)/support/mkinstalldirs |
272 | -$(SHELL) $(srcdir)/support/mkinstalldirs $(DESTDIR)$(includedir) \ | |
9255ee31 | 273 | $(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) \ |
cb41b9e7 TT |
274 | $(DESTDIR)$(infodir) $(DESTDIR)$(man3dir) $(DESTDIR)$(docdir) \ |
275 | $(DESTDIR)$(pkgconfigdir) | |
d60d9f65 | 276 | |
cb41b9e7 | 277 | uninstall: uninstall-headers uninstall-doc uninstall-examples uninstall-pc |
9255ee31 | 278 | -test -n "$(DESTDIR)$(libdir)" && cd $(DESTDIR)$(libdir) && \ |
d60d9f65 | 279 | ${RM} libreadline.a libreadline.old libhistory.a libhistory.old $(SHARED_LIBS) |
9255ee31 | 280 | -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) |
d60d9f65 | 281 | |
cb41b9e7 | 282 | install-shared: installdirs install-headers shared install-doc install-pc |
775e241e | 283 | ( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) |
5bdf8622 | 284 | |
cb41b9e7 | 285 | uninstall-shared: maybe-uninstall-headers maybe-uninstall-pc |
9255ee31 | 286 | -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) |
d60d9f65 | 287 | |
775e241e | 288 | install-examples: installdirs install-headers |
cc88a640 JK |
289 | -( cd examples ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) |
290 | ||
291 | uninstall-examples: maybe-uninstall-headers | |
292 | -( cd examples; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) | |
293 | ||
5bdf8622 | 294 | install-doc: installdirs |
775e241e | 295 | $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir) |
5bdf8622 DJ |
296 | -( if test -d doc ; then \ |
297 | cd doc && \ | |
298 | ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} install; \ | |
299 | fi ) | |
300 | ||
301 | uninstall-doc: | |
775e241e | 302 | -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} ) |
5bdf8622 DJ |
303 | -( if test -d doc ; then \ |
304 | cd doc && \ | |
305 | ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} uninstall; \ | |
306 | fi ) | |
307 | ||
d60d9f65 | 308 | TAGS: force |
cc88a640 | 309 | -( cd $(srcdir) && $(ETAGS) $(CSOURCES) $(HSOURCES) ) |
d60d9f65 SS |
310 | |
311 | tags: force | |
cc88a640 | 312 | -( cd $(srcdir) && $(CTAGS) $(CSOURCES) $(HSOURCES) ) |
d60d9f65 SS |
313 | |
314 | clean: force | |
315 | $(RM) $(OBJECTS) $(STATIC_LIBS) | |
1b17e766 | 316 | $(RM) readline readline.exe |
775e241e | 317 | ( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
318 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
319 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
320 | ||
321 | mostlyclean: clean | |
775e241e | 322 | ( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
323 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
324 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
325 | ||
326 | distclean maintainer-clean: clean | |
775e241e | 327 | ( cd shlib && $(MAKE) $(MFLAGS) $@ ) |
d60d9f65 SS |
328 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
329 | -( cd examples && $(MAKE) $(MFLAGS) $@ ) | |
330 | $(RM) Makefile | |
331 | $(RM) $(CREATED_CONFIGURE) | |
332 | $(RM) $(CREATED_TAGS) | |
333 | ||
775e241e TT |
334 | readline.pc: config.status $(srcdir)/readline.pc.in |
335 | $(SHELL) config.status | |
336 | ||
cc88a640 | 337 | info dvi html pdf ps: |
d60d9f65 SS |
338 | -( cd doc && $(MAKE) $(MFLAGS) $@ ) |
339 | ||
340 | install-info: | |
cc88a640 | 341 | install-dvi: |
89a34d1b JM |
342 | install-html: |
343 | install-pdf: | |
cc88a640 | 344 | install-ps: |
d60d9f65 SS |
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: | |
1b17e766 | 351 | @echo bash $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r $(RL_LIBRARY_NAME) $(RL_LIBRARY_VERSION) |
d60d9f65 SS |
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 | |
9255ee31 | 362 | bind.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 SS |
363 | bind.o: history.h |
364 | callback.o: rlconf.h | |
365 | callback.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 366 | callback.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
775e241e TT |
367 | compat.o: ${BUILD_DIR}/config.h |
368 | compat.o: rlstdc.h rltypedefs.h | |
d60d9f65 SS |
369 | complete.o: ansi_stdlib.h posixdir.h posixstat.h |
370 | complete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 371 | complete.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 SS |
372 | display.o: ansi_stdlib.h posixstat.h |
373 | display.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
374 | display.o: tcap.h | |
9255ee31 | 375 | display.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 376 | display.o: history.h rlstdc.h |
9255ee31 | 377 | funmap.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 378 | funmap.o: rlconf.h ansi_stdlib.h rlstdc.h |
d60d9f65 SS |
379 | funmap.o: ${BUILD_DIR}/config.h |
380 | histexpand.o: ansi_stdlib.h | |
9255ee31 | 381 | histexpand.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
382 | histexpand.o: ${BUILD_DIR}/config.h |
383 | histfile.o: ansi_stdlib.h | |
9255ee31 | 384 | histfile.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
385 | histfile.o: ${BUILD_DIR}/config.h |
386 | history.o: ansi_stdlib.h | |
9255ee31 | 387 | history.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
388 | history.o: ${BUILD_DIR}/config.h |
389 | histsearch.o: ansi_stdlib.h | |
9255ee31 | 390 | histsearch.o: history.h histlib.h rlstdc.h rltypedefs.h |
d60d9f65 SS |
391 | histsearch.o: ${BUILD_DIR}/config.h |
392 | input.o: ansi_stdlib.h | |
393 | input.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 394 | input.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 | 395 | isearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 396 | isearch.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 397 | isearch.o: ansi_stdlib.h history.h rlstdc.h |
d60d9f65 | 398 | keymaps.o: emacs_keymap.c vi_keymap.c |
9255ee31 EZ |
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 | |
c862e87b | 401 | keymaps.o: ${BUILD_DIR}/config.h rlstdc.h |
d60d9f65 SS |
402 | kill.o: ansi_stdlib.h |
403 | kill.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 404 | kill.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 405 | kill.o: history.h rlstdc.h |
d60d9f65 SS |
406 | macro.o: ansi_stdlib.h |
407 | macro.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 408 | macro.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 409 | macro.o: history.h rlstdc.h |
9255ee31 EZ |
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 | |
d60d9f65 SS |
415 | nls.o: ansi_stdlib.h |
416 | nls.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 417 | nls.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
1b17e766 | 418 | nls.o: history.h rlstdc.h |
d60d9f65 SS |
419 | parens.o: rlconf.h |
420 | parens.o: ${BUILD_DIR}/config.h | |
9255ee31 EZ |
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 | |
d60d9f65 | 423 | readline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
c862e87b | 424 | readline.o: history.h rlstdc.h |
d60d9f65 SS |
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 | |
9255ee31 | 428 | rltty.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
775e241e | 429 | savestring.o: ${BUILD_DIR}/config.h |
d60d9f65 | 430 | search.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 431 | search.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 432 | search.o: ansi_stdlib.h history.h rlstdc.h |
d60d9f65 SS |
433 | shell.o: ${BUILD_DIR}/config.h |
434 | shell.o: ansi_stdlib.h | |
435 | signals.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 436 | signals.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 437 | signals.o: history.h rlstdc.h |
d60d9f65 SS |
438 | terminal.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
439 | terminal.o: tcap.h | |
9255ee31 | 440 | terminal.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 441 | terminal.o: history.h rlstdc.h |
9255ee31 EZ |
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 | |
d60d9f65 SS |
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 | |
9255ee31 | 450 | undo.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 451 | undo.o: history.h rlstdc.h |
d60d9f65 SS |
452 | util.o: posixjmp.h ansi_stdlib.h |
453 | util.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h | |
9255ee31 | 454 | util.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h |
d60d9f65 | 455 | vi_mode.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h |
9255ee31 | 456 | vi_mode.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h |
c862e87b | 457 | vi_mode.o: history.h ansi_stdlib.h rlstdc.h |
cc88a640 | 458 | xfree.o: ${BUILD_DIR}/config.h |
c15a79c7 | 459 | xfree.o: ansi_stdlib.h |
d60d9f65 SS |
460 | xmalloc.o: ${BUILD_DIR}/config.h |
461 | xmalloc.o: ansi_stdlib.h | |
462 | ||
775e241e TT |
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 | ||
1b17e766 EZ |
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 | |
9255ee31 EZ |
487 | mbutil.o: rlprivate.h |
488 | misc.o: rlprivate.h | |
1b17e766 EZ |
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 | |
9255ee31 | 496 | text.o: rlprivate.h |
1b17e766 EZ |
497 | undo.o: rlprivate.h |
498 | util.o: rlprivate.h | |
499 | vi_mode.o: rlprivate.h | |
775e241e TT |
500 | colors.o: rlprivate.h |
501 | parse-colors.o: rlprivate.h | |
1b17e766 EZ |
502 | |
503 | bind.o: xmalloc.h | |
0b7b5a97 | 504 | callback.o: xmalloc.h |
1b17e766 EZ |
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 | |
9255ee31 EZ |
516 | mbutil.o: xmalloc.h |
517 | misc.o: xmalloc.h | |
1b17e766 EZ |
518 | readline.o: xmalloc.h |
519 | savestring.o: xmalloc.h | |
520 | search.o: xmalloc.h | |
521 | shell.o: xmalloc.h | |
9255ee31 EZ |
522 | terminal.o: xmalloc.h |
523 | text.o: xmalloc.h | |
1b17e766 | 524 | tilde.o: xmalloc.h |
9255ee31 | 525 | undo.o: xmalloc.h |
1b17e766 EZ |
526 | util.o: xmalloc.h |
527 | vi_mode.o: xmalloc.h | |
cc88a640 | 528 | xfree.o: xmalloc.h |
9255ee31 | 529 | xmalloc.o: xmalloc.h |
775e241e TT |
530 | colors.o: xmalloc.h |
531 | parse-colors.o: xmalloc.h | |
9255ee31 EZ |
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 | |
1b17e766 | 544 | |
d60d9f65 | 545 | bind.o: $(srcdir)/bind.c |
9255ee31 EZ |
546 | callback.o: $(srcdir)/callback.c |
547 | compat.o: $(srcdir)/compat.c | |
548 | complete.o: $(srcdir)/complete.c | |
d60d9f65 | 549 | display.o: $(srcdir)/display.c |
9255ee31 EZ |
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 | |
d60d9f65 | 554 | kill.o: $(srcdir)/kill.c |
d60d9f65 | 555 | macro.o: $(srcdir)/macro.c |
9255ee31 EZ |
556 | mbutil.o: $(srcdir)/mbutil.c |
557 | misc.o: $(srcdir)/misc.c | |
d60d9f65 | 558 | nls.o: $(srcdir)/nls.c |
9255ee31 EZ |
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 | |
cc88a640 | 572 | xfree.o: $(srcdir)/xfree.c |
d60d9f65 | 573 | xmalloc.o: $(srcdir)/xmalloc.c |
9255ee31 | 574 | |
775e241e TT |
575 | colors.o: $(srcdir)/parse-colors.c |
576 | parse-colors.o: $(srcdir)/parse-colors.c | |
577 | ||
d60d9f65 SS |
578 | histexpand.o: $(srcdir)/histexpand.c |
579 | histfile.o: $(srcdir)/histfile.c | |
9255ee31 | 580 | history.o: $(srcdir)/history.c |
d60d9f65 | 581 | histsearch.o: $(srcdir)/histsearch.c |
d60d9f65 | 582 | |
d60d9f65 | 583 | bind.o: bind.c |
9255ee31 EZ |
584 | callback.o: callback.c |
585 | compat.o: compat.c | |
586 | complete.o: complete.c | |
d60d9f65 | 587 | display.o: display.c |
9255ee31 EZ |
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 | |
d60d9f65 | 592 | kill.o: kill.c |
d60d9f65 | 593 | macro.o: macro.c |
9255ee31 EZ |
594 | mbutil.o: mbutil.c |
595 | misc.o: misc.c | |
d60d9f65 | 596 | nls.o: nls.c |
9255ee31 EZ |
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 | |
cc88a640 | 610 | xfree.o: xfree.c |
d60d9f65 | 611 | xmalloc.o: xmalloc.c |
9255ee31 | 612 | |
d60d9f65 SS |
613 | histexpand.o: histexpand.c |
614 | histfile.o: histfile.c | |
9255ee31 | 615 | history.o: history.c |
d60d9f65 | 616 | histsearch.o: histsearch.c |