1 diff -urN gdb-6.0.org/gdb/gdbserver/Makefile.in gdb-6.0/gdb/gdbserver/Makefile.in
2 --- gdb-6.0.org/gdb/gdbserver/Makefile.in 2003-10-09 19:42:41.000000000 +0200
3 +++ gdb-6.0/gdb/gdbserver/Makefile.in 2003-10-09 19:48:08.000000000 +0200
6 # Where is the source dir for the READLINE library? Traditionally in .. or .
7 # (For the binary library built from it, we use ${READLINE_DIR}${subdir}.)
8 -READLINE_DIR = ${srcdir}/../readline
9 +READLINE_DIR = /usr/lib
10 READLINE_DEP = $$(READLINE_DIR)
12 # All the includes used for CFLAGS and for lint.
13 diff -urN gdb-6.0.org/gdb/Makefile.in gdb-6.0/gdb/Makefile.in
14 --- gdb-6.0.org/gdb/Makefile.in 2003-10-09 19:42:39.000000000 +0200
15 +++ gdb-6.0/gdb/Makefile.in 2003-10-09 19:48:08.000000000 +0200
17 BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
19 # Where is the READLINE library? Typically in ../readline.
20 -READLINE_DIR = ../readline
21 -READLINE = $(READLINE_DIR)/libreadline.a
22 -READLINE_SRC = $(srcdir)/$(READLINE_DIR)
23 -READLINE_CFLAGS = -I$(READLINE_SRC)/..
24 +READLINE_DIR = /usr/include/readline
25 +READLINE = -lreadline
26 +READLINE_SRC = /usr/include/readline
27 +READLINE_CFLAGS = -I/usr/include/readline
29 WARN_CFLAGS = @WARN_CFLAGS@
30 WERROR_CFLAGS = @WERROR_CFLAGS@
32 $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
34 $(LIBIBERTY) $(WIN32LIBS)
35 -CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
36 +CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) \
37 $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
39 ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
40 --- gdb-6.1/Makefile.in.orig 2004-04-03 18:52:09.000000000 +0200
41 +++ gdb-6.1/Makefile.in 2004-04-17 22:43:50.603804248 +0200
43 maybe-configure-perl \
44 maybe-configure-prms \
46 - maybe-configure-readline \
47 maybe-configure-release \
48 maybe-configure-recode \
54 - maybe-all-readline \
62 - maybe-info-readline \
66 @@ -1724,28 +1721,6 @@
70 -.PHONY: maybe-info-readline info-readline
75 - @[ -f ./readline/Makefile ] || exit 0; \
76 - r=`${PWD_COMMAND}`; export r; \
77 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
79 - for flag in $(EXTRA_HOST_FLAGS); do \
80 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
82 - echo "Doing info in readline" ; \
84 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
85 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
86 - "RANLIB=$${RANLIB}" \
87 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
92 .PHONY: maybe-info-release info-release
99 - maybe-dvi-readline \
103 @@ -3623,28 +3597,6 @@
107 -.PHONY: maybe-dvi-readline dvi-readline
112 - @[ -f ./readline/Makefile ] || exit 0; \
113 - r=`${PWD_COMMAND}`; export r; \
114 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
116 - for flag in $(EXTRA_HOST_FLAGS); do \
117 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
119 - echo "Doing dvi in readline" ; \
121 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
122 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
123 - "RANLIB=$${RANLIB}" \
124 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
129 .PHONY: maybe-dvi-release dvi-release
132 @@ -4553,7 +4505,6 @@
136 - maybe-TAGS-readline \
140 @@ -5522,28 +5473,6 @@
144 -.PHONY: maybe-TAGS-readline TAGS-readline
145 -maybe-TAGS-readline:
149 - @[ -f ./readline/Makefile ] || exit 0; \
150 - r=`${PWD_COMMAND}`; export r; \
151 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
153 - for flag in $(EXTRA_HOST_FLAGS); do \
154 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
156 - echo "Doing TAGS in readline" ; \
158 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
159 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
160 - "RANLIB=$${RANLIB}" \
161 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
166 .PHONY: maybe-TAGS-release TAGS-release
169 @@ -6452,7 +6381,6 @@
170 maybe-install-info-perl \
171 maybe-install-info-prms \
172 maybe-install-info-rcs \
173 - maybe-install-info-readline \
174 maybe-install-info-release \
175 maybe-install-info-recode \
176 maybe-install-info-sed \
177 @@ -7463,29 +7391,6 @@
181 -.PHONY: maybe-install-info-readline install-info-readline
182 -maybe-install-info-readline:
184 -install-info-readline: \
185 - configure-readline \
187 - @[ -f ./readline/Makefile ] || exit 0; \
188 - r=`${PWD_COMMAND}`; export r; \
189 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
191 - for flag in $(EXTRA_HOST_FLAGS); do \
192 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
194 - echo "Doing install-info in readline" ; \
196 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
197 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
198 - "RANLIB=$${RANLIB}" \
199 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
204 .PHONY: maybe-install-info-release install-info-release
205 maybe-install-info-release:
207 @@ -8433,7 +8338,6 @@
208 maybe-installcheck-perl \
209 maybe-installcheck-prms \
210 maybe-installcheck-rcs \
211 - maybe-installcheck-readline \
212 maybe-installcheck-release \
213 maybe-installcheck-recode \
214 maybe-installcheck-sed \
215 @@ -9402,28 +9306,6 @@
219 -.PHONY: maybe-installcheck-readline installcheck-readline
220 -maybe-installcheck-readline:
222 -installcheck-readline: \
224 - @[ -f ./readline/Makefile ] || exit 0; \
225 - r=`${PWD_COMMAND}`; export r; \
226 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
228 - for flag in $(EXTRA_HOST_FLAGS); do \
229 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
231 - echo "Doing installcheck in readline" ; \
233 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
234 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
235 - "RANLIB=$${RANLIB}" \
236 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
241 .PHONY: maybe-installcheck-release installcheck-release
242 maybe-installcheck-release:
244 @@ -10332,7 +10214,6 @@
245 maybe-mostlyclean-perl \
246 maybe-mostlyclean-prms \
247 maybe-mostlyclean-rcs \
248 - maybe-mostlyclean-readline \
249 maybe-mostlyclean-release \
250 maybe-mostlyclean-recode \
251 maybe-mostlyclean-sed \
252 @@ -11245,27 +11126,6 @@
256 -.PHONY: maybe-mostlyclean-readline mostlyclean-readline
257 -maybe-mostlyclean-readline:
259 -mostlyclean-readline:
260 - @[ -f ./readline/Makefile ] || exit 0; \
261 - r=`${PWD_COMMAND}`; export r; \
262 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
264 - for flag in $(EXTRA_HOST_FLAGS); do \
265 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
267 - echo "Doing mostlyclean in readline" ; \
269 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
270 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
271 - "RANLIB=$${RANLIB}" \
272 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
277 .PHONY: maybe-mostlyclean-release mostlyclean-release
278 maybe-mostlyclean-release:
280 @@ -12107,7 +11967,6 @@
284 - maybe-clean-readline \
285 maybe-clean-release \
288 @@ -13034,27 +12893,6 @@
292 -.PHONY: maybe-clean-readline clean-readline
293 -maybe-clean-readline:
296 - @[ -f ./readline/Makefile ] || exit 0; \
297 - r=`${PWD_COMMAND}`; export r; \
298 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
300 - for flag in $(EXTRA_HOST_FLAGS); do \
301 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
303 - echo "Doing clean in readline" ; \
305 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
306 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
307 - "RANLIB=$${RANLIB}" \
308 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
313 .PHONY: maybe-clean-release clean-release
316 @@ -13896,7 +13734,6 @@
317 maybe-distclean-perl \
318 maybe-distclean-prms \
319 maybe-distclean-rcs \
320 - maybe-distclean-readline \
321 maybe-distclean-release \
322 maybe-distclean-recode \
323 maybe-distclean-sed \
324 @@ -14823,27 +14660,6 @@
328 -.PHONY: maybe-distclean-readline distclean-readline
329 -maybe-distclean-readline:
332 - @[ -f ./readline/Makefile ] || exit 0; \
333 - r=`${PWD_COMMAND}`; export r; \
334 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
336 - for flag in $(EXTRA_HOST_FLAGS); do \
337 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
339 - echo "Doing distclean in readline" ; \
341 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
342 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
343 - "RANLIB=$${RANLIB}" \
344 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
349 .PHONY: maybe-distclean-release distclean-release
350 maybe-distclean-release:
352 @@ -15685,7 +15501,6 @@
353 maybe-maintainer-clean-perl \
354 maybe-maintainer-clean-prms \
355 maybe-maintainer-clean-rcs \
356 - maybe-maintainer-clean-readline \
357 maybe-maintainer-clean-release \
358 maybe-maintainer-clean-recode \
359 maybe-maintainer-clean-sed \
360 @@ -16612,27 +16427,6 @@
364 -.PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
365 -maybe-maintainer-clean-readline:
367 -maintainer-clean-readline:
368 - @[ -f ./readline/Makefile ] || exit 0; \
369 - r=`${PWD_COMMAND}`; export r; \
370 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
372 - for flag in $(EXTRA_HOST_FLAGS); do \
373 - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
375 - echo "Doing maintainer-clean in readline" ; \
377 - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
378 - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
379 - "RANLIB=$${RANLIB}" \
380 - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
381 - maintainer-clean) \
385 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
386 maybe-maintainer-clean-release:
388 @@ -17531,7 +17325,6 @@
392 - maybe-check-readline \
393 maybe-check-release \
396 @@ -17641,7 +17434,6 @@
400 - maybe-install-readline \
401 maybe-install-release \
402 maybe-install-recode \
404 @@ -17708,7 +17500,6 @@
408 - maybe-install-readline \
409 maybe-install-release \
410 maybe-install-recode \
412 @@ -20631,73 +20422,6 @@
413 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
416 -.PHONY: configure-readline maybe-configure-readline
417 -maybe-configure-readline:
419 - @test ! -f readline/Makefile || exit 0; \
420 - [ -d readline ] || mkdir readline; \
421 - r=`${PWD_COMMAND}`; export r; \
422 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
423 - CC="$(CC)"; export CC; \
424 - CFLAGS="$(CFLAGS)"; export CFLAGS; \
425 - CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
426 - CXX="$(CXX)"; export CXX; \
427 - CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
428 - AR="$(AR)"; export AR; \
429 - AS="$(AS)"; export AS; \
430 - CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
431 - DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
432 - LD="$(LD)"; export LD; \
433 - NM="$(NM)"; export NM; \
434 - RANLIB="$(RANLIB)"; export RANLIB; \
435 - WINDRES="$(WINDRES)"; export WINDRES; \
436 - OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
437 - OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
438 - echo Configuring in readline; \
439 - cd readline || exit 1; \
440 - case $(srcdir) in \
442 - srcdiroption="--srcdir=."; \
444 - /* | [A-Za-z]:[\\/]*) \
445 - srcdiroption="--srcdir=$(srcdir)/readline"; \
446 - libsrcdir="$$s/readline";; \
448 - srcdiroption="--srcdir=../$(srcdir)/readline"; \
449 - libsrcdir="$$s/readline";; \
451 - $(SHELL) $${libsrcdir}/configure \
452 - $(HOST_CONFIGARGS) $${srcdiroption} \
455 -.PHONY: all-readline maybe-all-readline
457 -all-readline: configure-readline
458 - @r=`${PWD_COMMAND}`; export r; \
459 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
461 - (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
463 -.PHONY: check-readline maybe-check-readline
464 -maybe-check-readline:
467 - @r=`${PWD_COMMAND}`; export r; \
468 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
470 - (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
473 -.PHONY: install-readline maybe-install-readline
474 -maybe-install-readline:
476 -install-readline: installdirs
477 - @r=`${PWD_COMMAND}`; export r; \
478 - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
480 - (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
483 .PHONY: configure-release maybe-configure-release
484 maybe-configure-release:
486 @@ -23771,7 +23495,7 @@
487 # GDB needs to know that the simulator is being built.
488 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
490 -all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
491 +all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
492 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
493 configure-libgui: maybe-configure-tcl maybe-configure-tk
494 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
495 @@ -23802,7 +23526,7 @@
496 install-itcl: maybe-install-tcl
497 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
498 install-sid: maybe-install-tcl maybe-install-tk
499 -all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
500 +all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-configure-gdb
501 configure-tk: maybe-configure-tcl
502 all-tk: maybe-all-tcl
503 configure-tix: maybe-configure-tcl maybe-configure-tk