I think those files have nothing to do with A2W_FLAGS. Or what was your
idea?
The $(PROTOCOL_NAME).asn should be part of the ASN_FILE_LIST.
There is not any difference between the $(PROTOCOL_NAME).asn and other
asn1 sources.
Concerning packet-$(PROTOCOL_NAME)-template.h I have no idea how to
handle it as I am not makefile expert.
Maybe, the asn1/proto/Makefile.common could contain something like
PROTO_NEED_H=1
and the asn1/Makefile.inc.nmake coukd contain something like
EXTRA_DIST = \
$(ASN_FILE_LIST) \
packet-$(PROTOCOL_NAME)-template.c \
!IFDEF PROTO_NEED_H
packet-$(PROTOCOL_NAME)-template.h \
!ENDIF
$(PROTOCOL_NAME).cnf
...
fix_eol: generate_dissector
move packet-$(PROTOCOL_NAME).c packet-$(PROTOCOL_NAME).c.tmp
$(UNIX2DOS) < packet-$(PROTOCOL_NAME).c.tmp >
packet-$(PROTOCOL_NAME).c
del /f packet-$(PROTOCOL_NAME).c.tmp
!IFDEF PROTO_NEED_H
move packet-$(PROTOCOL_NAME).h packet-$(PROTOCOL_NAME).h.tmp
$(UNIX2DOS) < packet-$(PROTOCOL_NAME).h.tmp >
packet-$(PROTOCOL_NAME).h
del /f packet-$(PROTOCOL_NAME).h.tmp
!ENDIF
...
etc.
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Joerg Mayer
> Sent: Monday, September 24, 2007 12:02 PM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] RFC: Revised Makefile(s) for
> asn1/ directory
>
> On Mon, Sep 24, 2007 at 09:30:51AM +0200, Kukosa, Tomas wrote:
> > Note that packet-$(PROTOCOL_NAME)-template.h and
> $(PROTOCOL_NAME).asn
> > files are optional and are not used in many protocols.
>
> OK, so that part should be moved to the A2W_FLAGS part then?
>
> Ciao
> Joerg
>
> --
> Joerg Mayer
> <jmayer@xxxxxxxxx>
> We are stuck with technology when what we really want is just
> stuff that
> works. Some say that should read Microsoft instead of technology.
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>