Subject: why is rcmd.c in lpd Makefile?
To: None <>
From: John Refling <>
List: current-users
Date: 12/17/2003 17:40:30
In src/usr.sbin/lpr/lpd/Makefile:

SRCS=3D     lpd.c printjob.c recvjob.c lpdchar.c key.c modes.c ttcompat.c=


But I need to remove the reference to rcmd.c to recompile lpr otherwise
rebuld libc.

Looks like some code originally from rcmd.c was incorporated into the lpr=

system, but is it true that I can remove the reference to rcmd.c in the
Makefile without any adverse effects?

Only other references to rcmd are in comments:

src/usr.sbin/lpr/common_source/common.c: * Most of this code comes from

src/usr.sbin/lpr/common_source/pathnames.h:/* from
lib/libc/include/pathnames.h, for rcmd.c */

src/usr.sbin/lpr/common_source/pathnames.h:#define      _PATH_BIN_RCMD   =


src/usr.sbin/lpr/lpd/Makefile:CPPFLAGS.rcmd.c=3D  -DINET6

src/usr.sbin/lpr/lpd/lpd.c:/* XXX from libc/net/rcmd.c */