Wireshark-dev: Re: [Wireshark-dev] Linux makefile for asn1
From: Gerald Combs <[email protected]>
Date: Fri, 05 Oct 2007 14:39:12 -0700
Kukosa, Tomas wrote:
>>> Where does NO_PROTO_OPT get defined, Tomas?
>> Well, whatever, I've tweaked this in r23074 - hopefully that will work.
> It could be defined in asn1/<proto>/Makefile.common
> E.g. gsmmap or qsiq does not use -p <proto> and will define it (when conevrted to new asn1 makefile style)

The Makefile.inc modifications were breaking the non-Windows builders because
automake was trying to intrepret the "ifdef" directive in Makefile.inc.  I've
removed the checks for NO_PROTO_OPT and modified Makefile.inc and
Makefile.inc.nmake to set PROTO_OPT only if it isn't already defined.  This lets
you add "PROTO_OPT =" to Makefile.common if you want to leave it unset.  Tomas,
does this do what you need?