Subject: Re: NetBSD master CVS tree commits
To: Jim Wise <jimw@numenor.turner.com>
From: Luke Mewburn <lm@cs.rmit.edu.au>
List: source-changes
Date: 10/30/1997 18:35:45
Jim Wise writes:
> > Modified Files:
> > 	bsd.lib.mk bsd.sys.mk sys.mk 
> > Log Message:
> > add default rules for Objective C sources (`.m' suffix):
> > - sys.mk:
> > 	add ${OBJC} and ${OBJCFLAGS} (equivalent to ${CC} and
> > 	${CFLAGS} respectively), and ${COMPILE.m} and ${LINK.m} rules
> > - bsd.sys.mk:
> > 	add .m, .m.o, and .m.ln rules (as per the C rules in sys.mk).
> > 	it's here, rather than in sys.mk, because `.m' isn't
> > 	exclusively used for Objective C files.
> > - bsd.lib.mk:
> > 	add .m.o, .m.po, .m.so, and .m.ln rules (as per C)
> 
> These lint rules should be removed, as our lint doesn't understand
> objective-c :
> 
> 	$ lint Object.m
> 	lint: unknown file type: Object.m
> 	 
> 	lint: cannot find llib-lc.ln
> 	Lint pass2:
> 	usage: lint2 -hpstxuHF -Clib -l lib ... src1 ...
> 
> Of course our lint is out of sync with the way we are using c in many
> other ways, as well, but at the least, I think we should not have make
> rules which explicitly call it with files it can't understand...

fixed...