From Clemens Auer:
[obnox/wireshark/wip.git] / asn1 / p7 / Makefile.common
1 # $Id$
2 #
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21
22
23 PROTOCOL_NAME=p7
24
25 DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c \
26         packet-$(PROTOCOL_NAME).h
27
28
29 EXPORT_FILES = \
30         $(PROTOCOL_NAME)-exp.cnf
31
32 EXT_ASN_FILE_LIST =
33
34 ASN_FILE_LIST = \
35         MSAbstractService.asn \
36         MSGeneralAttributeTypes.asn \
37         MSAccessProtocol.asn \
38         MSUpperBounds.asn
39
40 # The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
41 # files do not exist for all protocols: Please add/remove as required.
42 EXTRA_DIST = \
43         Makefile.nmake \
44         $(ASN_FILE_LIST) \
45         packet-$(PROTOCOL_NAME)-template.c \
46         packet-$(PROTOCOL_NAME)-template.h \
47         $(PROTOCOL_NAME).cnf
48
49 SRC_FILES = \
50         $(EXTRA_DIST) \
51         $(EXT_ASN_FILE_LIST)
52
53 A2W_FLAGS= -b -e -L -C
54
55 EXTRA_CNF= \
56         ../x411/x411-exp.cnf \
57         ../ros/ros-exp.cnf \
58         ../rtse/rtse.cnf
59
60 ../x411/x411-exp.cnf:
61         (cd ../x411 && $(MAKE_CNF_EXPORT))
62
63 ../ros/ros-exp.cnf:
64         (cd ../ros && $(MAKE_CNF_EXPORT))
65
66 ../rtse/rtse-exp.cnf:
67         (cd ../rtse && $(MAKE_CNF_EXPORT))
68