Subject: misc/4324: is missing Objective-C support
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 10/23/1997 11:39:47
>Synopsis: <bsd.*.mk> is missing Objective-C support
>Responsible: misc-bug-people (Misc Bug People)
>Arrival-Date: Thu Oct 23 02:50:01 1997
>Originator: Ignatios Souvatzis
University of Bonn, Computer Science department, Chair V
System: NetBSD macone 1.2G NetBSD 1.2G (SUN4M) #18: Tue Oct 21 12:04:18 CEST 1997 is@macone:/usr/local/obj/kernel/SUN4M sparc
The include files in /usr/share/mk don't contain support for
Objective C files (*.m).
In effect, you have to open-code old-style Makefiles to use them.
Try this Makefile:
Add the relevant pieces (.m.o rule in sys.mk, and everywhere .cc
special stuff is, the same with ^cc^m changes.
Maybe something can be hacked to make -lobjc automagically add itself
to LDADD, if a .m file was on the SRCS list...
Note that this might somehow collide with people doing Modula-3,
Mathematica, Matlab. OTOH, they have to homebrew their makefiles
anyway, and NetBSD doesn't ship any Modula, Mathematica or Matlab
compilers (but ships a working Objective-C one now).