asn1/*/Makefile.nmake were not part of the source package.
[obnox/wireshark/wip.git] / asn1 / dsp / 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=dsp
24
25 DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c \
26         packet-$(PROTOCOL_NAME).h
27
28 NEED_PACKET_PROTO_H = 1
29
30 EXPORT_FILES = \
31         $(PROTOCOL_NAME)-exp.cnf
32
33 EXT_ASN_FILE_LIST =
34
35 ASN_FILE_LIST = $(PROTOCOL_NAME).asn
36
37 # The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
38 # files do not exist for all protocols: Please add/remove as required.
39 EXTRA_DIST = \
40         Makefile.nmake \
41         $(ASN_FILE_LIST) \
42         packet-$(PROTOCOL_NAME)-template.c \
43         packet-$(PROTOCOL_NAME)-template.h \
44         $(PROTOCOL_NAME).cnf
45
46 SRC_FILES = \
47         $(EXTRA_DIST) \
48         $(EXT_ASN_FILE_LIST)
49
50 A2W_FLAGS= -b -e 
51
52 EXTRA_CNF = \
53         ../dap/dap-exp.cnf \
54         ../x509af/x509af-exp.cnf \
55         ../x509if/x509if-exp.cnf \
56         ../x509sat/x509sat-exp.cnf
57
58 ../dap/dap-exp.cnf:
59         (cd ../dap && $(MAKE_CNF_EXPORT))
60
61 ../x509af/x509af-exp.cnf:
62         (cd ../x509af && $(MAKE_CNF_EXPORT))
63
64 ../x509if/x509if-exp.cnf:
65         (cd ../x509if && $(MAKE_CNF_EXPORT))
66
67 ../x509sat/x509sat-exp.cnf:
68         (cd ../x509sat && $(MAKE_CNF_EXPORT))
69