Subject: Re: NetBSD master CVS tree commits
To: None <source@NetBSD.ORG>
From: Jim Wise <jimw@numenor.turner.com>
List: current-users
Date: 10/28/1997 10:50:02
-----BEGIN PGP SIGNED MESSAGE-----

On 28 Oct 1997 source@NetBSD.ORG wrote:

> lukem
> Tue Oct 28 04:40:22 PST 1997
> Update of /cvsroot/src/share/mk
> In directory netbsd1:/var/slash-tmp/cvs-serv9854
> 
> 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...

- --
				Jim Wise
				jim.wise@turner.com

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBNFYJtRg+dMhCouwfAQG+RwgAra/rfKlKr8kFm+5AOjmvRqzB2icygrcN
zxw5JZ3q5lVFmZqjkdYJAa86OPct7WiTD/eoC/opfi4RxS3ymboYExw1L7hVU6w3
kokLZWZhnmv7vaHp5el7uWdJMie9ZUwVQ2bdIU/cos4qKvoyMbIC1QtnrXyLTbun
VOHoUiVtCH/MGmYV7dw5vEJlbNzXc2cMnKT6AYzuwEzWKjHUC8nWXPCfz6gj89m2
1KPS331pA0/uBmjJSkPZcovmngmDWdbYjxDYkeBsACJE4WBdK+5KrNk1FE/WmnMZ
emQg+P7spIWlIH90ccYy8sT6SzqFnjgzVjmd8BuxhpVgCHM2Pydijw==
=U+d4
-----END PGP SIGNATURE-----