Article View: gnu.gdb.bug
Article #10234gdb 3.4 Makefile glitch
From: scott
Date: Tue, 07 Nov 1989 00:16
Date: Tue, 07 Nov 1989 00:16
30 lines
1608 bytes
1608 bytes
Some misplaced comments in Makefile.dist result in spurious blank lines
after running cpp, breaking "make Makefile" in Makefile. Here's a fix.
*** /tmp/,RCSt1022837 Mon Nov 6 16:12:35 1989
--- Makefile.dist Mon Nov 6 16:07:51 1989
***************
*** 206,216 ****
Makefile : Makefile.dist
cp Makefile.dist tmp.c
/* This did not work-- -Usparc became "-Usparc" became "-Usparc.
Or something like that. */
/* $(CC) -E >Makefile tmp.c $(MD) "-DM_MAKEDEFINE=\"$(MD)\"" */
- $(CC) -E >Makefile tmp.c $(MD) "-DM_MAKEDEFINE=$(MD)"
- -rm tmp.c
xgdb : $(OBS) $(TSOBS) xgdb.o ${ADD_DEPS} ${RL_LIB}
rm -f init.c
--- 206,216 ----
Makefile : Makefile.dist
cp Makefile.dist tmp.c
+ $(CC) -E >Makefile tmp.c $(MD) "-DM_MAKEDEFINE=$(MD)"
+ -rm tmp.c
/* This did not work-- -Usparc became "-Usparc" became "-Usparc.
Or something like that. */
/* $(CC) -E >Makefile tmp.c $(MD) "-DM_MAKEDEFINE=\"$(MD)\"" */
xgdb : $(OBS) $(TSOBS) xgdb.o ${ADD_DEPS} ${RL_LIB}
rm -f init.c
Technical Details
Message-ID:
<8911070016.AA03795@tekcrl.LABS.TEK.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!tekcrl.labs.tek.com!scottShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,542c032c4a9d64e1,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1989-11-06 20:47:07 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!tekcrl.labs.tek.com!scott From: scott@tekcrl.labs.tek.com Newsgroups: gnu.gdb.bug Subject: gdb 3.4 Makefile glitch Message-ID: <8911070016.AA03795@tekcrl.LABS.TEK.COM> Date: 7 Nov 89 00:16:13 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30 Posted: Tue Nov 7 01:16:13 1989