[Build-common-hackers] CFLAGS and implicit rules

Colin Walters walters@verbum.org
Fri, 09 Apr 2004 23:46:04 -0400


--=-B6qn+Gc4556B3rZJ4vzn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-04-09 at 19:08, W. Borgert wrote:
> On Fri, Apr 09, 2004 at 03:54:45PM -0400, Colin Walters wrote:
> > On Fri, 2004-04-09 at 15:23, W. Borgert wrote:
> > > with UNIX make, but does not have +=3D nor $<.  Is CDBS pmake
> > > conformant?
> >
> > Not even close :)  I think that if you want to target POSIX make, the
> > only sensible approach is one similar to Automake, which uses a compile=
r
> > to generate POSIX make code from a make-like source language.
>=20
> Too bad.  Unfortunately, this approach fits even worse with
> the make system I have to use ("Continuus").

Sounds scary :)  By the way, the GNU make manual has a section
"Features" that talks about the extensions supported in GNU Make.  So
take away all of those and what's left is a make subset that's likely to
work everywhere.  Just to highlight some things CDBS uses heavily that
would have to be removed in a version that targets pmake:

* Including other makefiles  (we use this a little ;))
* Pattern rules with %  (i.e. basically all of buildcore.mk)
* Conditional execution
* Computed variable references


--=-B6qn+Gc4556B3rZJ4vzn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAd238OIkJWWp2WGURAr2sAJ4uxl3Dqwk5vJw+9slFSelE8PolNQCdH6si
CuLA4PgOoMJ/q5Z+kOp8XJE=
=Uvxt
-----END PGP SIGNATURE-----

--=-B6qn+Gc4556B3rZJ4vzn--