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

Jerry Dunmire jerry at dunmire.org
Wed Jun 16 22:14:13 EDT 2010


OK, I'll dig in and refresh my knowledge of old make programs.
Thanks,
...jerry


On Wed, Jun 16, 2010 at 5:23 PM, Curt, WE7U <curt.we7u at gmail.com> wrote:
> 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!"
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir-dev
>



More information about the Xastir-dev mailing list