Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Linux makefile for asn1

From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxx>
Date: Mon, 8 Oct 2007 08:27:14 +0200
> > 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?

Yes, it is another possible solution. Thanks!
It is already used e.g. in gsmmap.