Subject: lib/3632: /src/lib/librpcsvc/Makefile misses "CFLAGS+=-I${.CURDIR}"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 05/16/1997 21:32:31
>Number: 3632
>Category: lib
>Synopsis: /src/lib/librpcsvc/Makefile misses "CFLAGS+=-I${.CURDIR}"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 16 12:50:01 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD-current 15.05.1997
>Environment:
System: NetBSD cyberlap 1.2E NetBSD 1.2E (CYBERLAP) #1: Fri May 16 11:32:53 CEST 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386
>Description:
If one seperates object files from source file via `make obj`, one gets
and error in /src/lib/librpcsvc cause CURDIR is not in the search path.
>How-To-Repeat:
cd /src/lib/librpcsvc
make obj
make depend && make
and watch:
cc -O -O4 -m486 -Werror -c bootparam_prot.c
bootparam_prot.c:6: bootparam_prot.h: No such file or directory
*** Error code 1
>Fix:
Dunno if this is the proper fix, but the following patch to
/src/lib/librpcsvc/Makefile worked for me:
*** Makefile-orig Sat May 10 13:00:33 1997
--- Makefile Fri May 16 21:22:27 1997
***************
*** 8,13 ****
--- 8,15 ----
HDRS= ${RPCSRCS:.x=.h}
CLEANFILES+= ${SRCS} ${HDRS}
+ CFLAGS+= -I${.CURDIR}
+
INCS= ${HDRS} ${RPCSRCS}
INCSDIR= /usr/include/rpcsvc
>Audit-Trail:
>Unformatted:
/src/lib/librpcsvc/Makefile misses "CFLAGS+=-I${.CURDIR}"