From jc@irbs.com  Thu Dec 22 15:36:41 1994
Received: from irbs.com ([199.182.75.129]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA03941 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 1994 15:36:37 GMT
Received: (from jc@localhost) by irbs.com (8.6.9/8.6.6) id KAA09398; Thu, 22 Dec 1994 10:36:25 -0500
Message-Id: <199412221536.KAA09398@irbs.com>
Date: Thu, 22 Dec 1994 10:36:25 -0500
From: John Capo <jc@irbs.com>
Reply-To: jc@irbs.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Bogus dependancies for single .c file progs
X-Send-Pr-Version: 3.2

>Number:         81
>Category:       bin
>Synopsis:       Bogus dependancies for single .c file progs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 07:40:01 1994
>Closed-Date:    Thu Jan 12 14:23:06 PST 1995
>Last-Modified:
>Originator:     John Capo
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
IRBS Engineering
>Environment:

	

>Description:

Bogus dependancies are created for programs only have one .c file.
They assume that no .o file will be created.

sysctl: sysctl.c /usr/include/sys/param.h /usr/include/sys/types.h ...

cleat 119# make
cc -O -m486 -pipe   -c sysctl.c
cc -O -m486 -pipe    -o sysctl sysctl.o  
cleat 120# 

Adding SRCS=sysctl.c to the Makefile generates sysctl.o: sysctl.c ...

>How-To-Repeat:

	

>Fix:
	
The obvious place to fix this is in the .mk files but I don't grok
bmake.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: closed ... bug in gnats or sed opened->closed  
State-Changed-By: wollman 
State-Changed-When: Thu Jan 12 14:23:06 PST 1995 
State-Changed-Why:  
closed ... bug in gnats or sed opened 
is not the same thing as `closed'. 
>Unformatted:





