Subject: bin/3325: douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 03/12/1997 20:09:47
>Number: 3325
>Category: bin
>Synopsis: douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 12 12:35:02 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 12.03.1997
>Environment:
System: NetBSD cyberlap 1.2C NetBSD 1.2C (CYBERLAP) #8: Wed Mar 12 12:00:56 CET 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386
>Description:
/src/usr.bin/tn3270/{tn3270,mset}/Makefile contains a "mkdep ${MKDEP}" entry,
which breaks `make depend` in this directory.
>How-To-Repeat:
Try the following:
cd /src/usr.bin/tn3270/tn3270
make cleandir
make depend
cd /src/usr.bin/tn3270/mset
make cleandir
make depend
and watch:
mkdep mkdep -I/usr/src/usr.bin/tn3270/tn3270 -I. -DTERMCAP -DSRCRT -DKLUDGELINEM
ODE -DUSE_TERMIO -DTN3270 -Dunix /usr/src/usr.bin/tn3270/tn3270/../api/apilib.c
/usr/src/usr.bin/tn3270/tn3270/../api/api_bsd.c /usr/src/usr.bin/tn3270/tn3270/.
./api/api_exch.c /usr/src/usr.bin/tn3270/tn3270/../api/asc_ebc.c /usr/src/usr.bi
n/tn3270/tn3270/../api/dctype.c /usr/src/usr.bin/tn3270/tn3270/../api/ebc_disp.c
/usr/src/usr.bin/tn3270/tn3270/../ascii/map3270.c /usr/src/usr.bin/tn3270/tn327
0/../ascii/termin.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/api.c /usr/src/usr.bi
n/tn3270/tn3270/../ctlr/function.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/inboun
d.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/oia.c /usr/src/usr.bin/tn3270/tn3270/
../ctlr/options.c /usr/src/usr.bin/tn3270/tn3270/../ctlr/outbound.c /usr/src/usr
.bin/tn3270/tn3270/../general/genbsubs.c /usr/src/usr.bin/tn3270/tn3270/../gener
al/globals.c /usr/src/usr.bin/tn3270/tn3270/../sys_curses/system.c /usr/src/usr.
bin/tn3270/tn3270/../sys_curses/termout.c /usr/src/usr.bin/tn3270/tn3270/../../t
elnet/commands.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/main.c /usr/src/usr
.bin/tn3270/tn3270/../../telnet/network.c /usr/src/usr.bin/tn3270/tn3270/../../t
elnet/ring.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/sys_bsd.c /usr/src/usr.
bin/tn3270/tn3270/../../telnet/telnet.c /usr/src/usr.bin/tn3270/tn3270/../../tel
net/terminal.c /usr/src/usr.bin/tn3270/tn3270/../../telnet/tn3270.c /usr/src/usr
.bin/tn3270/tn3270/../../telnet/utilities.c /usr/src/usr.bin/tn3270/tn3270/../..
/../lib/libtelnet/genget.c
gcc: mkdep: No such file or directory
mkdep mkdep -I/usr/src/usr.bin/tn3270/mset -I. -DTERMCAP -DSRCRT -DKLUDGELINEMOD
E -DUSE_TERMIO -DTN3270 -Dunix /usr/src/usr.bin/tn3270/mset/../ascii/map3270.c /
usr/src/usr.bin/tn3270/mset/../ascii/mset.c
gcc: mkdep: No such file or directory
>Fix:
Apply the following patch:
*** /src/usr.bin/tn3270/tn3270/Makefile-orig Fri Feb 14 10:52:13 1997
--- /src/usr.bin/tn3270/tn3270/Makefile Wed Mar 12 19:52:53 1997
***************
*** 95,101 ****
depend: .depend
.depend: ${DEPSRCS}
! mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.include <bsd.prog.mk>
--- 95,101 ----
depend: .depend
.depend: ${DEPSRCS}
! ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.include <bsd.prog.mk>
*** /src/usr.bin/tn3270/mset/Makefile-orig Tue Jan 14 11:10:02 1997
--- /src/usr.bin/tn3270/mset/Makefile Wed Mar 12 20:02:07 1997
***************
*** 37,43 ****
depend: .depend
.depend: ${DEPSRCS}
! mkdep ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.include <bsd.prog.mk>
--- 37,43 ----
depend: .depend
.depend: ${DEPSRCS}
! ${MKDEP} ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.include <bsd.prog.mk>
>Audit-Trail:
>Unformatted:
douple mkdep entry in /src/usr.bin/tn3270/{tn3270,mset}/Makefile