Don't generate the conformance file for exported types when building the
[obnox/wireshark/wip.git] / asn1 / cmip / 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=cmip
24
25 EXPORT_FILES = \
26         $(PROTOCOL_NAME)-exp.cnf
27
28 EXT_ASN_FILE_LIST_LATE = \
29         ../x721/Attribute-ASN1Module.asn \
30         ../ros/Remote-Operations-Information-Objects.asn \
31         ../ros/Remote-Operations-Generic-ROS-PDUs.asn
32
33 ASN_FILE_LIST = \
34         CMIP-1.asn \
35         CMIP-A-ABORT-Information.asn \
36         CMIP-A-ASSOCIATE-Information.asn
37
38 # The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
39 # files do not exist for all protocols: Please add/remove as required.
40 EXTRA_DIST = \
41         Makefile.nmake \
42         $(ASN_FILE_LIST) \
43         packet-$(PROTOCOL_NAME)-template.c \
44         packet-$(PROTOCOL_NAME)-template.h \
45         $(PROTOCOL_NAME).cnf
46
47 SRC_FILES = \
48         $(EXTRA_DIST) \
49         $(EXT_ASN_FILE_LIST)
50
51 A2W_FLAGS= -b
52
53 EXTRA_CNF= \
54         $(builddir)/../acse/acse-exp.cnf
55
56 $(builddir)/../acse/acse-exp.cnf:
57         (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT))
58