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