[Xastir-dev] Using gunmake extensions in Makefile.am

Curt, WE7U curt.we7u at gmail.com
Wed Jun 16 20:23:36 EDT 2010


On Wed, 16 Jun 2010, Jerry Dunmire wrote:

> I am working to generate the numerous OSM_* files from a single
> template. It would be easy to do using a gnumake pattern rule
> something like this:
>
> %.geo: OSM_template.geo
>        sed ....
>
> However, use of pattern rules causes automake to warn that "`%'-style
> pattern rules are a GNU make extension".
>
> I can hide this warning by adding this to the Makefile.am
> AM_INIT_AUTOMAKE([-Wno-portablity])
>
>
> The question is, do we need to continue supporting other make
> programs, and may I make the change?

The FreeBSD guys would be pissed if you added GNU-specific stuff.
There are sometimes other systems people compile on, like HP/UX and
Solaris too.  I myself have compiled it on Solaris but not for a
while.

-- 
Curt, WE7U.                         <http://www.eskimo.com/~archer>
    APRS:  Where it's at!                    <http://www.xastir.org>
   Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list