From: "Christopher R. Hertel" <crh@NTS.Umn.EDU> Message-Id: <199804090143.UAA26035@unet.unet.umn.edu> Subject: mkproto still reading ubiqx. To: samba-technical@samba.anu.edu.au (samba-tech) Date: Wed, 8 Apr 1998 20:43:12 -0500 (CDT)
There was some discussion a while back about finding ways to prevent
mkproto from reading the ubiqx files. This is necessary, as the headers
*already* have prototypes in them and running mkproto generates duplicate
prototypes in proto.h. ...and thus errors.
The command in the Makefile is (reformatted to fit):
(AWK) -f mkproto.awk `echo $(PROTOOBJ) \
| sed -e 's/\.o/\.c/g' | tr ' ' '\n' \
| sort | uniq` > proto.h
I could change this to:
(AWK) -f mkproto.awk `echo $(PROTOOBJ) \
| sed -e 's/\.o/\.c/g' | tr ' ' '\n' \
| sort | fgrep -v "ubiqx" | uniq` > proto.h
Does this meet with approval?
Chris -)-----
-- Christopher R. Hertel -)----- University of Minnesota crh@nts.umn.edu Networking and Telecommunications Services